Hi cats,
please anyone can say how to "gain" video level in avisynth? thanks
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 11 of 11
Thread
-
-
The word "gain" is too vague and ambiguous. Changing the "brightness" of a video can be done in many ways, including:
- Increasing the brightness of each pixel by the same amount. This is almost never the right thing to do.
- "Expanding the histogram" so that black pixels are set to exactly 0 and white pixels to 255 (although this depends on the system used to measure brightness). This often makes the video look punchier, but is can sometimes lead to increasing the contrast too much.
- Increasing the midtones. This is often done with a gamma function. This is one of the better ways to adjust the "brightness" of a video, but how it works depends on the software you use.
- Build your own histogram transfer function. This is the best way to adjust brightness, but requires some skill.
Finally, I am not a fan at all of using AVISynth for this task. Almost any NLE will do a much better job and give you all sorts of instantaneous feedback as you jiggle controls on several exposure plugins.Last edited by johnmeyer; 4th Nov 2016 at 15:58. Reason: removed commend from first bullet.
-
Ignore list: hello_hello, tried, TechLord, Snoopy329
-
-
-
-
See chart:
https://en.wikipedia.org/wiki/Decibel
To double the brightness of pixels (relative to Y=0) use one of the following (eg, Y=60 will become Y=120):
Code:ColorYUV(gain_y=256) Tweak(cont=2.0, coring=false) RGBAdjust(r=2.0, g=2.0, b=2.0)
Last edited by jagabo; 4th Nov 2016 at 19:47.
-
Or use general formula lin=10^(dB/20)...
It is good to remember that 1 bit is equal to 6.206dB and half bit is equal to 3.103dB - it may be easier sometimes to operate with such approximation.
Similar Threads
-
avisynth: how to "warm up" image?
By marcorocchini in forum Newbie / General discussionsReplies: 3Last Post: 3rd Nov 2016, 06:41 -
(Avisynth) Frozen image when using Overlay or StackHorizontal
By ephienix in forum EditingReplies: 0Last Post: 2nd Jan 2016, 15:39 -
Avisynth Santiag() making image and colors a tad brighter.
By killerteengohan in forum RestorationReplies: 4Last Post: 27th Jul 2014, 19:01 -
Avisynth, need image duration help (trim?)
By Genex9 in forum EditingReplies: 10Last Post: 23rd Jan 2014, 18:53 -
AVISynth Overlay Image Help
By smike in forum EditingReplies: 11Last Post: 17th Sep 2012, 11:04