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

Sasi Inguva isasi at google.com
Tue Aug 4 02:50:54 CEST 2015


Ok. i'll drop this patch . Does outputting stream DURATION values in
matroskaenc.c  as string tag's , (same as mkvmerge does ) seem ok?  Atleast
then, I can parse those string metadata in our own video pipeline  which
will solve my use case.

On Sat, Aug 1, 2015 at 11:42 AM, wm4 <nfxjfg at googlemail.com> wrote:

> 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.)
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list