View Full Version : yuv2 or yuv12 in export
gavo
24th November 2004, 00:12
I heard u can force some codec to go to yuv2 and not yuv12. I now yuv2 faster but is yuv2 also better comprassion.
Mug Funky
24th November 2004, 00:37
YV12 is faster because there's less pixels to process.
yuy2 is only better if your source originates in this format (count out consumer grade DV and DVDs). the only yuy2 (or 4:2:2) sources i know of are:
huffyuv captures
digital betacam
mpeg-2 high profile (or is it studio?)
some pro-level profile of DVCpro (basically DV)
some forms of MJPEG
of course, some plugins don't work correctly in yv12, especially for interlaced stuff (colour interlacing is a bit tricky when you've got half as many scanlines as luma). so there's still sometimes a need to convert.
[edited - thought of another one]
tedkunich
24th November 2004, 07:58
Originally posted by Mug Funky
YV12 is faster because there's less pixels to process.
yuy2 is only better if your source originates in this format (count out consumer grade DV and DVDs). the only yuy2 (or 4:2:2) sources i know of are:
If I'm not mistaken, YUY2 and YV12 have the same amount of data (4:2:2) but the YV12 is organized in planes vs interleaved as in RGB and YUY2 data. That is wnat makes it fast to process - you do not have all the overhead of de/re interleaving the data.
T
akupenguin
24th November 2004, 08:50
No. YV12 is 4:2:0 planar (12 bits per pixel). YUY2 is 4:2:2 packed (16 bits per pixel).
Both the planar organization and the less data contribute to speed.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.