[FFmpeg-devel] [PATCH 5/5] movenc: add max_av_duration and max_trackID to MOVMuxContext

Michael Niedermayer michaelni at gmx.at
Wed Jan 18 22:47:23 CET 2012


On Sat, Jan 14, 2012 at 02:10:21PM +0100, Jean First wrote:
> movenc: add max_av_duration and max_trackID to MOVMuxContext
> 
> this patch adds max_av_duration and max_trackID to the MOVMuxContext and
> moves the code fetching these values to a central place.
> 
> until now maxTrackLen was only used in mov_write_mvhd_tag. The maxTrackLen
> was the maximum track lenght from all streams. It is replaced with
> max_av_duration will be the maximum length of all video and audio
> tracks.

> Forthermore it will be used for all data tracks, because they
> were set to some default value.

why do data tracks not have a normal duration like everything else ?
that can then also be stored like it is for other tracks ?


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120118/a8745895/attachment.asc>


More information about the ffmpeg-devel mailing list