[FFmpeg-devel] [PATCH] fftools/ffmpeg: add option to hide vsync warnings
gyandoshi at gmail.com
Wed Jun 27 15:08:43 EEST 2018
On 27-06-2018 05:13 PM, Michael Niedermayer wrote:
> It was intended IIRC to detect cases where the code misbeahves or where the
> input/demuxer/parser is badly broken as in:
> timestamps: 1 2 4 5 7 9
> durations: 9 8 1 -3 7 99
> Maybe the condition to display the warning is faulty
It can be triggered by the following command form:
ffmpeg -f image2 -framerate X -i images -r Y -vsync vfr out
where 0.6*X < Y < X.
It always spams my console when I'm saving a live capture to MPEG-TS.
This patch is less about the logic and more about a cleaner stderr.
Are you planning to revisit the logic? If not, I'd like to push this.
More information about the ffmpeg-devel