Avisynth: Filter for reducing brightness?
hi
can someone tell me which filter reduces the brightness while encoding? my files all become to bright or is there an option in tmpgenc, like the "luminance gain"-option in DVD2SVCD to achive this effect? |
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 |
thanks, i will try it that way
|
If your source movie was not bright to start with and you are using dvd2avi, then another thing to check is the option for YUV-> RGB under video. If this is set to TV Scale then the it seems to make movies brighter when you create the D2V file and use it for encoding. Set it to PC Scale if that is the case.
|
i´m not using dvd2avi, so this cannot be the problem i think
|
i´m a little confused
what would i have to add in my avs script to lower the brightness to -70? edit: i got it |
Quote:
today i was thinking about this: "If this is set to TV Scale then the it seems to make movies brighter when you create the D2V file and use it for encoding." really works,but "...check is the option for YUV-> RGB under video..." please,the color is better in RGB? :? thanks in advance! :) |
Quote:
-kwag |
Quote:
Tweak(Bright=-25) |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.