Log in

View Full Version : @ theWEF: How about Levels/Tweak support?


LigH
2nd July 2002, 16:42
Hi there!

Because of the lack of the required hardware, I'm not able to play an AVI on a TV set; therefore, I'm watching AVIs usually on my PC monitor.

DVDs are made to be tatched on TV sets. Therefore, they have a limited brightness and saturation range, and even a lower gamma curve. Watching directly converted AVIs on a PC monitor means that they are a bit too dark and too 'grey'.

To correct this a bit, I was previously using the "Levels" filter of VirtualDub to enhance the gamma curve by a factor between 1.3 (for already well lit movies) and 1.5 (for mostly dark ones), and the "H/S/I" filter by Donald Graft to freshen the colors by a factor of around 1.2 (for CG movies) to 1.3 (for older, bleached movies). But because VDub filters are only working in RGB mode, they were pretty slow.

For several months now, Donald Graft has released the "Tweak" filter plugin for AVISynth - now I can apply them in YUV space during the AVISynth frameserving process which is a lot faster.

I like using GKnot along with DVD2AVI to create the required D2V and AVS files for VirtualDub - up to that point that I always need to edit the AVS file manually to add the "Levels" and "Tweak" filter with the settings I prefer. Therefore, I would now like to ask you for supporting them, e.g. by extending this dialog window where I can chose the resizing and noise filter method.

The AVS file requires the following additional entries:

* LoadPlugin("Tweak.dll")

to support H/S/I + contrast changing,

* Levels({min_in},{gamma},{max_in},{min_out},{max_out})
* Tweak([hue={hue},][sat={sat},][bright={bright},][cont={cont}])

to apply range, gamma, contrast and H/S/I control.

Please tell me your opinion!

jggimi
2nd July 2002, 16:57
He already did. http://forum.doom9.org/showthread.php?s=&threadid=19339

LigH
2nd July 2002, 20:31
:confused: He already did? - Well, in the thread you wrote about, I absolutely can't find any note about that topic... Looks like you have the perfect nickname.

The last version I have is the update version 0.26 from gknot.doom9.org, and this one does not include explicit Tweak support; is there any newer available?!?
_ _ _ _ _ _ _

(After a few minutes)

Ah - now I see: He already told his opinion that he doesn't want to listen to wishes anymore...

Well, I still wonder: doom9 told us in March that theWEF has no time for programming when version 0.23 was out. But in the meantime, we have 0.26 - this means that theWEF had a bit time, and maybe he will have some again. So I keep hoping for his personal answer here.

manono
3rd July 2002, 04:28
Hi LigH-

You didn't ask for anyone else's opinion, but I'll throw in my 2 cents anyway. After using GKnot to create the .avs, I go through and knock out about 80% of the lines anyway, just so I can make sense of the thing. Say The WEF does as you request. You know that surely someone else will come along and ask for the TemporalSoften2 filter to be included. And someone else will ask for SmoothHiQ, and then the Unfilter, TextSub, etc. Then what about all of the VDub filters such as WarpSharp that can be added to the .avs with the color conversion commands? And then he has to add all those new buttons to the GUI (well, maybe not, but you get the point).

For beginners, it's fine as it is, and for advanced users such as yourself it's just no problem to go through and edit it by hand and add the various filters. If you're like me, you go through it anyway to add filters, test in VDub and adjust the various settings before encoding. So I say leave it as it is. But I don't speak for WEF. And as you said, you never know what WEF has in store for us next.

LigH
3rd July 2002, 10:58
Dear manono,

I knew this opinion would come... Who will decide which filters are so common that they are worth being supported directly? The best solution might be a general purpose one, something like adding just any AVISynth plugin or VirtualDub plugin compatible filter to some kind of filter presets, maybe. But I can understand that this may leave the topic of GordianKnot...