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

2015-01-06 Thread Vanista Herion
Good explanation, I neglected telecine; wasn't aware of how it worked. Agreed, yadif should handle that, the decoder cannot reverse-telecine by itself without some kind of hinting of the original frames correspondence. Thanks a lot. 2015-01-05 18:35 GMT-05:00 Michael Niedermayer michae...@gmx.at:

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

2015-01-05 Thread Michael Niedermayer
On 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. yes and i hope this will get

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

2015-01-05 Thread Michael Niedermayer
On 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. By reviewing the code in

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

2015-01-05 Thread Hendrik Leppkes
On Mon, Jan 5, 2015 at 9:17 PM, Vanista Herion vani...@gmail.com 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. By reviewing the code in

[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