[FFmpeg-devel] MKV Header: Writing duration early

Hendrik Leppkes h.leppkes at gmail.com
Tue Jul 12 12:26:42 EEST 2016


On Tue, Jul 12, 2016 at 11:11 AM, Soft Works <softworkz at hotmail.com> wrote:
>
>> Unfortunately the duration is not available in all cases, so writing
>> it early would only work in a few special circumstances, so as a
>> generic solution its not going to work.
>
> 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.
>

Perhaps this is the common case for you, but not for everyone. Having
a wrong duration is probably worse then having none.

- Hendrik


More information about the ffmpeg-devel mailing list