Mysterious Pharaoh wrote:mirkosp wrote:Well, you do need an even width and height to have a yv12 colorspace (I cropped and resized the images too, if you notice - I thought your input was 720x480 though, which is why I didn't put my crop and resize lines).
As for the missing function error, try to load it manually at the beginning of the script:
- Code: Select all
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\AddGrainC.dll")
Ok thank you, all filters worked with me except one it is: fft3dgpu, when i write 'fft3dgpu(bw=216, bh=216, ow=108, oh=108, plane=0, bt=1, sigma=strength/8, sigma2=strength/4, sigma3=strength/2, sigma4=strength/8, sharpen=0.3)' it says 'I don't know what strength means', and when i write ff3dgpu() it stops responding. Is it because of my computer? or there is a missing plugin? though i installed fft3dgpu0.8.2.
If you specified strength = 4 before calling fft3dgpu you shouldn't have any issue. That said, if just calling fft3dgpu makes your pc hang, it might mean that it's not strong enough to handle it, in which case you might want to resort to fft3dfilter instead. You'll need to install it manually though. First you'll need to put the FFTW3.DLL inside
this zip into your system32 folder (likely C:\Windows\system32), then you can put the actual plugin (the fft3dfilter.dll inside
this zip) into your plugins folder of avisynth.
After that you can just change your avisynth script to
- Code: Select all
strength = 4
fft3dfilter(bw=6, bh=6, ow=3, oh=3, plane=0, bt=1, sigma=strength, sharpen=0.3)
fft3dfilter(bw=216, bh=216, ow=108, oh=108, plane=0, bt=1, sigma=strength/8, sigma2=strength/4, sigma3=strength/2, sigma4=strength/8, sharpen=0.3)
maa
awarpsharp2(depth=6)
mergechroma(deen)
lsfmod(strength=200)
gradfun2dbmod(temp=100)
and see if it helps. In either case, both fft3dgpu and fft3dfilter are rather slow, and in this script it's a two stages fft3d denoising (output is better than just calling it alone since it prevents ringing, as the
denoisers comparison page in the avisynth wiki points out).