I would like to brighten up the video image I have but doing so is making colors look whiter.
Is there a good way to make the video not so dark, without making black colors start to get a white tint over them or turn grey?
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 24 of 24
Thread
-
-
Last edited by jagabo; 19th Feb 2017 at 18:57.
-
I was doing it like this. Even tried adjusting just the brightness or just the contrast.
tweak(sat=1.06, bright=1.8, cont=1.02)
Brightness seemed to increase the white more, and contrast seemed to get it brighter more.Last edited by killerteengohan; 19th Feb 2017 at 20:56.
-
When making video lighter, brightness=bad; gamma=good.
Brightness and contrast controls should be avoided for most work where you want to increase or decrease the "brightness." The problem is that most controls that have these labels increase or decrease dark pixels, mid-level pixels, and bright pixels by the same amount. For many videos, you want to increase or decrease the brightness of the midtones, but leave the blacks and whites alone. This is what a gamma control does.
Even better is to create your own gamma curve using a histogram. My NLE, Vegas Pro, has this feature, and I suspect most other NLEs do as well.
I've never been a fan of using AVISynth's controls for this chore because you simple don't have enough control, nor is there a way to get much interaction. -
I'm not a professional at messing with gamma, in fact I do not believe I have ever done it before.
I have always just tweaked contrast up a little, but this source is too dark for tweak(cont=1.03) to be enough like it usually is for me. That's why I tried raising the brightness as well.
ColorYUV(gamma_y=20, gamma_u=20, gamma_v=20) is making things whiter just like tweak was doing. -
Those small Tweak() values shouldn't cause loss of saturation -- especially since you're increasing saturation. In general, I find that you need to increase saturation by the same amount as the contrast in Tweak(). For example: Tweak(cont=1.2, sat=1.2).
-
Unless you're also adding 'Coring=False', you could be making it much worse and not even realize it. Here's a line, doing as I suggested earlier, which increases the gamma without doing much to the basic brightness or contrast:
YLevelsS(0,1.6,255,0,255).Tweak(Bright=-1,Cont=0.93,Coring=False)
I work almost entirely in black and white so I don't usually have to do anything with Saturation except to make it zero.
Brightness seemed to increase the white more, and contrast seemed to get it brighter more.
ColorYUV(Analyze=True).Limiter(Show="Luma")
Or use the Histogram or something else. -
In Tweak() Bright adds to Y, Cont multiples Y. So Bright=5 adds 5 to every Y value, eg, 30 becomes 35, 200 becomes 205, etc.. Cont=1.5 multiples every Y value by 1.5. So 30 becomes 45, 120 becomes 180, etc.
-
Thanks, that info filled me in quite a bit when it comes to what brightness and contrast do and how they work. I will lower the settings I was using some. I never knew about the use of that coring setting. Thanks for mentioning that.
They all look different, and I noticed when I tried levels it looks a lot different. It makes it look like the original source had a white tint or bad colors all over it.
I like how levels got rid of that white tint over the video but my god, it looks like its overdoing the contrast or something and the darker lines look harder to see in darker areas. It actually seems darker that way.
I cant tell which is the better pick or whether levels is the correct colors or not since it removes the whiteness over the entire picture.
Original
Tweak(cont=1.02)smoothtweak(saturation=1.04)
Levels(16,1,240,0,255)
Original
Tweak(cont=1.02)smoothtweak(saturation=1.04)
Levels(16,1,240,0,255)
-
-
After hearing about that, I will probably always use coring=false in tweak or levels after this.
YLevelsS certainly did brighten it up. I think a little too much perhaps though.
I'm not sure what each of those numbers change in this "YLevelsS(0,1.6,255,0,255)"
I have a good guess what the 255's are for and change, but whats the other 3 for? (0, 1.6, 0) -
I'm trying out the "ColorYUV(Analyze=True).Limiter(Show="Luma")" you mentioned.
Why does it show red when I use coring=false and it doesn't when I don't use coring=false?
-
The closest I could get to my liking was "YLevelsS(16,1.11,255,0,255)"
I still think I prefer the unfiltered version more. I like how the levels reduced the white tint, but its more strain on my eyes as if it has an elevated contrast or something, which sucks because I think the colors look better that way.
Thanks for the suggestions and ideas. I can now use that information for future things. I might actually like the look of it more on another source. -
Red shows pixels below 16, Green shows pixels above 235. It might be okay to have some scattered dots of red and or green. It's not okay to have blobs of the stuff. It doesn't show it at the default settings (Coring=True) because it's clipped to 16-235.
The closest I could get to my liking was "YLevelsS(16,1.11,255,0,255)"
I like how the levels reduced the white tint, but its more strain on my eyes as if it has an elevated contrast or something -
As far as Y is concerned ColorYUV(), Levels() and Tweak() can do pretty much the same things. Some of the differences between them:
Levels() limits Y to 16-235 before output if you don't specify coring=false. It adjust the chroma as well as the luma. No explicit chroma adjustments.
Tweak() doesn't have gamma adjustments.
ColorYUV() doesn't have hue adjustments.
For example all these functions change Y in almost exactly the same way:
Code:ColorYUV(cont_y=256) ColorYUV(gain_y=256, off_y=-128) Tweak(cont=2.0, bright=-128, coring=false) Levels(64,1.0,192,0,255, coring=false).MergeChroma(last) YLevels(64,1.0,192,0,255)
Last edited by jagabo; 20th Feb 2017 at 11:51.
-
-
I think that depends on the target. I only render for playing on a standalone mediaplayer and so I don't like/need so called "broadcast levels" with washed out blacks and faint whites.
With coring enabled I was finally able to get autolevels to 0-255 without crunching blacks and blowing up whites... -
Oops, I just checked and it turns out I remembered this incorrectly. It is VirtualDub's Levels filter that crushes, not AviSynth's. As long as you disable coring AviSynth's Levels doesn't crush (except obviously at 0 and 255). I edited the post and removed that line to prevent future confusion.
-
Interesting to see the difference coring makes.
Test ramp is cropped from ColorBarsHD, with TurnRight.Histogram.TurnLeft
In all tests, gamma=1.8
The greatest effect on lowlight without changing pure black.
More gentle curve at the low end, but raises pure black (which can be compensated for - not tested)
No difference seen in this test between Ylevels and Levels(coring=false)
Less effect on midtone values.
Least effect on midtone values.Last edited by raffriff42; 16th Mar 2017 at 15:43. Reason: (fixed image links)
-
I use Cyberlink's "Color Director." It gives you a wide choice of modifications and is easy to use.
If you are looking for el cheapo, this is not for you.
Similar Threads
-
[SOLVED] [ffmpeg] Brightening a dark video?
By yetanotherlogin in forum EditingReplies: 6Last Post: 6th Oct 2014, 06:31 -
Best luma brightening filter for VirtualDub?
By callmebc in forum EditingReplies: 19Last Post: 27th Jan 2013, 14:25 -
Video is Too Dark even after Brightening - How to fix with Avisynth?
By VideoFanatic in forum RestorationReplies: 13Last Post: 28th Dec 2012, 09:55 -
Low-lighting videos needing brightening
By Ike_Lawliet in forum EditingReplies: 5Last Post: 18th May 2012, 19:41 -
Color/tint brightening with avisynth?
By darkdream787 in forum DVD RippingReplies: 8Last Post: 18th May 2012, 12:48