[FFmpeg-devel] [PATCH]Fix Planar Y'CbCr 8-bit 4:2:0 in mov

Carl Eugen Hoyos cehoyos
Sun Jan 24 22:40:21 CET 2010


Baptiste Coudurier <baptiste.coudurier <at> gmail.com> writes:

> > VLC decodes samples/V-codecs/ATI-VCR12/ATI/yv12test.avi incorrectly. That
> > sample use fourcc YV12 and U and V have to be swapped to get PIX_FMT_YUV420P.
> > http://www.fourcc.org/yuv.php#Planar%20YUV%20Formats indeicates that fourcc's
> > YV12 and I420 should be decoded differently (which FFmpeg does currently and
> > succeeds for yv12test.avi while the mov sample from issue 1687 expects to be
> > decoded like FFmpeg decodes I420).
> >
> > Ok to apply or do you have another suggestion?
> 
> Well, I don't like it much but ok.

I added a hopefully useful comment, please flame on cvslog if you don't like it
(either).

Thanks for considering, Carl Eugen




More information about the ffmpeg-devel mailing list