[FFmpeg-devel] deinterlace only if input is interlaced

j at v2v.cc j
Sat Feb 5 09:38:45 CET 2011

using ffmpeg with a wide range of inputs to convert to a format that
does not support interlacing, there is currently no way to automatically
deinterlace if it was flagged as interlaced in the input.
attached patch adds an option -autodeinterlace to only deinterlace if
the input is interlaced.

related to that, currently its not possible to see if an input is
interlaced from AVCodecContext, but one needs AVPicture. What would be
the best way to detect/display if an input is interlaced in a tool like

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_autodeinterlace.patch
Type: text/x-diff
Size: 2274 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110205/fa9c97b7/attachment.patch>

More information about the ffmpeg-devel mailing list