<br><br><div class="gmail_quote">2012/5/24 Carl Eugen Hoyos <span dir="ltr"><<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Alex Cohn <alexcohn@...> writes:<br>
<br>
> In ffmpeg, deinterlace is performed by avcodec (imgconvert.c<br>
> avpicture_deinterlace)<br>
<br>
</div>This deinterlacer is old, if you have no license issue, please<br>
use yadif.<br>
(If you have a license issue, contact the developer.)<br>
<br>
Aren't there filters to "interleave" (if this is the correct word,<br>
I mean putting the fields above each other) the interlaced<br>
content, scale it, and "de-interleave" it again?<br>
<span class="HOEnZb"><font color="#888888"><br>
Carl Eugen<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br><div>You are not understanding the issue. The issue is not deinterlacing anything, it is producing correct 4:2:0 frames for encoding interlaced.</div><div><br></div><div>Interlaced 4:2:0 is different than progressive 4:2:0. The chroma samples are interpolated from rows 1 and 3, 2 and 4 etc instead of 1 and 2, 3 and 4 and so on. This is to keep chroma samples in the same field.</div>
<div><br></div><div>My question is if it is possible to create interlaced 4:2:0 in a correct way.</div><div><br></div><div>/Carl Lindqvist</div>