Log in

View Full Version : Red being brightened?


Incast
4th October 2005, 23:12
I'm suffering an issue where my main encoder Procoder 2 brightens reds during encoding leaving other colours untouched. The same happens with CCE, however, TMPGEnc does not suffer from this.

Source (Below):
http://i3.photobucket.com/albums/y76/incast/source.jpg

Procoder:
http://i3.photobucket.com/albums/y76/incast/Procoder.jpg

CCE:
http://i3.photobucket.com/albums/y76/incast/CCE.jpg

TMPGEnc:
http://i3.photobucket.com/albums/y76/incast/TMPG.jpg

As you can see there's a noticeable difference. I've tried 601 correction in Procoder source video filters, however, this did not resolve the issue.

Can anyone help me? My source colour format is YUY2.

Mug Funky
5th October 2005, 01:13
sounds like a colour matrix problem. if you're using avisynth, you may be able to fix it there with the colormatrix filter.

TMPGenc doesn't suffer this because it only accepts RGB24 input, then converts it to yv12 for encoding (an unnecessary conversion really, but looking at those images i can see how it could be useful in foolproofing the encoder).

strange that 601 correction in procoder did nothing... i've not used it, but it looks like a step in the right direction. maybe try all the options it has (if any).

is the source of this a DVB capture? i believe DVB and HDTV use mpeg-1 colour coefficients, rather than the MPEG-2 ones you get on DVD.

tateu
5th October 2005, 02:38
I ran into the same problem and Mug Funky is most likely right.

When encoding with TMPGenc I don't make any changes to my avisynth script but when I encode with mencoder, HC or QuEnc I change the color matrix using

(Last.IsRGB()) ? Last.ConvertToYV12(matrix="Rec709") : Last.ColorMatrix(mode="Rec.601->Rec.709")

ConvertToYV12 is a native avisynth function. Colormatrix is a plugin by wilbert that you can find at http://www.avisynth.org

Incast
6th October 2005, 23:31
Thanks for your help.