Hello,
This is not VHS to PC but actually live TV to DVD recording via DVD recorder (therefore, no way to re-record). Regardless, i do see this in both my DVD and VHS-to-PC recordings and is it this border around objects... I do not know what would be the correct term? Halo? Ghosting? Ringing? Aura? Holy Spirit? [edge is on both left and right side so i presume its not ghosting?] I also see some rainbow? Is it a rainbow?
Anyhoo, it does not bother me that much as-it... BUT.. when i try to upscale videos using Topaz, Topaz thinks this is an actual object, not a video defect and upscales it too making the edge super obvious and the video looks ever worse than before upscaling. Is there a a way to remove this, please? I do not even know where to start as I dont even know what im dealing with?
Please, help and save my sanity while there is still some time!
+ Reply to Thread
Results 1 to 12 of 12
Thread
-
-
Over-sharpening halos and rainbow artifacts (leakage of high frequency luma content into the chroma). They can be reduced to some extent with post processing but it's best not to produce them in the first place. See if there's a sharpness setting in your DVD recorder and turn it down.
-
you have two things: Haloing ("double edges" effect more or less big, here they're rather small imo ) and what looks like Moiré (bad demodulation of chroma -> cross-color), can be fixed on the hardware level by using a 3D Comb filter when you use composite or simply a s-video cable is enough
https://www.avartifactatlas.com/artifacts/moire_effect.html
Moiré can be fixed with avisynth and the SSIQ filter
MPEG2Source("defect sample.d2v", cpu=0)
SSIQ(diameter=11, strength=200, interlaced=true) -
YAHR works fine for the dehalo part.
users currently on my ignore list: deadrats, Stears555 -
yeah, this was recorded back in 2006 and not even by me. I understand the over sharpening and garbage-in/garbage-out. Unfortunately, there's no way to re-record this thus i have to fix this via post-processing (if possible)
thanks for the tips. i agree that the 'double edges' effect is not visible. the problem is when i try to upscale the videos - with digital vids, i get stunning results, but with these analog vids with 'double edge', the second edge becomes very obvious (as software thinks its part of the video) and the video becomes a hot mess.
Thanks for the SSIQ tip, i cannot find x64 plugin so will try it later with x32 plugin.
thanks Selur. Im trying below YAHR function but i cannot see a difference. (i am zero-skill scripter and i use chatGPT). Did I enter something incorrectly, please?
SetFilterMTMode ("QTGMC", 2)
audiofile1 = BestAudioSource("clip.mpg", track=-1)
videofile1 = FFVideoSource("clip.mpg", track=-1,threads=1)
file1 = audiodub(videofile1,audiofile1)
file1
ConvertToYV12(interlaced = true)
AssumeTFF()
QTGMC(preset="Slow", sharpness=1, EdiThreads=3)
Prefetch(10)
function YAHR(clip file1)
{
b1 = clp.minblur(2).removegrain(11,-1)
b1D = mt_makediff(clp,b1)
w1 = clp.aWarpSharp(depth=64,blurlevel=4,thresh=1.0)
w1b1 = w1.minblur(2,1).removegrain(24,-1)
w1b1D = mt_makediff(w1,w1b1)
DD = b1D.repair(w1b1D,24)
DD2 = mt_makediff(b1D,DD)
clp.mt_makediff(DD2,U=10,V=10)
}
-
This might reduce the halos and rainbows enough for your upscaler. It does damage to small details in the picture though.
Code:Mpeg2Source("defect sample.d2v", CPU2="ooooxx", Info=3) QTGMC(preset="fast") edges = mt_edge("0 0 0 -1 2 -1 0 0 0").mt_expand().mt_expand().mt_expand().mt_expand().BinomialBlur(3.0) # build a map of vertical edges for later dehalo_alpha(rx=3.5, ry=1.0, BrightStr=1.1, DarkStr=1.1) # reduce halos u = UtoY().BinomialBlur(3.0) # blur the chroma U v = VtoY().BinomialBlur(3.0) # blur the chroma Y bc = YtoUV(u, v, last).aWarpSharp2(depth=10) # merge blurred/sharpened chroma back with the dehaloed luma Overlay(last, bc, mask=edges) # merge the chroma of the derainbowed clip with the dehaloed clip only where there are vertical edges
-
You added the YAHR function, but you are not calling/using it.
users currently on my ignore list: deadrats, Stears555 -
Try either or both.
mfRainbow(220, false)
EZdenoise(Chroma=true, thSAD=0, thSADC=2000)
Where there is lots of rainbow and not all is removed is the first pass then repeat.
mfRainbow(220, false).mfRainbow(220, false) -
oh thanks! this worked like a charm... I see now what you mean about loosing some of the details.. I might combine the videos and only de-double-edge zoomed out scenes and combine them with non-de-double-edge close ups of clothes where double edges are not so visible.
Overall, very nice results although i do agree with you, it comes with a sacrifice...
I did some testing with topaz this week using your results and topaz is no longer picking up second edge after the script, so im very pleased. they did a new release this wednesday and both patches before and after work very nicely. Thanks a lot for your help and this script
oh wow, that could explain why none of the scripts I wrote were workingcould i ask how could i make it work, please? do i call it second time like this?
I tried your script but AviSynth did not recognize EZdenoise function and I cannot find it on external filters page http://avisynth.nl/index.php/External_filters. Is it sub-part of another filter, please? -
could i ask how could i make it work, please? do i call it second time like this?
To use it you simply add: 'YAHR()' below QTGMC in your scriptusers currently on my ignore list: deadrats, Stears555 -
EZDenoise is available here:
https://forum.doom9.org/showthread.php?t=183192
https://www.mediafire.com/file/3ojdzwiat4ossw0/EZdenoise_v4.zip/file
Be careful, very high settings like thSADC=2000 will result in chroma blending between frames. -
oh wow! that did the trick! and let me tell you, when i saw the result, i fell of my chair. Alpha dehalo was good, but it was indeed overblurring details, but when I tried YAHR, the double-edges magically disappeared while protecting the details. I was shooketh! So thanks twice (once for teaching me scripts, secondly for the YAHR filter). I am truly lost for words now and i will need half-an-hour to process. I honestly was not very hopeful this could be done to such extend in post-processing :O
https://imgsli.com/MTg3NTIz/0/1
oh wow, thanks a lot!it works now too. As you say, i need to combine it with rainbow filter too.. I could not run rainbow as it was x32 and the rest of the filters are x64. but i could run two separate scripts and see... thanks a lot
Similar Threads
-
Getting rid of multiple audio tracks, etc.
By Ethaliano in forum Video ConversionReplies: 2Last Post: 25th Jun 2021, 08:49 -
How to get rid of this effect?
By hvq in forum Newbie / General discussionsReplies: 2Last Post: 25th Jan 2021, 00:40 -
How to get rid of a black frame
By bigboreshooter in forum Video ConversionReplies: 3Last Post: 15th Jun 2020, 07:21 -
Trying to get rid of subtitles
By 357mag in forum Newbie / General discussionsReplies: 1Last Post: 7th Feb 2020, 07:47 -
Getting rid of combing in a progressive clip
By ZetaStax in forum Video ConversionReplies: 10Last Post: 29th Jun 2019, 03:46