Log in

View Full Version : ffmpeg and YV12 pixel format


fanaticlatic
12th June 2012, 12:14
Hello,

I'm looking for advice on how to convert an uncompressed RGBA video in .avi container to YV12 format (YUV420p but the U and V channels are stored the other way around).

I can see the command "ffmpeg -pix_fmts" displays yuv420p but not YV12. I assume YV12 is not directly supported? Does anyone know of a workaround?


Thanks for your time.

Selur
12th June 2012, 15:31
mencoder -of rawvideo -o "Path to output" -ovc raw -noskip -vf scale,format=yv12 -forcedsubsonly -nosub -nosound -mc 0 "Path to input" should work,..