Hendrik Leppkes <h.leppkes@...> 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.)

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to