Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Bring me your broken MP4s, your twitchy AACs and other non-working m4a's

Re: Bring me your broken MP4s, your twitchy AACs and other non-working m4a's

From: Vladimir Pantelic <pan_at_nt.tu-darmstadt.de>
Date: Wed, 06 May 2009 14:42:37 +0200

Alex Bennee wrote:
> 2009/5/6 Vladimir Pantelic<pan_at_nt.tu-darmstadt.de>:
>> Alex Bennee wrote:
>>> That would be pathalogical. At the moment I've a fixed size array in
>>> the codec that will deal with up to 10 mdat atoms in a file.
> < snip>
>>
>> do you really care about the mdat atoms? The offset data for the samples is
>> not mdat relative, so you don't need to keep the mdat info in memory, do
>> you?
>
> To be honest I'm not sure. I'm kinda learning the MP4 container format
> on the fly as I do this. If all the seek information is already
> contained in the moov section and the offsets are relative to the
> whole file then yes,

yes

> I can just ensure we parse the full file before
> playback and seek back to the start of the first mdat when we start
> playing.

well, in theory, the 1st sample could be anywhere in the file, but most
likely of course at the start of the 1st mdat :-)
Received on 2009-05-06

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy