Hi,
Does anyone know if there is an existing function for Avisynth that can be used to adjust the brightness of a specific vertical section of the frame?
One option that came to mind is to try using ColorYUV(off_y = XXX) on a specific part of the frame, but perhaps there is already a ready-made implementation for this?
I’ve attached a screenshot and a short AVI clip showing the problem I’m trying to fix.
[Attachment 93471 - Click to enlarge]
+ Reply to Thread
Results 1 to 6 of 6
-
-
Using Overlay() and an alpha mask you could smooth out the edges.Code:
LWLibavVideoSource("example-1.avi") left = Crop(0,0,112,-0) mid = Crop(110,0,64,-0).ColorYUV(off_y=-3) right = Crop(174,0,-0,-0) StackHorizontal(left, mid, right) -
Alternatively consider shifting the superblacks (y~10...13) up by ~3...4 steps.
-
-
Thanks for noticing that
. My capturing method is able to capture wider than 16-235. Also, if I have understood it right, levels over 16-235 causes problems only if I would do RGB -> YUV conversion somewhere at the process? (usually I try to keep captures in 16-235 range).
-
Y levels below 16 will all be crushed to 0, and levels above 235 will all be crushed at 255 upon a limited range YUV to full range RGB conversion. Note that TVs convert YUV to RGB that way for display so super black and super white details will be lost (there will be no visible detail in those areas).
Similar Threads
-
Measuring the luminance of mp4
By banaguitar in forum Video ConversionReplies: 0Last Post: 14th May 2025, 15:45 -
How can you avoid luminance halows on VHS and RCA?
By anonymoustly in forum Off topicReplies: 2Last Post: 15th Jun 2024, 07:25 -
Export AVCHD frame specific metadata to subtitles
By HD65 in forum SubtitleReplies: 130Last Post: 8th May 2024, 08:41 -
Avisynth start video from specific frame (not beginning)
By VidNoob123 in forum Newbie / General discussionsReplies: 2Last Post: 11th Jul 2023, 12:28 -
Mp4Box - Output is generated without frame Width, frame height & frame rate
By Saptarshi in forum Newbie / General discussionsReplies: 0Last Post: 25th Nov 2022, 08:27


Quote
