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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

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

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th August 2012, 21:59   #1  |  Link
henryperu77
Registered User
 
Join Date: Jun 2009
Posts: 49
Vertical chroma artifacts on U-matic Captures

Hello, i did some captures with an u-matic player captured directly to the pc using a blackmagic, the problem is that im getting this strange vertical lines on the borders..





My Umatic has internal TBC and DNR , using it or disabling it still have the problem.. What filter can i use on avisynth to remove that artifacts without bluring the image?
henryperu77 is offline   Reply With Quote
Old 11th August 2012, 22:03   #2  |  Link
juhok
Registered User
 
juhok's Avatar
 
Join Date: Dec 2005
Posts: 110
Looks like chromashift? Move chroma a bit to the left.

Code:
    moveleft=0
    moveright=0
    moveup=0
    movedown=0
    vi = Crop(moveleft, moveup, -moveright, -movedown).AddBorders(moveright, movedown, moveleft, moveup)
MergeChroma(vi)
juhok is offline   Reply With Quote
Old 11th August 2012, 22:11   #3  |  Link
henryperu77
Registered User
 
Join Date: Jun 2009
Posts: 49
No is not chromashift -_- , i already try that.. for some reason appears that vertical lines in all the edges/borders.. is more noticeable on red colors

Last edited by henryperu77; 11th August 2012 at 22:33.
henryperu77 is offline   Reply With Quote
Old 12th August 2012, 12:05   #4  |  Link
TheSkiller
Registered User
 
Join Date: Dec 2007
Location: Germany
Posts: 632
I could be wrong, but to me it looks like not the whole color plane is shifted in comparison to the luma, but rather only one of the two chroma planes is shifted (i.e. U is not in alignment with V).

Play around with this a bit:
Code:
Shift=2

YtoUV( UtoY(crop(Shift,0,0,0).AddBorders(0,0,Shift,0)), VtoY(), last ) 
#YtoUV( UtoY(), VtoY(crop(Shift,0,0,0).AddBorders(0,0,Shift,0)), last ) 
#use either line
This only aligns U and V, you might still need to align chroma to luma afterwards.

Edit: Btw, isn't that in the horizontal direction?

Edit 2: Corrected and tested the code.

Last edited by TheSkiller; 12th August 2012 at 15:16.
TheSkiller is offline   Reply With Quote
Old 12th August 2012, 20:22   #5  |  Link
henryperu77
Registered User
 
Join Date: Jun 2009
Posts: 49
The lines are vertical, the problem is not the color shifted, ....
The YtoUV only shift the color... dont correct the vertical lines
henryperu77 is offline   Reply With Quote
Old 12th August 2012, 20:31   #6  |  Link
cretindesalpes
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
 
cretindesalpes's Avatar
 
Join Date: Feb 2009
Location: No support in PM
Posts: 720
Is the video in a 4:2:2 or 4:2:0 colorspace? It looks like the chroma has been badly upsampled for display, with nearest-neighbour interpolation.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding
cretindesalpes is offline   Reply With Quote
Old 12th August 2012, 21:32   #7  |  Link
TheSkiller
Registered User
 
Join Date: Dec 2007
Location: Germany
Posts: 632
I don't see any vertical (i.e. upwards/downwards) "lines", only a horizontal chroma problem that looks like either the U or V plane is out of horizontal alignment (giving that pinkish outline to the right).
Have you even tried the script I posted?

Due to the screenshots not showing raw video, like cretindesalpes said, part of the problem may be just a bad chroma upsampling. The zoomed screenshot also looks heavily compressed, it's of no use.

We need a short video sample to give proper help.

Last edited by TheSkiller; 13th August 2012 at 09:51.
TheSkiller is offline   Reply With Quote
Old 12th August 2012, 23:44   #8  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
Quote:
Originally Posted by TheSkiller View Post
The zoomed screenshot also looks heavily compressed
I think that's what he's talking about.

It does look like point-resized chroma. It might be something else though. A raw video sample would help. Ideally it should be fixed at the point where it occurs - it's unlikely to be on the Umatic tape.

Thinking about it, it might be what's left when something has tried to remove dot crawl.

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 13th August 2012, 17:27   #9  |  Link
henryperu77
Registered User
 
Join Date: Jun 2009
Posts: 49
Ok i uploaded a sample of video (no audio)

http://www.mediafire.com/download.php?sb5o8y3djsiy2mb

Its captured with AMV2 encoder you can download the codec here if you dont have it http://www.free-codecs.com/AMV2_video_codec_download.htm
henryperu77 is offline   Reply With Quote
Old 14th August 2012, 20:36   #10  |  Link
cretindesalpes
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
 
cretindesalpes's Avatar
 
Join Date: Feb 2009
Location: No support in PM
Posts: 720
So it's already in RGB? Here is a quick attempt to fix the vertical line problem and the chroma shift:
Code:
ConvertToYV16 (interlaced=true)
mt_convolution (horizontal="-4 7 10", vertical="1", y=2, u=3, v=3)
AssumeFrameBased ()
SeparateFields ()
y = TurnLeft ().Daa ().TurnRight ()
u = UToY ().aWarpSharp2 (chroma=1)
v = VToY ().aWarpSharp2 (chroma=1)
YToUV (u, v, y)
AssumeFieldBased ()
Weave ()
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding
cretindesalpes 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 17:48.


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