View Full Version : Levels correction by AviSynth command
Anakunda
7th March 2011, 12:05
Greetings,
is it possible to adjust image levels (brightness/contrast/alpha) by custom AVS filter?
I only have found something like Levels(...) command which can operate with alpha channel, I would apprciate much more if I could adjust brightness and contrast separately. The goal is that I'm encoding various sources via AVS of whose some are overexposed, while some others are underexposed. I wanna have a nice contrast picture.
The other thing is if I could alter these params right by x264 option?:thanks:
LaTo
7th March 2011, 13:07
Look at SmoothAdjust in my sign.
Anakunda
7th March 2011, 13:52
thank you very much.
would it work with staxrip as custom filter, as I know SR only uses it's own set of AviSynth commands?
manono
8th March 2011, 05:53
You can use the Tweak filter to adjust the brightness and contrast. It's built into AviSynth, not a 'custom' filter.
http://avisynth.org/mediawiki/Tweak
Anakunda
10th March 2011, 14:05
You can use the Tweak filter to adjust the brightness and contrast. It's built into AviSynth, not a 'custom' filter.
http://avisynth.org/mediawiki/Tweak
I have little problem with this filter. Found nowhere what's the substitution for clip clip (1st) argument.
Also I'd like to know if standard Tweak() gives better picture than SmoothTweak(), as I already have SmoothAdjust successfully installed thus it doesnot matter which one I will use.
2Bdecided
10th March 2011, 15:43
I have little problem with this filter. Found nowhere what's the substitution for clip clip (1st) argument.That's just the standard way of saying you feed it a video clip - like almost every other AVIsynth function.
e.g.
avisource("this.avi")
tweak(sat=1.2, coring=false)
Cheers,
David.
Alex_ander
11th March 2011, 13:57
Also I'd like to know if standard Tweak() gives better picture than SmoothTweak()
I prefer SmoothTweak because it internally works in higher bit-depth. The stronger the correction, the more difference between the filters in amount of artifacts (same with SmoothLevels and e.g. its gamma). I also find ST more flexible in hue adjustment (2 separate parameters).
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.