[Libav-user] yadif example

Stefano Sabatini stefasab at gmail.com
Fri Oct 16 10:34:20 CEST 2015

In data Thursday 2015-10-15 11:17:44 +0000, Fermín Ayuso Márquez ha scritto:
> Hello everybody,
> I need some help.

> We had a C++ code that use avpicture_deinterlace. For some reason,
> we have needed upgrade ffmpeg to 2.8.1 version.Now, this function is
> not available anymore.

> We have tried to use yadif filter using the filtering_video.c
> example as a model, but we could not deinterlace our video frames,
> we always have problems with avfilter_graph_config function (returns
> -22).We searched on Google too, but there is no clear information
> about how to deinterlace a video using "new" libavfilter.

Basically, with libavfilter you need to setup a filter graph. It's not
possible to use a single function for performing filtering
(e.g. deinterlacing). See the examples video_filtering.c in the
doc/examples directory.


More information about the Libav-user mailing list