[FFmpeg-user] When and how to use yadif?

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Nov 25 20:51:40 CET 2012


Yan Seiner <yan <at> seiner.com> writes:

> root <at> anchor:/tmp# ffmpeg -f rawvideo -pix_fmt yuyv422 -s 512x384 -i 
> /tmp/videox.raw -vf yadif -f image2 -pix_fmt rgb24 /tmp/test%02d.png

> root <at> anchor:/tmp# ffmpeg -f rawvideo -pix_fmt yuyv422 -s 512x384 -i 
> /tmp/videox.raw -f image2 -pix_fmt rgb24 -vf yadif /tmp/test%02d.png

These two lines are equivalent and should de-interlace 
your video. If they do not work, please provide a short 
input sample.

> ffmpeg version 0.11.2

(This is a little old, if you are a user, 
latest git head is always recommended but this should 
not be related to your problem.)

Carl Eugen



More information about the ffmpeg-user mailing list