[vlc-devel] [PATCH 01/11] MP4 demux: only set fragmented flag if filecontains movie fragment atoms.

Matthias Keiser matthias at tristan-inc.com
Wed Mar 19 15:52:38 CET 2014


Am 19.03.2014 um 14:13 schrieb Francois Cartegnie <fcvlcdev at free.fr>:

> Le 06/03/2014 01:12, Matthias Keiser a écrit :
> 
>> -    if( MP4_BoxCount( p_sys->p_root, "/moov/mvex" ) > 0 )
>> +    if( MP4_BoxCount( p_sys->p_root, "/moov/mvex" ) > 0 &&
>> +        MP4_BoxCount( p_sys->p_root, "/moof" ) > 0 )
>>     {
>>         p_sys->b_fragmented = true;
>>     }
> 
> Breaks fragmented playback/fallback on avcodec
> http://streams.videolan.org/samples/mov/fragments/au30sec.mp4

For me the file you linked to only plays with the above patch, and doesn't play without it (osx, streamed).


More information about the vlc-devel mailing list