[FFmpeg-devel] MKV Header: Writing duration early
george at nsup.org
Tue Jul 12 12:36:16 EEST 2016
Le quintidi 25 messidor, an CCXXIV, Soft Works a écrit :
> Such circumstances are not really "special" or even rare.
> Especially in most trivial cases (like mkv to mkv) there is a known
> duration from the source that could be used.
> No doubt, that it's not available in all cases. But it could be written in
> those cases where it's available.
There are two sides to this issue: change the muxer to write the value if it
is known at the beginning and change the command-line tool to compute the
value for their output.
I suspect the muxer change would be reasonably easy.
The change on the command-line tool, on the other hand, you would have to
determine if the input duration is reliable, detect if filters may change
the duration, take mapping from various files into account, etc. This is
> Probably the actual question is: If I would submit a patch to do this,
> would it have a chance to be included?
If the patch is clean and the feature/size ratio is reasonable, of course.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel