Hello all.
So I'm looking to speed up my encodes by using a 64 bit de-grain plugin. I currently use SMDegrain but that (to my knowledge) is only available as a 32 bit version.
I use it only for live action films and if possible I'm looking for something that doesn't have any side effects/artifacting.
I've heard RemoveGrainHD has a 64 bit version but not sure how to use it as I am not an advanced user at all. If anyone has used this one before could you please share your thoughts and maybe an example script of how to use it?
+ Reply to Thread
Results 1 to 16 of 16
-
Last edited by WAusJackBauer; 2nd Aug 2021 at 01:54.
-
SMDegrain works with 64 bit AviSynth. There's also TemporalDegrain(), TemporalDegrain2, MCTemporalDenoise, hqdn3d, fft3dfilter, TNLMeans, KNLMeansCL, etc.
http://avisynth.nl/index.php/External_filters#Denoisers
There's no such thing as a noise reduction filter that doesn't have side effects/artifacting.Last edited by jagabo; 2nd Aug 2021 at 08:19.
-
Last edited by WAusJackBauer; 3rd Aug 2021 at 00:41.
-
Isn't SMDegrain just a script? A script is neither 32 or 64 bit, but works as-is in both environments
as long as you have all the invoked functions in the correct bitness -
SMDegrain (AviSynth Wiki)
real.finder's Avisynth Stuff (doom9 forum) incl. current SMDegrain and NotSMDegrain AVSI sources
...
More important sites for AviSynth+ 64-bit plugins:
AviSynth+ x64 plugins (AviSynth Wiki)
Avisynth+ plugin modernization efforts (doom9 forum) -
Don't expect massive speed improvements from SMDegrain unless you're running out of memory or are using some other slow filter that benefits from 64 bits. At the SMDegrain default settings with a 720x576 video and 12 threads (AviSource, SMDegrain, prefetch 12) I get about 110 fps with 32 bit AviSynth, 120 fps with 64 bit AviSynth.
-
My CPU usage with encodes that use SMDegrain are about 80% while encodes without it are 99%
Last edited by WAusJackBauer; 5th Aug 2021 at 10:04.
-
That means one piece in your encoding chain needs to wait for a previous one. No surprise if you have a complex filter which takes its time to calculate. Did you parallelize it at all?
-
My encodes are very simple. I don't know what you mean by parallelize.
Code:LWLibavVideoSource("D:\Creed 2\Creed II_F1_T2_Video - .mkv") SMDegrain(tr=3, thSAD=400, RefineMotion=True, contrasharp=True, interlaced=False, plane=4, prefilter=0, chroma=True, lsb=False, lsb_in=False, lsb_out=False, Show=False)
-
Your encoder will most probably use all of your CPU cores in parallel. But if you don't care about running your AviSynth script with the filtering on several cores too (as jagabo explained), your encoder has to wait for the filtering in AviSynth being calculated on only one CPU core.
-
-
Add it to your script as last line. So hard to understand?
Example with N=4:
Code:LWLibavVideoSource("D:\Creed 2\Creed II_F1_T2_Video - .mkv") SMDegrain(tr=3, thSAD=400, RefineMotion=True, contrasharp=True, interlaced=False, plane=4, prefilter=0, chroma=True, lsb=False, lsb_in=False, lsb_out=False, Show=False) Prefetch(4)
-
-
Last edited by jagabo; 9th Aug 2021 at 07:38.
Similar Threads
-
TV Episode Denoise or Degrain
By Siluvian in forum Newbie / General discussionsReplies: 10Last Post: 9th Aug 2020, 16:44 -
AviSynth+ 3.5.1 Plugin issue
By esterbarn in forum Video ConversionReplies: 2Last Post: 27th Apr 2020, 04:54 -
How to install the nnedi3 plugin into Virtualdub2 and Avisynth?
By Guernsey in forum Newbie / General discussionsReplies: 7Last Post: 25th Apr 2020, 04:27 -
Median() plugin for Avisynth
By ajk in forum RestorationReplies: 74Last Post: 17th Mar 2020, 13:53 -
Avisynth 64 Bit + LSMASHVideo 64 Bit
By kalemvar1 in forum Video ConversionReplies: 4Last Post: 12th Dec 2018, 03:49