Dude, I posted that script just to acquaint you with the proper syntax of the tool, I didn't mean for you to use those exact values.
These people say the Vdub filter you are using is % based. If that's true, time -55 by 2.56 and you get -141. That's your new Tweak number. Because of the RGB/YUV discrepancy, your number may be -121. Test it out.
For contrast, do some experimenting. Open a gray image in Vdub with a pixel value of 200. If your contrast setting changes the pixel to 240, your Tweak equivalent is 1.2.
+ Reply to Thread
Results 31 to 38 of 38
-
-
How gay. Why did Vdub and Tweak take the weird route? I really hate experimenting with combos of more or less brightness, contrast and gamma just to fix a fudged up DVD (even Blu-ray) that release their shit highly under-saturated.
Also, before I forget: some values don't translate well to Tweak, such as 32 in my filter becoming 27.5. Does Tweak accept values with decimals? I input them in regardless but never did serious comparisons to see if they match. -
-
-
Nothing personal, "dude"
- Not sure what gave you the impression I tried your values literally - Not sure you are familiar with Avsp? It has sliders just like vdub filters and tried all different values...yes, I did get close but in darker scenes vdub looks cleaner than avs - just cant get any closer.
-
VirtualDub's contrast/brightness filter works the way most analog TVs work. One control is the gain, the other the offset.
Code:Y' = Y * Contrast + Brightness
-
-
Beware of doing this in two steps. If the first step crushes blacks or whites there is no restoring them in the second step. The order in which you perform the two steps is important (reversing the two commands will give different results). And "coring" is the default so you will lose anything below Y=16 or above Y=235 in each step if you don't specify coring=false.Code:
tweak(bright=-20) tweak(cont=1.35, sat=1.35)
The same is true for ColorYUV() except it doesn't core by default.Last edited by jagabo; 31st May 2012 at 12:11.
Similar Threads
-
kmplayer, how do you set the brightness/gamma ?
By vhelp in forum Software PlayingReplies: 1Last Post: 25th Sep 2011, 16:04 -
Gamma vs Contrast
By CSULB71 in forum ComputerReplies: 9Last Post: 30th Apr 2010, 10:38 -
equivalent filters from Vdub to Avisynth
By cd090580 in forum RestorationReplies: 3Last Post: 14th Aug 2008, 14:28 -
Video editing of brightness and contrast?
By capman21 in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 13Last Post: 6th Feb 2008, 19:31 -
Change brightness, contrast, color, etc.
By JoeMuskie in forum EditingReplies: 4Last Post: 22nd Oct 2007, 23:26



Quote