[FFmpeg-user] Resolving -filter_complex overlay / -vf yadif conflicts in subprocess call Python script

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Sep 11 23:37:13 EEST 2019


Am Mi., 11. Sept. 2019 um 14:08 Uhr schrieb Gyan <ffmpeg at gyani.pro>:

>      ffmpeg -i input_file -i watermark.png -filter_complex "[0]yadif=0:-1:1[v];[v][1]overlay"
>             -c:v libx264 -pix_fmt yuv420p -c:a aac
>             -metadata copyright=“blah” -metadata comment=“contact blah” -report output_file
>
>
> The yadif filter will only deinterlace if the frame is marked as interlaced.

The metadata that marks frames as interlaced is typically wrong:
It will mark progressive frames as interlaced and the de-interlacer
will permanently damage the frames.

Carl Eugen


More information about the ffmpeg-user mailing list