[FFmpeg-devel] [PATCH] libavformat/matroskadec.c: Parse stream durations set by mkvmerge and populate them in AVStream.

wm4 nfxjfg at googlemail.com
Sat Aug 1 20:42:45 CEST 2015

On Sat, 1 Aug 2015 11:11:14 -0700
Sasi Inguva <isasi at google.com> wrote:

> Also I can check if the stream duration values are sane, by checking that
> they are less than the total duration of the file.

Wouldn't change much - they could be too short too, and we couldn't
detect this situation.

This is simply an unreliable value. (I'm not even sure if we should
export it as stream duration at all, but on the other hand the file
duration can be unreliable anyway.)

More information about the ffmpeg-devel mailing list