The best Avisynth filters

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Re: The best Avisynth filters

Postby Mysterious Pharaoh » Fri Jan 29, 2010 6:21 pm

mirkosp wrote:gradfun2dbmod requires other plugins. I have some links in this post, you should already have the other two, I think.


I've seen that topic already, i put the AddGrainC.dll and GradFun2DBmod.v1.5.avsi in avisynth plugin's folder but when i type GradFun2DBmod() in avisynth it doesn't work. Did i forget to do something?
Mysterious Pharaoh
 
Joined: 05 Aug 2008

Re: The best Avisynth filters

Postby Kariudo » Fri Jan 29, 2010 6:36 pm

what's the text of the error message?
If you're missing a required plugin, the error should give us a pretty good hint at what you need
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Re: The best Avisynth filters

Postby Mysterious Pharaoh » Sat Jan 30, 2010 1:53 pm

Kariudo wrote:what's the text of the error message?
If you're missing a required plugin, the error should give us a pretty good hint at what you need


When i write 'GradFun2DBmod()' it says: Please ConvertToYV12 before using GradFun2DBmod(), and when i write ConvertToYV12() it says: Image width must be even use Crop, how can i make it even without effecting on the image's size? I could make the width even but the image turned smaller and wasn't clear and it says: There is no function named 'addgrainC' but i put the addgrainc.dll in the plugins folder. So what can i do?
Mysterious Pharaoh
 
Joined: 05 Aug 2008

Re: The best Avisynth filters

Postby mirkosp » Sat Jan 30, 2010 1:56 pm

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")
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: The best Avisynth filters

Postby Mysterious Pharaoh » Thu Feb 04, 2010 7:25 am

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.
Mysterious Pharaoh
 
Joined: 05 Aug 2008

Re: The best Avisynth filters

Postby mirkosp » Thu Feb 04, 2010 7:35 am

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).
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: The best Avisynth filters

Postby Mysterious Pharaoh » Sat Feb 06, 2010 11:15 am

mirkosp wrote: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).


The fft3dgpu filter worked but another filter didn't work, it is awarpsharp2. I put the awarpsharp.dll in avisynth plugins but even when i write awarpsharp() it says there is no function named awarpsharp, i also tried inserting that plugin:
Code: Select all
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\aWarpSharp.dll")

But didn't work too, what do you think i can do? And is there a difference between awarpsharp2 and awarpsharp?
Mysterious Pharaoh
 
Joined: 05 Aug 2008

Re: The best Avisynth filters

Postby mirkosp » Sat Feb 06, 2010 12:39 pm

awarpsharp2 is a new and improved version over the old awarpsharp. You can get it here.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: The best Avisynth filters

Postby Mysterious Pharaoh » Sat Feb 06, 2010 2:19 pm

mirkosp wrote:awarpsharp2 is a new and improved version over the old awarpsharp. You can get it here.


Ok, thank you very very much, the picture is now much better than before, but after i added the filters i feel it isn't the same as you've done, that's what i got:

Image

Is it fine?
Mysterious Pharaoh
 
Joined: 05 Aug 2008

Re: The best Avisynth filters

Postby mirkosp » Sat Feb 06, 2010 2:59 pm

That's a jpg so I don't know if the few artifacts I see are due to the lossy compression or not. :(
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: The best Avisynth filters

Postby Mysterious Pharaoh » Sun Feb 07, 2010 3:01 pm

mirkosp wrote:That's a jpg so I don't know if the few artifacts I see are due to the lossy compression or not. :(


I'm sorry, here is the png:

Image
Mysterious Pharaoh
 
Joined: 05 Aug 2008

Re: The best Avisynth filters

Postby mirkosp » Sun Feb 07, 2010 3:22 pm

Oh well, looks like they all were actual artifacts and not due to compression. I guess you could increase the strength to 4.5 or 5 if you wish, but if it ends up looking to washed out, then just keep it as is, the artifacts are likely going to be mostly unnoticeable once the thing is in motion, I think.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: The best Avisynth filters

Postby Mysterious Pharaoh » Mon Feb 08, 2010 3:38 pm

mirkosp wrote:Oh well, looks like they all were actual artifacts and not due to compression. I guess you could increase the strength to 4.5 or 5 if you wish, but if it ends up looking to washed out, then just keep it as is, the artifacts are likely going to be mostly unnoticeable once the thing is in motion, I think.


Ok, Thank you very very very much for helping me fixing this picture.

And thanks for eveyone else who replied on this topic :)
Mysterious Pharaoh
 
Joined: 05 Aug 2008

Previous

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 0 guests