VideoHelp.com Forum
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. Member
    Join Date: Nov 2009
    Location: United States
    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?
    Quote Quote  

  2. Member
    Join Date: Aug 2008
    Location: The Moon
    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)?
    Quote Quote  

  3. Member
    Join Date: Aug 2008
    Location: The Moon
    Also are you using "bw" and "bh", or bw and bh (without quotes, as it should be)?
    Quote Quote  

  4. Member
    Join Date: Nov 2009
    Location: United States
    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
    Quote Quote  

  5. Member
    Join Date: Sep 2007
    Location: Canada
    post your script
    Quote Quote  

  6. Member
    Join Date: Nov 2009
    Location: United States
    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)
    you mean that?
    Quote Quote  

  7. Member
    Join Date: Sep 2007
    Location: Canada
    Try using the default settings:

    FFT3DFilter()


    And where is the rest of the script? Do you make any other calls to other functions?
    Quote Quote  

  8. Member
    Join Date: Nov 2009
    Location: United States
    just LRemoveDust_YV12 and Deblock
    Quote Quote  

  9. Member
    Join Date: Aug 2008
    Location: The Moon
    Originally Posted by poisondeathray
    Try using the default settings:

    FFT3DFilter()
    Yes - all your parameters are defaults so is equivalent to FFT3DFilter()!

    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!
    Quote Quote  

  10. Member AlanHK's Avatar
    Join Date: Apr 2006
    Location: Hong Kong
    Originally Posted by ZQX
    Originally Posted by poisondeathray
    Try using the default settings:

    FFT3DFilter()
    Yes - all your parameters are defaults so is equivalent to FFT3DFilter()!

    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().!
    Actually, they can be expressions, (you could have 16/3) but the problem is that "bw" is not a script variable, but a named function parameter. Avisynth tries to evaluate it before passing it to FFT3DFilter, but cannot.
    But as ZQX's link explains, the 1/3 ratio is the default, so you can just omit them from the call.
    Quote Quote  

  11. Member
    Join Date: Jul 2009
    Location: Spain
    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.
    Quote Quote  

Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools