[Ffmpeg-devel] deinterlace at the decoding stage...
Måns Rullgård
mans
Mon Apr 2 10:19:23 CEST 2007
"leon zadorin" <leonleon77 at gmail.com> writes:
> Hi all,
> pardon if the question is rather silly... is it possible (e.g. via
> setting some option in codec's context) to deinterlace the image
> during decoding (e.g. for the avcodec_decode_video to produce
> de-interlaced frame)... or is it a stupid question because interlaced
> source may affect encoding process to such an extent that decoding of
> the interlaced image will not produce easily de-interlaceable output?
What you are suggesting is pointless at best. The decoder needs the
original frames for motion compensation anyway. Furthermore, a good
deinterlacer uses information from previous and following frames.
You should also know that deinterlacing is necessarily a lossy
process. The only exception is a telecined progressive source, but
that's not really interlaced in the true sense.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list