Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!

Blender Denoising addon

Kategoria: Other tools
Opublikowano: czwartek, 21, lipiec 2016
Stefan Wyszyński

I have made a simple addon for Blender which makes animation quality better by using denoising scripts in AviSynth.


Blender denoising script addon


I have written an addon for blender in python recently. This addon can generate script for avisynth to denoise animation.


How do I get set up?

  • Restrictions

Current version restrictions:

  1. animation frame must have width and height divided by 2 - for an example 2, 4, 6, 8 and so on (another example ok resolution will be 1280x720, but neither 1279x720 nor 1280x719)

  2. the plugin may not work on Linux or other systems than windows (I have only tried on windows)

  3. rendering output have to be one of the following: "AVI_RAW" (this is preferred option), "FFmpeg video" - AVI container with codec H.264 and lossless quality (I haven't tried to use other quality options), * PNG (require an FFMPEG installed, but all frames will be connected to AVI file and then it will be processed as input for denoising,

  • Configuration
  • install blender addon

  • install Avisynth

add paths to system environment path:

for example




  • install Avisynth plugins and copy to Avisynth\plugins dir

  • install VirtualDub (used by script to convert video if you want to)

add path to system environment path:

for example C:\VirtualDub-1.10.4

  • install Microsoft Visual C++ 2010 SP1 Redistributable Package (x86). Needed for some plugins

ADITIONAL SOFTWARE HELPFULL BUT NOT REALLY NEEDED (addon will work without it, but it won't be fully functional)

  • install avsPmod (used by script to display video preview end edit script)

for example C:\AvsPmod_v2.5.1\AvsPmod\ C:\AvsPmod_v2.5.1\AvsPmod\tools

  • install FFmpeg (used by the script to automatically convert input video to output - if you want to)

for example C:\ffmpeg-3.2.2-win32\bin

  • install k-lite codecs pack (helpfull codecs needed for many things )

If you won't download avsPmod you can't generate movies by it, same as FFmpeg. But you can use VirtualDub which was recommended for downloading. K-lite codecs pack will be useful if I extend plugin functionality to use another kind of input than AVI_RAW

PLUGINS USED BY SCRIPT (you don't have to download it. This is only for information purposes)

MvTools plugins for AviSynth

SmartSmootherHQ plugin for AviSynth

The script is inspired by film restoration script by videoFreed so it uses this:

if you still can't run denoising script then you could additionally download


and you don't have to install this but just open this exe as a zip archive and copy AviSynth plugins from it to Avisynth\plugins folder

  • How to use

How to use it in the blender:

First of all, you have to generate AVI_RAW animation (no PNG etc for now) - this is current restriction

then you can change some denoising setting and click generate a script

The script will be generated with a name as the avi animation file and extension .avs

there is a combo box "Run script with" with option how the script will be run.

So you can generate the script and: - open it with VirtualDub (to make/preview a final movie), - open it with avsPmod and edit/preview changes, - generate final raw avi movie from input by using FFmpeg, - generate final raw avi movie from input by using avs2avi

Finally. There are two methods (known by me) for a good denoising,

first one: render 8 samples (or more if you want to) with compositor filtering node setup (I have given a blender setup scene in dropbox folder - download if you want), and then use denoising script

this method is a base but there will be more blurry result than if you use the second method.

the second one method of denoising: download Lucas denoising build. Render 8 sample (or more) animation with his denoising method and then denoise with script (addon)

To get the best denoising result in animation you could use modified blender version with LWR denoiser from lukasstockner97 as a base for denoising script