Hi i have a dvd of Samurai Assassin 1965 which looks very bright to me when i watch it with vlc. How do i fix the contrast/brightness with avisynth?
samples:
http://www54.zippyshare.com/v/bWm5GcMp/file.html
+ Reply to Thread
Results 1 to 7 of 7
-
-
It " looks very bright"? That's hardly proof positive. Add 'Histogram()' or 'ColorYUV(Analyze=True).Limiter(Show="Luma")' to your script and prove it conclusively. Using the second test, if you see globs of green, then the whites are blown out and the contrast needs adjusting.
It doesn't look that way to me, though. You can use the Levels command to lower the levels (make it look 'darker'), and the Tweak filter to adjust the contrast, as in:
Tweak(Cont=0.9,Coring=False)
The parameters are interdependent. For example, lowering the contrast should probably also be matched by a slight increase in the brightness.
DVDTalk didn't like the quality of the DVD at all:
https://www.dvdtalk.com/reviews/14721/samurai-assassin/ -
Whites too low, not enough contrast in highlights.
[Attachment 44577 - Click to enlarge]
[Attachment 44578 - Click to enlarge]
Code:ImageSource(...) ConvertToYV24 ## expand range: Levels(0, 1.0, 180, 0, 255) ## lower midrange (inverse gamma) Invert Levels(0, 2.5, 255, 0, 255) Invert ## expand range again Levels(6, 1.0, 200, 0, 255) Histogram return Last
-
That is going to crush blacks and blow out some of the brighter shots. You need to tone it down a little. I did:
Code:Invert() # negative ColorYUV(gain_y=125, off_y=-101) # contrast stretch to full range Y ColorYUV(gamma_y=30) # gamma adjustment to bring out details in the brights Invert() # back to positive ColorYUV(gamma_y=30) # gamma adjustment to bring out detaiils in the darks ColorYUV(gain_y=-40, off_y=16) # final adjustment back to limited range Y
-
Which tells you the black levels are crushed. Green blocks tell you the whites are blown out which, apparently, isn't happening here. In fact, it appears your claim that the film "looks very bright to me" is misleading. Maybe you have your player and/or video card set up incorrectly.
-
Watching in VLC (or any other media player) can sometimes give you brightness that does not actually reflect how the video itself should look, if played on another player.
The only way to know if your video really needs to be modified is to put it into an NLE and use its histogram, waveform, or vectorscope display (if it has one) to see the actual brightness distribution.
There are settings in VLC, and also in your graphic card overlay settings, that can change how the video looks.
Similar Threads
-
Colorizing black & white movie
By Roméo Latour in forum RestorationReplies: 75Last Post: 15th Mar 2024, 12:50 -
Altering brightness/Contrast in video
By ro2124 in forum Newbie / General discussionsReplies: 3Last Post: 14th Dec 2015, 12:16 -
Is it possible to adjust contrast or brightness without reencode
By ConanEdogawa in forum Newbie / General discussionsReplies: 13Last Post: 28th May 2015, 10:11 -
adding color to a black & white video/film
By monks19 in forum EditingReplies: 22Last Post: 16th May 2015, 11:03 -
MPC - change brightness, contrast etc.
By planetrock in forum Software PlayingReplies: 7Last Post: 11th Apr 2014, 22:47