There is a function called Tweak which is now built into Avisynth. Here are the details from the help html file.
Tweak
Tweak(clip, float "hue", float "sat", float "bright", float "cont")
This function provides the means to adjust the hue, saturation, brightness, and contrast of a video clip.
Tweak requires YUY2 input. Use ConvertToYUY2() if necessary.
Hue: (-180.0 to +180.0, default 0.0) is used to adjust the color hue of the image. Positive values shift the image towards red. Negative values shift it towards green.
Sat: (0.0 to 10.0, default 1.0) is used to adjust the color saturation of the image. Values above 1.0 increase the saturation. Values below 1.0 reduce the saturation. Use sat=0 to convert to grayscale.
Bright: (-255.0 to 255.0, default 0.0) is used to change the brightness of the image. Positive values increase the brightness. Negative values decrease it.
Cont: (0.0 to 10.0, default 1.0) is used to change the contrast of the image. Values above 1.0 increase the contrast. Values below 1.0 decrease the contrast
__________________
Fizzy Wizzy Lets get Bizzy!
|