Hello!
As you've read from the title, I've been trying to remove heavy dot crawl and rainbowing, but I haven't gotten much luck with.
[Attachment 94272 - Click to enlarge]
As you can see, the dot crawl and rainbowing is very aggressive so I can see why it's difficult to remove.
The best results I've gotten iswhich doesn't remove too much, but it's a start.Code:clip = core.dotkill.DotKillT(clip, offset=3, dupthresh=45, tratio=1)
I don't really have much too say, I just need help with the source.
+ Reply to Thread
Results 1 to 12 of 12
-
-
Because they are inherent part of color encoding and eventual color decoding - part of spectrum for luminance signal is shared with chrominance - proper separation may be not possible.
You can try filtering in frequency domain - use some plugin or software allowing to perform signal processing in frequency domain - in avisynth you can use for example http://avisynth.nl/index.php/FFTQuiver - alternatively you can try to separate luminance and chrominance and process independently. -
Problem is that the image was reencoded and resized multiple times and thus normal decrawler detection methods do not catch the crawlers.
applying other denoisers / grain removers on the separated fields before applying IVTC or similar might help.
i.e. TemporalDegrain2 with temporal radius 3

helps quite a bit
using TemporalDegrain and TemporalDegrain2 in succession seems to work even better.Last edited by Selur; 8th Nov 2026 at 10:47.
users currently on my ignore list: deadrats, Stears555, marcorocchini -
I know the source was re-encoded a couple of times, I can tell because of the bad deinterlacing and the original SD scaled to HD (to fit TV resolution). That makes sense why any of these plugins wouldn't work.
Also I was able to remove the more of the analog artifacts a little more with this script.
Code:clip = core.bifrost.Bifrost(clip, luma_thresh=6.2, variation=8, interlaced=True, blockx=14, blocky=12) clip = havsfunc.LUTDeRainbow(clip, cthresh=13, ythresh=13, y=True, linkUV=True, mask=False) clip = core.dotkill.DotKillT(clip, offset=3, dupthresh=45, tratio=7) clip = core.vivtc.VFM(clip, 1) clip = core.dotkill.DotKillS(clip, iterations=4) clip = core.vivtc.VDecimate(clip)
-
hmm,...
that does cause ghosting here.Code:clip = core.dotkill.DotKillT(clip, offset=3, dupthresh=45, tratio=7)

Did you try:
befofe the IVTC, like I suggested? That work better here than what you suggested.Code:clip = core.std.SeparateFields(clip, tff=False) # resolution 1440x540 clipEven = clip[::2] clipOdd = clip[1::2] clipOdd = core.std.SetFrameProps(clip=clipOdd, _FieldBased=vs.FIELD_PROGRESSIVE) # scan type: progressive # removing grain using TemporalDegrain2 clipEven = degrain.TemporalDegrain2(clipEven, degrainTR=3, degrainPlane=4, postFFT=0, fftThreads=1) # removing grain using TemporalDegrain2 clipOdd = degrain.TemporalDegrain2(clipOdd, degrainTR=3, degrainPlane=4, postFFT=0, fftThreads=1) # converting half-height progressive to interlaced clip = core.std.Interleave([clipEven, clipOdd]) clip = core.std.DoubleWeave(clip=clip, tff=False) # resolution: 1440x1080 clip = core.std.SelectEvery(clip, 2, 0) # scan type: bottom field first
users currently on my ignore list: deadrats, Stears555, marcorocchini -
I've no idea if there's a Vapoursynth equivalent, but there's a function by realfinder for Avisynth called SRFComb() that seems to clean up most of it if you downscale first. I also had to use blend de-interlacing for TFM because the default method produced really bad aliasing on some frames. It ended up needing sharpening, but I don't know if it's worth resizing back up to 1080p as the source doesn't have anywhere near 1080p worth of resolution. I'd probably just resize to 720p.
Code:TFM(pp=5, MI=70) TDecimate(mode=1) CropResize(720,480, 192,12,-192,-12, InSAR=4.0/3.0, OutDAR=4.0/3.0, Resizer="Bilinear") SRFComb() LSFMod() FastLineDarkenMod4(thinning=0) Spline36Resize(960,720) MergeChroma(last.AwarpSharp(depth=5), last.AwarpSharp(depth=20)) FastLineDarkenMod4(thinning=0) MCAA() FineDehalo() Prefetch(12)
[Attachment 94356 - Click to enlarge]Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview) -
nice, cropping and descaling looks fine
users currently on my ignore list: deadrats, Stears555, marcorocchini -
Are you applying DotKillT directly to the source .ts file or have you already done deinterlacing or frame cropping before?
-
bastianfenn,
If that question was directed at me, the script I posted was everything. Aside from the source filter, DGMPGDec (DGIndex/DGDecode).
Mpeg2Source("D:\sample.d2v")
TFM's field matching and/or deinterlacing had to be done before the downscaling, and there didn't seem to be any benefit to applying SRFComb before TDecimate removed duplicate frames, but I didn't spend a huge amount of time experimenting.
I used CropResize (see my signature) to apply the cropping I thought was needed while specifying the original sample aspect ratio so it'd resize correctly, and OutDAR=4.0/3.0 ensured the function would apply any additional cropping needed to crop the source to exactly 4:3 (regardless of the output dimensions). It was just so I could easily crop and experiment with different downscaling resolutions while the dimensions for upscaling would always remain 4:3.
The SRFComb() function seemed to work the best out of the ones I tried, although none of them worked very well at the original resolution and I didn't play with any of SRFComb's options to see if it could do better. The rest of the script was just an attempt to make it look acceptable while upscaling.
Many of realfinder's functions also require his shared functions script to work. I'm not sure if SRFComb is one of them, but just in case...Last edited by hello_hello; 16th Nov 2026 at 03:00.
Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview) -
side note: I ported SRFComb a while ago to Vapoursynth, it's linked in the SRFComb thread over at doom9s, so you can use it in Vapoursynth.
users currently on my ignore list: deadrats, Stears555, marcorocchini -
-
That's really good, I do see some leftover dot crawl and rainbowing from close edges.Originally Posted by hello_hello;2806689[CODE
You can scratch this part from the codeI'm only focusing on removing the heavy dot crawl and rainbowing.Code:LSFMod() FastLineDarkenMod4(thinning=0) Spline36Resize(960,720) MergeChroma(last.AwarpSharp(depth=5), last.AwarpSharp(depth=20)) FastLineDarkenMod4(thinning=0) MCAA() FineDehalo()
I can do everything else myself.
Similar Threads
-
How do i get rid of this DVD dot crawl noise?
By Master Tape in forum RestorationReplies: 3Last Post: 20th Aug 2025, 17:22 -
VHS dot crawl with RGB and S-Video
By Hajker in forum RestorationReplies: 44Last Post: 8th Oct 2023, 09:48 -
ASTDRmc for Dot Crawl?
By colonel0812 in forum RestorationReplies: 3Last Post: 6th Sep 2023, 22:00 -
Help with possible Dot crawl & rainbowing during capture
By HansensUniverse in forum Newbie / General discussionsReplies: 19Last Post: 11th Feb 2022, 03:19 -
Quick Dot Crawl /Antialiasing Avisynth Question
By Vaengence in forum Video ConversionReplies: 6Last Post: 15th Dec 2021, 22:26



Quote