Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  The m4a problem. Peace or War?
« previous next »
  • Print
Pages: [1]

Author Topic: The m4a problem. Peace or War?  (Read 1735 times)

Offline willow

  • Member
  • *
  • Posts: 5
The m4a problem. Peace or War?
« on: October 25, 2018, 11:37:50 PM »
The issue seems simple, but don't they all at first.
The breakdown and the facts:
1. I want to play chapterized m4a files on my player (currently a Sandisk Sansa Fuze)

2. I installed the latest version (Rockbox 3.14) and tried to play a chapterized m4a file. Every time Rockbox starts playing the next file in the list, as if the m4a file was not there.

3. While I was researching this problem I came across this page on the Rockbox site listing 'Supported audio formats'. It has m4a and m4b listed.  https://download.rockbox.org/daily/manual/rockbox-ipodcolor/rockbox-buildap2.html

I am not new to Rockbox. I was dancing when I realized there was an alternative to the stupid Sandisk interface.  But I want my chapters, and that format is m4a.  Do I have to chose?  Or....oh well I will say it.  Is there alternative to Rockbox?  A replacement firmware that will read m4b?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: The m4a problem. Peace or War?
« Reply #1 on: October 26, 2018, 12:35:14 PM »
Quote
2. I installed the latest version (Rockbox 3.14) and tried to play a chapterized m4a file. Every time Rockbox starts playing the next file in the list, as if the m4a file was not there.

How did you make the file?  Normal audio mp4 files should parse ok, but more complex ones tend to run out of memory or have other problems. 

Quote
I am not new to Rockbox. I was dancing when I realized there was an alternative to the stupid Sandisk interface.  But I want my chapters, and that format is m4a.  Do I have to chose?  Or....oh well I will say it.  Is there alternative to Rockbox?  A replacement firmware that will read m4b?

I don't think there is even support for MP4 chapters in our parser.  It should just ignore them. 
« Last Edit: October 26, 2018, 04:52:29 PM by saratoga »
Logged

Offline willow

  • Member
  • *
  • Posts: 5
Re: The m4a problem. Peace or War?
« Reply #2 on: October 26, 2018, 07:54:39 PM »
Quote
How did you make the file?  Normal audio mp4 files should parse ok, but more complex ones tend to run out of memory or have other problems.

Most of my mp4 files are from Audible AAX and AA format, converted to mp4 with most likely Epubor Audible Converter.  But some files I have downloaded from other places.  Basically, I don't know what defines 'complex', and even if I did I probably couldn't find the information.  And what is this run out of memory?  The player runs out of memory?  Rockbox runs out of memory?

Quote
I don't think there is even support for MP4 chapters in our parser.  It should just ignore them.

So, it really doesn't mater how I make the file, since this 'parser' in Rockbox doesn't support mp4 files.  And if that is so, what is this Rockbox site listing 'Supported audio formats' that has m4a and m4b listed.  https://download.rockbox.org/daily/manual/rockbox-ipodcolor/rockbox-buildap2.html
and this one https://www.rockbox.org/wiki/SoundCodecs#Current_status
« Last Edit: October 26, 2018, 08:09:09 PM by willow »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: The m4a problem. Peace or War?
« Reply #3 on: October 26, 2018, 09:03:15 PM »
Quote from: willow on October 26, 2018, 07:54:39 PM
Quote
How did you make the file?  Normal audio mp4 files should parse ok, but more complex ones tend to run out of memory or have other problems.

Most of my mp4 files are from Audible AAX and AA format, converted to mp4 with most likely Epubor Audible Converter.  But some files I have downloaded from other places.  Basically, I don't know what defines 'complex', and even if I did I probably couldn't find the information.  And what is this run out of memory?  The player runs out of memory?  Rockbox runs out of memory?

The player runs out of memory parsing the files.  For best results, you really want to use mobile or itunes optimized AAC, which isn't necessarily what you'll get with tools that just wrap ffmpeg or some other library. 

Quote from: willow on October 26, 2018, 07:54:39 PM
So, it really doesn't mater how I make the file, since this 'parser' in Rockbox doesn't support mp4 files.

No, MP4 files are supported, but chapters are ignored. 
Logged

Offline willow

  • Member
  • *
  • Posts: 5
Re: The m4a problem. Peace or War?
« Reply #4 on: October 26, 2018, 10:07:32 PM »
Quote
No, MP4 files are supported, but chapters are ignored.
Well, the only reason I was interested in playing mp4 files was because they had chapter support.  So, that's it.  I suppose, referencing the title, my next steps could be called war?

Summing it up, I can't play chapterized mp4 files in Rockbox.  My Sansa Fuze without Rockbox on it won't support mp4 either.  So I have to go find me a player that can play mp4, abandoning my long faithful Fuze.  And abandon Rockbox as well.

Am I missing some clever work around, some better way?

Even if answer is no, thank you so much for all these quick answers.  When I go to a 'help me' forum like this I usually have to wait a long time for an answer, if I ever do get an answer.
« Last Edit: October 26, 2018, 10:15:04 PM by willow »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: The m4a problem. Peace or War?
« Reply #5 on: October 26, 2018, 10:23:13 PM »
Quote from: willow on October 26, 2018, 10:07:32 PM
Am I missing some clever work around, some better way?

A typical way people implement chapters for audio files is with a .cue file (as would be used to have track markers in whole album images).  These are supported.  However, if you're used to using chapters, you may just want to buy an iPod, as I think that is the way iTunes does it. 
Logged

Offline willow

  • Member
  • *
  • Posts: 5
Re: The m4a problem. Peace or War?
« Reply #6 on: October 26, 2018, 11:09:18 PM »
Quote
A typical way people implement chapters for audio files is with a .cue file (as would be used to have track markers in whole album images).  These are supported.  However, if you're used to using chapters, you may just want to buy an iPod, as I think that is the way iTunes does it.

I dislike apple and all things with that apple on it.  I would be happy to shoot the apple, so to speak.  So no iPod.
How would this .cue file work?  How would I create it?  Do I just place it in the same folder as the mp4 file, and Rockbox will recognize the .cue and link it to the mp4 file?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: The m4a problem. Peace or War?
« Reply #7 on: December 30, 2018, 06:25:10 PM »
Here's the section about cuesheet support in the manual (also describes where to place the cuesheets):
https://download.rockbox.org/daily/manual/rockbox-sansafuze/rockbox-buildch7.html#x9-1310007.13


Here's a Wikipedia article providing more information about cuesheets:
https://en.wikipedia.org/wiki/Cue_sheet_(computing)#Audio_file_playback

Ideally, whatever software is transcoding the media to .m4a can provide a cuesheet.  Although it's a bit cumbersome, you could also create it manually using the information from the Wikipedia article.

Additionally, there are cuesheet sites where you can download cuesheets for various media, but I don't know what sort of luck you will have for your particular media.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  The m4a problem. Peace or War?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.072 seconds with 15 queries.