View Single Post
Old 11th January 2017, 21:10   #6  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,829
Quote:
Originally Posted by johnny27depp View Post
I'm not sure if I am understanding Rec.601 and Rec.709 correctly. Is it a type of color encoding?
They're formulas for converting YUV to RGB or RGB to YUV. They're not hugely different, but the colours might look a little "off" if the wrong colorimetry is used. It's most noticeable for "red" which can look a bit dark or a bit orange.
When encoding YUV it's normally just decoded & re-encoded as YUV so the colorimetry doesn't change and you don't have to think about it, except when upscaling or downscaling, as HD is generally converted to RGB on playback using rec.709 and for SD it's rec.601.

You can also use the colormatrix plugin to manually convert the colours like this if it's easier.
Downscaling:
ColorMatrix(mode="Rec.709->Rec.601", clamp=0)
Upscaling:
ColorMatrix(mode="Rec.601->Rec.709", clamp=0)

I don't know if there's any plugins for automatically adjusting the colours, but for doing it manually I find the Avisynth RGBAdjust function easiest.

ConvertToRGB()
RGBAdjust(1.0,1.0,1.0)
ConvertToYV12()

ColorYUV() and Tweak() can both adjust colours without the need to convert to RGB and back but I can't think in YUV.
hello_hello is offline   Reply With Quote