[Libav-user] Scale image from 4:2:2 to 4:2:0

Ушаков Андрей sorcchan at gmail.com
Thu Mar 29 17:34:08 CEST 2012


Hello all!

I've try to convert my video from YUV 4:2:2 format (PIX_FMT_YUYV422) to YUV
4:2:0 (PIX_FMT_YUV420P). Doesn't work properly. Can some one help?

Here is the code: http://dl.dropbox.com/u/43123609/swsscale.c commands how
to compile, run and see result in comment in code.
Here you can download video example to test:
http://dl.dropbox.com/u/43123609/video422.raw Ouch! Size is 120 Mb
Here you can see result without compile, run, etc:
http://dl.dropbox.com/u/43123609/Screenshot-1.png
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120329/579bcbfc/attachment.html>


More information about the Libav-user mailing list