[vlc-devel] How is determined the total duration of a fragmented MP4?

Francois Cartegnie fcvlcdev at free.fr
Tue Jan 27 18:23:45 CET 2015

Le 27/01/2015 17:48, Gerard a écrit :
> Hello,
> I'm having trouble determining how the mp4 demuxer determines the total
> duration of a fragmented MP4. If mvhd, tkhd and mdhd boxes have the
> duration set to 0xffffffff where does it get the total duration?

Fallback order:
Global mvex
Local mfhd
Shi^D Granular (sum duration from all samples)


More information about the vlc-devel mailing list