[Libav-user] Scale image from 4:2:2 to 4:2:0
Ушаков Андрей
sorcchan at gmail.com
Fri Mar 30 10:57:03 CEST 2012
30 марта 2012 г. 2:01 пользователь David Sze <sze.david at gmail.com> написал:
>
>
> The comments in your source file say:
>
>
> * Watch original video:
> * vlc video422.raw :demux=rawvid --rawvid-fps=25 --rawvid-width=720
> --rawvid-height=576 --rawvid-chroma=UYVY
> * Watch "scaled" result:
> * vlc video420p.raw :demux=rawvid --rawvid-fps=25 --rawvid-width=720
> --rawvid-height=576 --rawvid-chroma=YV12
>
>
> So you probably should be using PIX_FMT_UYVY422 instead of PIX_FMT_YUYV422
> when doing the conversion.
>
Thanks a lot, David! :) Now all works perfectly. I just thought YUYV and
UYVY is the same.
One more question: what PixelFormat is YV12? As I see its not
PIX_FMT_YUV420P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120330/255d8cbc/attachment.html>
More information about the Libav-user
mailing list