Re: [FFmpeg-devel] mpegvideo : interlaced_frame with picture_structure == PICT_FRAME

2015-01-06 Thread Vanista Herion
Mon, Jan 05, 2015 at 03:17:32PM -0500, Vanista Herion wrote: > > Some MPEG 2 video will give bad interlacing information in AVFrame. If > the > > parameters are used by a deinterlace filter such as yadif, frames will be > > processed needlessly and impair the quality. >

[FFmpeg-devel] mpegvideo : interlaced_frame with picture_structure == PICT_FRAME

2015-01-05 Thread Vanista Herion
Some MPEG 2 video will give bad interlacing information in AVFrame. If the parameters are used by a deinterlace filter such as yadif, frames will be processed needlessly and impair the quality. By reviewing the code in mpegvideo.c which sets the interlaced_frame and top_field_first, I noticed that