I've been converting my VHS tapes to digital and have been using Avisynth to do minor color corrections. For the most part it works out OK using ColorYUV(cont_u, cont_v) but sometimes the colors don't look as good as I would like.
Last night I was reading some threads on Overlay, and decided to give it a try. I've never used it before, more or less understand the concept, but not the application. I copied a script from one of Jagabo's posts, edited the settings, and low and behold - like a miracle, everything looked better. I just don't understand why, and really what I'm doing.
Original video:
[Attachment 68054 - Click to enlarge]
Script using Overlay and Greyscale:
org=last
ColorYUV(gamma_y=0,off_u=-35, off_v=20, cont_U=51, cont_v=51)
StackHorizontal(Subtitle(last, "without overlay"), Overlay(org,last,0,0,GreyScale(org).ColorYUV(cont_ y=100, cont_U=0, cont_v=0)).Subtitle("with overlay"))
Resulting video:
[Attachment 68055 - Click to enlarge]
You can ignore the image on the left, that's what it would look like without Overlay, but I was surprised with the image with Overlay that it looked good to me.
Can someone explain to me what's happening? The help file on GreyScale is pretty sparse.
Thanks
+ Reply to Thread
Results 1 to 3 of 3
-
-
This is mask:
Code:GreyScale(org).ColorYUV(cont_y=100, cont_U=0, cont_v=0)
Code:ColorYUV(gamma_y=0,off_u=-35, off_v=20, cont_U=51, cont_v=51)
So effectively, highlights from your original video are replaced more than darker areas.
If you'd have a videoeditor and doing color corrections, you could tell to change colors in dark areas, midtones or highlights only. In Avisynth you can use Overlay to do that by defining a mask.
Similar Threads
-
I don't understand the 704x480 or 704x576 resolutions!
By Hunk91 in forum RestorationReplies: 8Last Post: 9th Oct 2022, 05:31 -
Openshot - I don't understand that time units in the timeline
By Trith in forum Newbie / General discussionsReplies: 3Last Post: 28th Jan 2022, 05:12 -
MPC-BE controls & etc as overlay, not docked at the bottom of the video?
By hsregsfsdfsasdf in forum Software PlayingReplies: 0Last Post: 8th Nov 2019, 20:39 -
WinDV & file name overlay.
By RogerJay in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 9Last Post: 15th May 2019, 08:00 -
I don't understand how to install and properly use h.265 library files
By Artas1984 in forum Newbie / General discussionsReplies: 1Last Post: 24th Oct 2018, 08:57