Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd June 2021, 08:17   #1  |  Link
bruno321
Registered User
 
Join Date: Oct 2018
Posts: 133
VHS capture: yellow on the left, blue on the right

I have a VHS capture which has some coloring problem. I don't have access to the original VHS, so I have to work with this.

It's yellow on the left hand side of the screen, blue on the right.

Is there a way of restoring the right color to it?

Here's an untouched snippet:

https://www.sendspace.com/file/wnborh

And an image:

bruno321 is offline   Reply With Quote
Old 23rd June 2021, 10:09   #2  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,493
The u and v channels cross over into each other on the right and cancel each other out in the middle so there's not much colour to be recovered there.

The following makes it look fairly natural:

Code:
ffmpegsource2("snip.mkv")

a = crop(0,0,360,0).coloryuv(cont_u = -100, cont_v = 150)
b = crop(360,0,0,0).swapuv.coloryuv(cont_v = -150)
stackhorizontal(a,b)
__________________
My AviSynth filters / I'm the Doctor

Last edited by wonkey_monkey; 23rd June 2021 at 10:45.
wonkey_monkey is online now   Reply With Quote
Old 23rd June 2021, 11:23   #3  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
Well, there wasn't much I could do, but here's my attempt:

Code:
FFVideoSource("\\mibctvan000\Ingest\MEDIA\temp\snip.mkv")
AssumeBFF()
QTGMC(Preset="Placebo")
source=last
left=Crop(source, 0, 0, -354, -0).tweak(hue=40.0)
right=Crop(source, 366, 0, -0, -0).tweak(hue=-140.0, sat=0.80)
StackHorizontal(left, right)
Cnr2(mode="ooo", scdthr=255.0, ln=255, lm=222, un=255, um=255, vn=255, vm=255)
Tweak(sat=0.40, interp=32)
Levels(6, 1.0, 245, 0, 255)
dfttest(sigma=64, tbsize=1, lsb_in=false, lsb=false, Y=true, U=true, V=true, opt=0, dither=0)

Original vs Filtered:




EDIT: Ah, David was faster than me to reply, I didn't see his reply 'till I reloaded the page eheheheh
FranceBB is online now   Reply With Quote
Old 26th June 2021, 10:04   #4  |  Link
bruno321
Registered User
 
Join Date: Oct 2018
Posts: 133
Thanks a lot I wonder how could such a thing happen... Anyway, it looks much better now.
bruno321 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.