[FFmpeg-devel] [PATCH] don't override file duration with bitrate guessed duration

Joakim Plate elupus
Mon Apr 12 17:30:17 CEST 2010

Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> Could you point me to (or upload) a sample?
> Carl Eugen

Try any mkv, look for the log about "estimating duration from bitrate".
This change should remove that, if you can't verify it on the first 
mkv you try i'll try to dig up an explicit sample.

There is another bug with mkv's which have subtitle streams in it too
causing it to reach max analyse duration (first_dts of the stream is
never set since the subtitles can show up a long time into the stream),
posting a patch was annoying due to the change of STREAM_TYPE
to AVMEDIA_TYPE or whatever it was. But i might get around to it.


More information about the ffmpeg-devel mailing list