[FFmpeg-user] avpicture_deinterlace

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Jan 12 17:07:49 CET 2013

Steve Shupe <golfer20636 <at> yahoo.com> writes:

> i have a ntsc frame of video with the odd rows in the 
> top half of the frame and even in the second. is there a way to
> combine and deinterlace the video using a filter or function?

(First step you have to do is to ensure that your video 
is interlaced and not telecined, if it is telecined and 
you use a de-interlacer, the video gets permanently 
damaged, you cannot undo the de-interlacing.)

yadif is the recommended de-interlace filter, there is 
now also a port of Donald Graft's kernel deinterlacer, 
it should be both slower and lower quality than yadif 
but your mileage may vary.

There is no inverse telecine filter so far for FFmpeg, 
if your telecined material is perfect (not badly cut), 
you can try to use several MPlayer filters that can 
be used from inside ffmpeg.

Carl Eugen

More information about the ffmpeg-user mailing list