Welcome Guest ( Log In | Register )

MP4 container format specification, Trying to write a low memory parser
post Jan 10 2009, 22:41
Post #1

Group: Members
Posts: 5665
Joined: 2-September 02
Member No.: 3264

I've been working on making an mp4 parser for AAC files more memory efficient for targets with very little RAM. Unfortunately, just looking at source code for various parsers its somewhat difficult for me to see how the container actually works.

I've tried google but have found surprisingly little in the way of a detailed specification. Could someone recommend one to me?
Go to the top of the page
+Quote Post
Start new topic
post Jan 14 2009, 12:00
Post #2

VorbisGain developer

Group: Developer
Posts: 142
Joined: 10-January 02
Member No.: 973

The QuickTime documentation from Apple is what I used when I worked on the MP4 parser in Rockbox. There are no headers or similar in the mdat box that I'm aware of, so you have to rely on the stsc, stco, stsz and stts boxes (atoms) to locate individual frames, map frames to time, etc.

If you are working on MP4 seeking in Rockbox, I have some ideas on how it could be improved (to reduce memory usage) in case you're interested. smile.gif
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 25th November 2015 - 22:42