[FFmpeg-user] ... invalid, non monotonically increasing dts... with yadif=1

Andy Furniss andyqos at ukfsn.org
Tue Jun 5 00:35:38 CEST 2012

Andy Furniss wrote:
> Carl Eugen Hoyos wrote:
>> Andy Furniss<andyqos<at> ukfsn.org> writes:
>>> This (19meg) possibly broken (but plays OK) mpeg2 transport stream will
>>> fail transcoding if I try to make 50fps with yadif=1, but works OK with
>>> yadif=0. Full output of both below.
>>> http://www.andyqos.ukfsn.org/non-mon-dts-with-yadif1.ts
>>> bash-3.2$ ffmpeg -i non-mon-dts-with-yadif1.ts -sn -loglevel verbose
>>> -vf yadif=1 -acodec copy -vcodec libx264 -crf 23 -threads 1 -r 50
>>> test.mkv
>> Is this only reproducible with an external library and -acodec copy or
>> also if you use -an and an internal encoder?
>> (git bisect works fine here for all kinds of bugs, but if I can
>> reproduce the issue I can do it.)
> OK, I tried as below and still failed - this time avi, mkv also fails
> but produces a lot of noise with the loglevel.

Took my eye off this one, it's working now.

I see it was fixed just after my last post by -

commit a54867121d015cc8fe71eff40ddcf0e16d42f178
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Wed May 9 18:15:03 2012 +0200

     ffmpeg: fix frame duration used for video sync.

More information about the ffmpeg-user mailing list