Script for cleaning right border stain on PAL VHS
1 Attachment(s)
I use a script for cleaning the green staining on the right edge that typically occurs when Hi8 tapes are digitized with Sony Handycams.
Today I have a VHS tape, which as far as I am aware is a master recording, on Fuji Super XG Pro 180 VHS Tape, PAL. I am 95% certain it is the original and did not come from Hi8. Anyway, it has green staining on the right border. The script I normally use to clean the stain is causing magenta staining. Most noticeable on frames 430 to 440 in the attached clip. This is the script:- Code:
U = UtoY() # separate U channel Code:
U = UtoY() # separate U channel I have never understood what this script is doing or how it works, but I would really like some advise on what values I can change. If I change a single number it creates an error so I am lost for what I can change in that script. A breakdown explanation of what the above script is doing would be very helpful. My full script:- Code:
function Levels_mod(clip c, int "input_low", float "gamma", int "input_high", int "output_low", int "output_high", bool "coring", bool "dither") |
2 Attachment(s)
I think i got it covered
Quote:
The green removal part does the magic i just don't fully understand it either; you basically crop (16 pixels on the right) the green part of the V channel and you color adjust it. Why you crop 342 pixels, the video now being 704 pixels wide..no idea. The most subtle part: you add a border with an hex value of #808080 and this value in HSL = hue: 0.00 , saturation: 0.00, lightness: 0.50 / RGB value: 128,128,128 Someone will explain to us i'm sure |
THe origin of that script is here: https://forum.videohelp.com/threads/...VHS-capture%29
|
Exactly where i picked it up yep. Silly me, we're working on U,V so half the resolution(~360), i should have known that
|
Cropping followed by BalanceBordersMod (bbmod) also works fine.
http://www.digitalfaq.com/forum/error.gif Cu Selur |
Quote:
Code:
EDGE_SIZE = 22 |
Quote:
|
1 Attachment(s)
Image works fine when I click on it, but I also attached it now. (had to zip it to prevent the board software from converting the png to jpg)
Regarding bbmod: https://github.com/Asd-g/AviSynthPlu.../bborders.avsi (it's also ported to Vapoursynth as part of havsfunc) Cu Selur |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.