Log in

View Full Version : RGB -> YV12 color degradation


Jh--
18th August 2008, 20:15
My source footage is 24bit rgb. I do my final x264 encode in megui and to actually get the encoding to work, I need to add the yv12 conversion line into the avs script.

But as you know this causes a significant change in color quality and overall image sharpness. Is there any way to avoid this quality degradation?


ps. i tried to be as specific as I could but I dont know all the techo-talk you guys do.

mikeytown2
18th August 2008, 20:49
if the source is interlaced then change this

ConvertToYV12()

to this

ConvertToYV12(matrix="PC.709",interlaced=true)

Convert (http://avisynth.org/mediawiki/Convert)

Rumbah
18th August 2008, 21:55
If you are using a Nvidia card to play the resulting video make sure to set the software decoder to RGB as the hardware YV12 to RGB conversion is horrible.

For Ati cards you should be ok with overlay and perhaps VMR, but not VMR9, at least the last time I tested it.

If you use ffdshow you can even enable the high quality RGB conversionto get an even better result.

So if the color correction is done correctly then you should not see a significant change in color quality and overall image sharpness. In worst case scenarios you can see it but that does not happen very often.