Log in

View Full Version : SMDegrain - BM3D


Atlantis
29th April 2024, 14:32
As per manual it seems that prefilter BM3D is the best.

prefilter
8 = BM3D (temporal BM3D Cuda GPU filter)*
*Watch out for OpenCL or CUDA version compatibilities with your GPU vendor

I get
Script error: There is no function named 'BM3D_CUDA'.

So how can I make this work?

CPU : 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
GPU : NVIDIA GeForce RTX 3070

DTL
29th April 2024, 14:46
You need to load library with BM3D_CUDA filter name version in the AVS environment before calling it.

Download .dll http://avisynth.nl/index.php/BM3DCUDA and try to load it with LoadPlugin() before call SMDegrain. Or try to put in the auto-load path of AVS+.

As I see https://github.com/Dogway/Avisynth-Scripts/blob/master/SMDegrain/SMDegrain.avsi SMDegrain do not loads required plugins and expect they are loaded manually or auto-loaded before script function call.

See example of SMDegrain call with manual loading of required plugins - https://forum.doom9.org/showthread.php?p=2001092#post2001092

tormento
1st May 2024, 14:28
As per manual it seems that prefilter BM3D is the best.
Give a try to prefilter=7 too.

The new DGDenoise is way better than the old one and you can even invoke directly within DGSource() call, such as

DGSource("yoursource.dgi",dn_enable=3,dn_strength=0.10,dn_cstrength=0.10,dn_quality="best")

making it work entirely in GPU and becoming blazingly fast.