Log in

View Full Version : Colormatrix doesnt help


[7]Raven
11th April 2008, 21:45
Good morning/afternoon/evening, gentlemen.
I want to make a good DVDRip of my MusicDVD collection, everything is ok except I lose the vividness of colors.
I use the following scheme:
Demux VOB to m2v -> Create d2v file -> Create Avisynth script -> Load it to MeGUI and encode using HQ-Slow profile.
The quality is almost lossless, but I have obvious shift in colors, the colors lose their vivdness.
As far as I understand, that is because of YUV-RGB convertion and I should use ColorMatrix plugin to avoid colorshifting. The problem is that I use colormatrix during the creation of Avisynth script in "Avisynth script creator" in MeGUI, but it doesnt look to take any effect.
Here is my script:

DGDecode_mpeg2source("D:\VTS_02_0_cut.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
Load_Stdcall_Plugin("C:\Program Files\megui\tools\yadif\yadif.dll")
Yadif(order=1)
crop( 24, 8, -8, -8)

#resize
#denoise

GSpot doesnt give any information about color coefficients, as far as I understand it means that they are Rec.709 by default . Colormatrix should convert Rec.709 to Rec.601, but shift in colors still remains. Looks like I use ColorMatrix in a wrong way.
Here is screenshotes of my DVD and DVDRip:
http://ipicture.ru/uploads/080412/t2itXxy498.png

http://ipicture.ru/uploads/080412/hWO5dEB6E7.png

Blue_MiSfit
11th April 2008, 22:50
What does DGIndex report the color system to be? You shouldn't assume its Rec.709.

~MiSfit

Mystery Keeper
12th April 2008, 10:30
Problem is not in AviSynth. It's in your decoder. Disable all output colorspaces except RGB32 and check "HQ YV12 to RGB conversion".

[7]Raven
12th April 2008, 14:39
Problem is not in AviSynth. It's in your decoder. Disable all output colorspaces except RGB32 and check "HQ YV12 to RGB conversion".
Well, looks like it was really decoder problem. Thank you very much.