[Libav-user] using avpicture_deinterlace

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Sep 22 14:27:52 CEST 2014

YIRAN LI <mrfun.china at ...> writes:

> For some reason, our program can't use yadif, 

Why not?

> so the only option is ​avpicture_deinterlace.

You do understand that "deprecated" means this 
function will get removed from FFmpeg (soon)?

> If whether to deinterlace or not only depends 
> on actual content, and there's no single flag 
> for that, how is avpicture_deinterlace used in 
> old days (if there's any example)?

In the old days, you had to visually inspect the 
input video to decide if it is interlaced or not, 
nowadays we fortunately have the idet filter.

Carl Eugen

More information about the Libav-user mailing list