[FFmpeg-user] converting yuv420p rawdata to avi - colors issue

Rhodri James rhodri at kynesim.co.uk
Tue Sep 13 13:27:00 CEST 2011


On Tue, 13 Sep 2011 12:02:38 +0100, Roee Kashi <galacap at gmail.com> wrote:

> hi,
> i'm trying to convert my yuv raw data to .. actually anything.
> my yuv type is YV12 which i understand is yuv420p,

Sadly, no.  YV12 has the U and V planes in the opposite order
to yuv420p, giving the wrong colours you see.  What you need
is "yvu420p", except that it doesn't exist...

-- 
Rhodri James
Kynesim Ltd


More information about the ffmpeg-user mailing list