-
Accurate Colors
I am new to Vegas and am obsessive about color accuracy.
I finally got Vegas to export video with accurate colors using the following procedure:
In Vegas, render as: Video for Windows -> Uncompressed
You can then convert it using ffmpeg and the codec of your choice. For example, here it is converted to x264:
ffmpeg -y -i "untitled.avi" -pix_fmt yuv420p -crf 0 -c:v libx264 -vf scale=out_color_matrix=bt709:out_range=full -color_primaries bt709 -color_trc bt709 -colorspace bt709 -r 59.94 output.mp4@REM NOTE: Output range MUST be full.
The pixel format can be 4:2:0, 4:2:2 or 4:4:4.
I have tested the output of this process and the 8 – bit color values are accurate to +/- 3. For example, a color value of 16 might come out anywhere from 13 to 19. I have found that this is as accurate as it gets with 8-bit YUV.
HTH