Hi,
I have been having some issues with TemporalDegrain2 in all of my projects. In fade-ins and fade-outs, there are a lot of artifacts. I have not been able to find another filter that eliminates blocking and noise from DVDs as well as TD2, so I hope this problem can be fixed.
I tried changing every setting without luck. Changing ppSAD1 and ppSAD2 reduces the issue, but it also reduces the noise and artifact reduction.
Here are some examples from an anime fade-in (filtered and unfiltered). As you can see on the hair, there are weird artifacts similar to thick lines:
[Attachment 92782 - Click to enlarge]
[Attachment 92785 - Click to enlarge]
[Attachment 92783 - Click to enlarge]
[Attachment 92786 - Click to enlarge]
[Attachment 92784 - Click to enlarge]
[Attachment 92787 - Click to enlarge]
+ Reply to Thread
Results 1 to 9 of 9
-
Last edited by Lololobolosse; 20th Jun 2026 at 13:20.
-
What settings for TD2 are you using?
Have you tried KNLMeansCL with distance 0 and a higher thand default strength as alternative (or SMDegrain)?
Got a short unprocessed sample which can be used to reproduce the issue?users currently on my ignore list: deadrats, Stears555, marcorocchini -
For TD2, I used: TemporalDegrain2(degrainTR=1) or TemporalDegrain2(degrainTR=2, grainLevel=1, postFFT=1, DCT=0, ppSAD1=5.0, ppSAD2=3.0) that would reduce the artifacts.
I get those line artifacts I described during fade-ins, fade-outs, and on frames that suddenly get darker (anime with bad film transfers, etc.) in AviSynth. Because of this, I don't know if it's my setup or something else causing it.
I will try KNLMeansCL; with SMDegrain, I did not get results as good as with TD2.
Here is the unprocessed outro of the episode: https://drive.google.com/file/d/1eWBcnNOkx2d8y8AmcmOhllcUpJfCZilN/view?usp=sharing -
Try something like:
I just noticed SMDegrain removed much of the rain. You'll need to go with lighter settings.Code:LWLibavVideoSource("outro.mkv") TFM() vInverse() # remove residual combing during fades TDecimate() SMDegrain() # play with the setting to get the noise reduction you want -
Hmm,... the problem is someone combined progressive an interlaced content.
Deinterlacing or field matching will cause issues with the text (which like the background is progressive) not deinterlacing / field matching will keep combing in the interlaced parts.
Maybe adding some masking would be a better approach,...
Hmmm,.. those 'machine learning' deinterlacers might work fine one something like this,....
just throwing stuff together on a whim:
I used bob deinterlacing and didn't bother to lower the frame rate and count afterward or doing any denoising aside from vinverse. (just wanted to see whether the deinterlacing was a good idea)
script: https://pastebin.com/928rW1LM
clip: https://www.mediafire.com/file/5arsinzmiyhtm5r/QTGMC%252BDDD.mp4/file
Cu Selurusers currently on my ignore list: deadrats, Stears555, marcorocchini -
I get okay results with KNLMeansCL or SMDegrain but the only filter i use that also eliminates heavy blocking and mosquito noise is TemporalDegrain2, in the opening there is more noise and blocking etc i cant eliminate with KNLMeansCL or SMDegrain around frame number 940 or 1267 by example (frame number after TFM and TDecimate), that i can eliminate with TD2 and degrainTR=2.
here is the opening remux : https://drive.google.com/file/d/1pHV5Eww3yLCqqQOlColfdCDHAZpwlShr/view?usp=sharing
would anyone have some advice on maybe, some filters for heavy mosquito noise or blocking or a way to fix all the artifacts of TD2 ? -
i was able to get quite good results with TemporalDegrain2(degrainTR=2, grainLevel=1, postFFT=0, DCT=0, meTM=true, ppSAD1=4.5, ppSAD2=3.0, ppSCD1=3.5, thSCD2=110) but those settings could maybe be tweaked to get even better results on noise removal without the artifacts in fades
-
for such simple cartoons, I like using BasicVSR++ for denoising&co: https://www.mediafire.com/file/cysq9re2g3365tc/basicvsr%252B%252B_intro.mp4/file
users currently on my ignore list: deadrats, Stears555, marcorocchini -
Similar Threads
-
How to remove DotCrawl and Rainbow artifacts from an Anime DVD
By themon-master in forum RestorationReplies: 7Last Post: 19th Feb 2026, 07:37 -
avisynth errors using TemporalDegrain2 & AudioDub(v,a) from VirtualDub2
By cholla in forum Video ConversionReplies: 97Last Post: 15th Sep 2024, 00:28 -
TemporalDegrain2 - so slow?
By rgr in forum RestorationReplies: 13Last Post: 15th Apr 2024, 11:30 -
I need help with the TemporalDegrain2 filter script error
By Marcio.ciconne in forum RestorationReplies: 4Last Post: 21st Sep 2023, 17:05 -
Degrain HDR - TemporalDegrain2 not working?
By Cuissedemouche in forum Video ConversionReplies: 8Last Post: 10th Dec 2021, 11:43



Quote