View Full Version : Choosing YUV -> RGB scale with AutoGK ?
jp80
1st February 2005, 19:03
Hi,
One of the software AutoGK uses in its encoding process is DGindex, the sucessor to DVD2avi. And this soft offers to the user in the menu Video->"YUV -> RGB" the option to choose between PC scale and TV scale. By comparing the original vobs and the ouput avi, I noticed that:
-Choosing TV scale keeps all the brightness of original picture, while the PC scale loses some of it, thus giving a darker picture.
-AutoGK uses PC scale by default for all its jobs.
Now as I prefer to use the TV scale setting, I'd like to know if it's possible to choose and keep it with AutoGK? If not then I'd like to suggest it as a very nice feature to add in the next version of AutoGK.
len0x
1st February 2005, 19:25
The movie is darker than original not because of what you think but because of this: http://forum.doom9.org/showthread.php?s=&postid=514595#post514595
That's how ColorMatrix filter was created. But not every DVD requires it, so automatic solution is not available atm.
jp80
2nd February 2005, 00:48
Thanks for the info, I downloaded colormatrix filter, but while I was getting pretty lost in all the deeply technical explanations of the cause of wrong colors, I couldn't find any clue on how could I use this filter with AGK ?
len0x
2nd February 2005, 12:11
You can't. Its only possible with GK. When automated solution is available then AutoGK will support it.
jp80
2nd February 2005, 18:59
Ok, then as I don't know at which point could I include this filter in GK, could somebody please tell me how to do so?
len0x
3rd February 2005, 19:05
You can safely use this filter in the end of you AVS script (just add colormatrix() )
len0x
4th February 2005, 13:00
Step by step.
- enable advanced AVS window (in options)
- when saving AVS as usual you'll see a window with 5 tabs.
- Select "Filters" tab
- Add filter by pressing "+"
- Select ColorMatrix from the list on the left side
- Choose its parameters and press OK
- That's it - filter added (you should make sure that any additional filters you use are all before colormatrix in the list of your chosen filters)
P.S. You need to use latest GK 0.34.5
P.P.S. If you don't feel comfortable enough in working with GK you can wait until ColorMatrix functionality is added to AutoGK.
jp80
4th February 2005, 15:09
Thank for the help Len0x. However after I chose the parameters for colormatrix, is it normal that in the script tab, put apart "LoadPlugin("c:\PROGRA~1\GORDIA~1\AviSynthPlugins\ColorMatrix.dll")" , there is no other codeline mentionning matrix color?
And while Wilbert wrote "For interlaced material you should use SeparateFields.ColorMatrix.Weave", I couldn't find how could I add SeparateFields and Weave?
len0x
4th February 2005, 15:14
Its in the DENOISING part of the script for me.
You can't use ColorMatrix before deinterlacing, that's true, but after you can use it anytime (so separatefields/weave are not needed anymore).
jp80
4th February 2005, 17:03
Ok so you mean that instead of separatefields and weave, I can use any other deinterlace filter? But I'm still curious about how to include them, as if I read well somewhere, they were one of the best way to deinterlace? Or could you suggest me which filter is the best in your opinion?
len0x
4th February 2005, 18:09
Try Kernel Deinterlace (its used by AutoGK as well). Its available on the second tab of SaveAVS window.
jp80
4th February 2005, 19:05
Mhh now when I launch the encoding, Virtualdub displays an error window saying:
Script error: expected a , or )
(e:\PROGRA~\GORDIA~1\Preview.avs, line 51, column 17)
So I looked into the avs file, and here are the line 50 and 51:
# DENOISING: choose one combination (or none)
ColorMatrix(""Rec.601->Rec.709"",true)
So it seems a character is missing between --- ColorMatrix(""Re ---, and --- c.601->Rec.709"",true)" --- , but as it doesn't make any sense I don't know what's going wrong?
jp80
4th February 2005, 19:35
BTW this may be related to the fact that until now I was using GK 0.34.4b instead of the brand new 0.34.5b, but since I've updated to 0.34.5, GK just freezes when opening a d2v file...
len0x
5th February 2005, 00:51
0.34.4 did have this problem with double quotes that needs to be removed (its described in the main 0.34.x development thread). Make sure you rebuild D2V file with DGIndex supplied with 0.34.5.
jp80
6th February 2005, 03:26
Unfortunately it's still the same freezing pblm after I tried your advice...
jp80
6th February 2005, 03:44
OK so now I can only use 0.34.4, but even if I remove the double quotes in it, after I save the avs and start the encoding, I still get the same message error, so I verified the avs and this line is right isnt it?:
# DENOISING: choose one combination (or none)
ColorMatrix(Rec.601->Rec.709,true)
len0x
6th February 2005, 12:29
No, it should be:
ColorMatrix("Rec.709->Rec.601",true)
And not every DVD require this.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.