[FFmpeg-devel] [PATCH 1/2] libavfilter: Add new tinterlace mode

Stuart Morris stuart_morris at talk21.com
Sat Apr 28 00:19:34 CEST 2012

--- On Fri, 27/4/12, Stuart Morris <stuart_morris at talk21.com> wrote:

> > 
> > But as Michael noted, this could be moved to the
> switch
> > block above.
> Ok I combined both switch blocks as you requested.
> Please see attached
> Thanks
> Stuart

Is there a potential problem if the source video is progressive?

I think the interlaced flag will toggle back and forth at each frame.
Rather than merely refer to the current frame, would it be better to
re-interlace it by copying both of its fields to a new buffer and
marking it as interlaced? Not only would the flag be correct but
also the colour space would now be interlaced to.

More information about the ffmpeg-devel mailing list