whenever i try to encode with fft3dfilter the following appears
"i dont know what "bw" means", and when i get rid of "bw" it says
"i dont know what "bh" means"
can someone help me?
+ Reply to Thread
Results 1 to 11 of 11
-
-
How did you get rid of the "bw" error, as you say? What is your script? Do you have the fftw3.dll in your system path (as required for fft3dfilter)?
-
Also are you using "bw" and "bh", or bw and bh (without quotes, as it should be)?
-
when i said i got rid of it, i just removed "bw" everywhere it appeared on the script, bw and bh dont have quote in the script
and yes i have fft3w.dll in my system folder -
Code:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\fft3dfilter211\FFT3DFilter.dll") FFT3DFilter(sigma=2.0, beta=1.0, plane=0, bw=48, bh=48, bt=3, ow=bw/3, oh=bh/3, kratio=2.0, sharpen=0.0, scutoff=0.3, svr=1.0, smin=4.0, smax=20.0, measure=true, interlaced=false, wintype=0, pframe=0, px=0, py=0, pshow=false, pcutoff=0.1, pfactor=0, sigma2=sigma, sigma3=sigma, sigma4=sigma, degrid=1.00, dehalo=0, hr=2.00, ht=50.00, ncpu=1)
-
Try using the default settings:
FFT3DFilter()
And where is the rest of the script? Do you make any other calls to other functions? -
Originally Posted by poisondeathray
I think your problem is with the "ow=bw/3, oh=bh/3" bit. "ow" and "oh" should be integers, not expressions. "Divisible by 3" is the default parameter anyway, so again, just use FFT3DFilter().
Have a good read here! -
Originally Posted by ZQX
But as ZQX's link explains, the 1/3 ratio is the default, so you can just omit them from the call. -
The same problem also occurs in the original call with the parameters
sigma2=sigma, sigma3=sigma, sigma4=sigma
where sigma would be unrecognised (like bw and bh).
The confusion comes from misinterpreting the documentation. Where it says, for example, that the default value of ow is bw/3, this means that if you don't provide a value for ow, its value will be one third of the (supplied or defaulted) bw parameter. However, you cannot literally write "bw/3" as the value, since bw does not exist as a variable in the script.
As has already been pointed out, all the values used correspond to the defaults anyway, so a simple FFT3DFilter() will suffice here.