VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Member
    Join Date
    Nov 2010
    Location
    Amsterdam
    Search PM
    Script error: there is no function named "limitedsharpen" (video.avs, line 7)

    Im trying to convert this script with virtualdub

    and i get that error message. Can u tell me why?

    heres my avs file

    Code:
    AviSource("video.avi")
    LimitedSharpen( ss_x=1.5,   ss_y=1.5,     dest_x=last.width, dest_y=last.height, 
     \              Smode=3,    strength=100, radius=2,
     \              Lmode=1,    wide=false,   overshoot=1,
     \              soft=false, edgemode=0,   special=false,
     \              exborder=0 )
    Last edited by Pitorasilo; 26th Dec 2010 at 19:28.
    Quote Quote  
  2. Do you have the function in your plugins directory? It's an external function (not built in to AviSynth), so you have to have downloaded the AVS to the plugins directory. It has a number of dependencies (other needed DLLs) you have to have also. And there are better variations of it you might want to use instead:

    http://avisynth.org/mediawiki/LimitedSharpen
    Quote Quote  
  3. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Note also that if you want the function to be automatically loaded from your plugins folder, you will have to rename it with a .avsi suffix.

    To load it explicitly, use Import("filename")
    Quote Quote  
  4. Right, thanks!. I have a bunch of functions in the plugins directory but don't load LimitedSharpenFaster in my scripts, and checking I see I had renamed it as .avsi. For many of the others with the .avs extension I use 'Import', as you explained.
    Quote Quote  
  5. Member
    Join Date
    Nov 2010
    Location
    Amsterdam
    Search PM
    Thx for the help but now i get this weird error when opening in avisynth, see picture. any help with solving that
    Name:  error.jpg
Views: 2101
Size:  20.1 KB
    Quote Quote  
  6. Well, what's line 2 in the script? If it's the LimitedSharpen line, does just:

    LimitedSharpen()

    work?
    Quote Quote  
  7. Member
    Join Date
    Nov 2010
    Location
    Amsterdam
    Search PM
    now i get the same error as before that there is no function named limitedsharpen
    Quote Quote  
  8. Then try importing the function, something like:

    Import("C:\Path\To\LimitedSharpen.avs")#or .avsi

    Adapt for your path and make that the first line in your script.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!