[Libav-user] Scale image from 4:2:2 to 4:2:0
Ушаков Андрей
sorcchan at gmail.com
Fri Mar 30 15:01:19 CEST 2012
30 марта 2012 г. 16:55 пользователь David Sze <sze.david at gmail.com> написал:
> They're similar, but the U and V planes are swapped.
>
> http://wiki.videolan.org/YUV#YUV_4:2:0_.28I420.2FJ420.2FYV12.29
>
> http://en.wikipedia.org/wiki/YUV#Y.27UV420p_.28and_Y.27V12_or_YV12.29_to_RGB888_conversion
> http://www.fourcc.org/yuv.php#YV12
> http://www.fourcc.org/yuv.php#IYUV
>
> Note that YUV420P is a.k.a. I420 and IYUV.
>
> The vlc parameter you pass to watch the scaled frame should be I420
> instead of YV12.
>
Ok I see. Thank you again, David! :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120330/740d767b/attachment.html>
More information about the Libav-user
mailing list