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

Yan Seiner yan at seiner.com
Mon Nov 26 20:07:18 CET 2012


On Sun, November 25, 2012 11:51 am, Carl Eugen Hoyos wrote:
> 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.

That did the trick.

http://seiner.com/cz/rtpictures/2012_11_26T09h52m23sZ_0.242581_44.093015_-123.126853.jpg

I have not had a chance to test it at higher speeds but it looks like the
deinterlacing works.  :-)  Thanks.



More information about the ffmpeg-user mailing list