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 |
|
|
#1 | Link |
|
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? |
|
|
|
|
|
#2 | Link |
|
Registered User
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)
|
|
|
|
|
|
#4 | Link |
|
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 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. |
|
|
|
|
|
#6 | Link |
|
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
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 |
|
|
|
|
|
#7 | Link |
|
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. |
|
|
|
|
|
#8 | Link |
|
Registered User
Join Date: Dec 2002
Location: UK
Posts: 1,673
|
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. |
|
|
|
|
|
#9 | Link |
|
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 |
|
|
|
|
|
#10 | Link |
|
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
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 |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|