[Libav-user] using avpicture_deinterlace
mrfun.china at gmail.com
Mon Sep 22 12:33:45 CEST 2014
> Hendrik Leppkes <h.leppkes at ...> writes:
> > Our program is using avpicture_deinterlace
> > to deinterlace frames.
> This sounds like a bad idea, use yadif instead.
> > if it's interlaced_frame field is true, we
> > can avpicture_deinterlace to deinterlace it.
> This is also a bad idea: the interlaced_frame
> filed tells you how the frame was *encoded*
> but to decide whether it should be deinterlaced
> or not only the actual content is relevant
> which is often independent of interlaced_frame.
> As Hendrik explained, frames and fields within
> FFmpeg are defined so that one frame consists
> of two fields.
> (Even in cases when this is semantically wrong.)
Thanks Hendrik and Carl,
For some reason, our program can't use yadif, so the only option is
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
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user