Re: ACTION-245: Implementation of Media Fragments from Dailymotion

Hi Pierre-Yves,

On 13/01/2012 10:33, Pierre-Yves Kerembellec wrote:
>>> For the ISO MP4 container (+ AVC/AAC codecs), serving the codecs setup data (AVC SPS/PPS and AAC setup) and the raw
>>> samples is not enough, since there is no DTS/PTS information in the raw samples area (samples are just ... well, raw
>>> data, sample after sample, audio and video samples interleaved in the file). You need to rebuild and provide some
>>> time/space index tables (namely stts/ctts/stsc/stsz/stco/stss atoms, see ISO 14496-10).
>>>
>>> So maybe you meant codecs setup data _and_ these index tables by "codec setup data". Otherwise these recipe won't work
>>> for ISO MP4.
>>
>> Thanks for raising this issue. Indeed, we never really defined in the spec what we mean with the term 'codec setup data'.
>>  From our point of view and as Davy clarified it in another thread, it consists of:
>> - setup data for the decoder (such as resolution, quantification parameter, ...);
>> - timing information (i.e., when to display a certain frame);
>> - track information (i.e., which tracks are present and how does the raw samples relate to these tracks).
>> So it _does_ include the index tables you are referring to which makes "workable" the recipe.
>
>
> Understoud. So we would typically send the entire moov atom as "setup data". This would however prove sub-optimal
> from a standpoint of bandwitdh, since the whole tables would need to be transferred, even is only a small portion of the
> final media is played back to the user.
That's right, but compared to the size of the media samples the size of 
the moov atom is limited. Also, it seems hard to me that today's media 
players will not only load a part of the media samples, but also only a 
part of the moov atom. Does your player have such a behavior?

> Fragmented MP4 delivery address this issue by dividing the index tables and
> packing them near the samples themselves (only the effective codec setup data remain separate).
Agreed.

Best regards,

Davy

-- 
Davy Van Deursen

Ghent University - IBBT
Department of Electronics and Information Systems - Multimedia Lab
URL: http://multimedialab.elis.ugent.be/dvdeurse

Received on Friday, 13 January 2012 14:58:23 UTC