VideoHelp Forum




+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 38
  1. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    Please help. I have been trying to load a *.avs or *.avsi scripts into AVISynth using AvspMOD but each time the program does not recognize my script. This has been going on for months.

    The *.avs/*.avsi script is in the Plugin folder of AVISynth. All the necessary *.dll files are there too.
    I do not have problems loading *.dll files only scripts using downloaded filters.
    I make sure all the necessary *.dll files for the filters are present but I still get recognition errors.
    I use the command lines:
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\QTGMC.avsi")
    AVISource("C\:SourceFile.avi")
    QTGMC(Arguments) # specifying the arguments for QTGMC
    But I always get the error message:

    "LoadPlugin unable to load "C:\Program Files (x86)\AviSynth 2.5\plugins\QTGMC.avsi"
    (New File (1), line1)

    I have the same trouble with MCTemporalDenoiser and other scripts.
    I would appreciate any help. I have the same problem with VirtualDubMod.
    Quote Quote  
  2. Import("C:\Program Files (x86)\AviSynth 2.5\plugins\QTGMC.avsi")

    If it's an AVSI it should load automatically, without you needing to explicitly load it. But it doesn't hurt to load it in the script. Oh, maybe I do remember something about having to import QTGMC, and not doing it automatically. Can't remember.
    Quote Quote  
  3. @manono: both auto loading and explicit loading of QTGMC works fine here.
    ---

    btw.:
    AVISource("C\:SourceFile.avi")
    iirc QTGMC needs YV12 so you might need to add a ConvertToYv12(interlaced=true) before the QTMGC call.
    Quote Quote  
  4. Just to clarify what manono said:

    for .avsi or .avs files you use Import()
    for most .dll's you use LoadPlugin()


    .avsi files in the plugins folder should autoload (no need to use Import() unless it's organized such that you keep them in different folders)

    most .dll 's in the plugins folder will autoload as well (no need to use LoadPlugin() , unless you prefer to do it that way)
    Quote Quote  
  5. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    And I think it should be noted: avs and avsi are not plugins. They're scripts.
    Last edited by sanlyn; 25th Mar 2014 at 02:51.
    Quote Quote  
  6. Originally Posted by Selur View Post
    @manono: both auto loading and explicit loading of QTGMC works fine here.
    Thank you, Selur. I wasn't at my encoding computer when I wrote that. Today I checked docs and remembered it's my other most favorite filter, SRestore, which recommends using 'Import' to get it into the script. I was mistaken and thanks for the correction.
    Quote Quote  
  7. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    Thanks for your help.
    I have managed to import QTGMC using the line:
    Import("C:\Program Files (x86)\AviSynth 2.5\plugins\QTGMC.avs")
    AVISource("C:\SourceFile.avi")
    ConvertToYV12()

    So far no crash

    But when I add:
    QTGMC(Preset="Very Fast")

    I get:
    Script error: There is no function named RemoveGrain"
    C:\Program Files (x86)\AviSynth\2.5\Plugins\QTGMC.avs, line393)

    I checked and there is in the plugins RemoveGrainSSE2.dll.
    I also cannot get AVSI Script autoloads to work.

    I read somewhere that I must put in a DLL file into Windows System or Windows System32 or even WOW64.
    I am not using the 64 bit versions of AVISynth and 64 bit versions of the filters - only the 32-bit versions.

    Thanks
    Quote Quote  
  8. Originally Posted by Sartorius48 View Post
    I checked and there is in the plugins RemoveGrainSSE2.dll.
    What happens when you add a LoadPlugin line in the script for it? Same error message? Also, there are at least a couple of versions of RemoveGrain and you'll have to have the right one for the job. Did you get it from the QTGMC package here:

    http://forum.doom9.org/showthread.php?t=156028

    Also, as it says in the 'Plugin Notes' in that first post of the thread:

    If you get this error: "There is no function named RemoveGrain" then replace your RemoveGrainSSE2.dll with the version in this zip file
    I read somewhere that I must put in a DLL file into Windows System or Windows System32 or even WOW64.
    That's true for some filters, but not for RemoveGrain (I don't think).

    ConvertToYV12()
    If this is some downloaded XviD or DivX AVI, you won't need that line as it's already in YV12. Whenever you're in doubt as to the colorspace you're in, add 'Info' to your script at the place you're wondering and then open the script in VDub. In fact, one wonders why use QTGMC at all. Is your AVI an interlaced DV AVI or some such?
    Quote Quote  
  9. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    I used this script:

    Import("C:\Program Files (x86)\AviSynth 2.5\plugins\QTGMC.avs")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrainSSE2.dll")

    AVISource("C:\Source.avi")
    ConvertToYV12()

    and it did not crash

    I am using an interlaced VHS video supplied by a relative to clean up for Christmas.

    I would like to find a "Generic" script that I could use to tweak with individual videos.
    I am familiar with VirtualDub, MEGUI, and RipBot264.
    I am not so good with MPEG Frameserver although I have SonyVegas Pro 10

    I am making progress with AviSynth and AVSPMod and appreciate all tour help - Thanks
    Quote Quote  
  10. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    Import("C:\Program Files (x86)\AviSynth 2.5\plugins\QTGMC.avs")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrainSSE2.dll")

    AVISource("D:\ROSIE'S MOVIES\Mish singing 1.avi")
    ConvertToYV12()
    QTGMC()
    Image Attached Thumbnails Click image for larger version

Name:	Error.jpg
Views:	2965
Size:	30.8 KB
ID:	15336  

    Quote Quote  
  11. you need masktools
    http://avisynth.org/mediawiki/MaskTools2

    it should be included in the QTGMC plugin bundle

    selur already suggested it, I'll repeat it: ConvertToYV12(interlaced=true) , otherwise you will get progressive sampling and artifacts if the source is RGB
    Quote Quote  
  12. no function named "mt_makediff"
    +
    All the necessary *.dll files are there too.
    -> read http://forum.doom9.org/showthread.php?t=156028 and the instructions and use the necessary dlls
    Quote Quote  
  13. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    Thank you for your help. I think I am running into trouble trying to install the filters.
    Here is what I do.
    1) I download the ZIP file
    2) I extract the ZIP wile.
    3) Not sure of the next step. - Do I move the whole lot into the AVISynth\Plugins File? Or do I need to do further extracting and movement.

    PS I am getting some success with SeeSaw. Thanks
    Quote Quote  
  14. to be sure simple use the LoadPlugin(...) option to load the plugin (.dll) manually in your script. Scripts (.avs / .avsi) can be loaded through Import(...).
    see: http://avisynth.org/mediawiki/Plugins and http://avisynth.org/mediawiki/Import
    Quote Quote  
  15. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    Using RSVPMOD to write scripts:
    QTGMC is not recognised - I have loaded MaskTools into AVISynth Plugins.

    LoadPlugin("C:\Users\Iain\Downloads\MeGUI_2153_x86 \tools\ffms\ffms2.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\FluxSmooth.dll")
    FFVideoSource("C:\SOURCE.avi", threads=1)
    ConvertToYV12(interlaced=true)
    QTGMC()

    SeeSaw is working but not QTGMC -
    Image Attached Thumbnails Click image for larger version

Name:	error 2.jpg
Views:	3602
Size:	8.3 KB
ID:	15389  

    Quote Quote  
  16. you didn't import QTGMC,...
    Quote Quote  
  17. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    I have QTGMC Working at last! Thanks. However my ambition is to get MCTemporalDenoise to work.
    I use AVSPMod to write the scripts and I have downloaded MCTemporalDenoise from
    https://forum.videohelp.com/attachments/3871-1287324340/MCTemporalDenoise%20v1.4.20.7z
    I have the stored all the necessary files in to Plugins folder. and carefully loaded all of the DLL files and scripts for MCTDenoise.
    However AVSPMod comes up with the same error that "MCTemporalDenoise cannot be loaded" . I wonder is there a step-by-step tutorial out there to help with this complicated script. I have read here that it is really good.
    Quote Quote  
  18. It's a script so it gets imported and not loaded. But you know that already. Did you import the MCTemporalDenoise script itself? And when importing, did you take care to name it as an AVS or AVSI, depending on how yours is named?

    Post the entire script. No, there are no tutorials. Is there anything in here that helps:

    http://avisynth.org/mediawiki/MCTemporalDenoise

    And sometimes searching on your specific error message at Doom9 can help solve the problem.

    And you can always use DFTTest within QTGMC. It's also quite good. Something like this:

    QTGMC(Preset="Medium",NoiseProcess=1,NoiseRestore= 0,Denoiser="DFTTest",DenoiseMC=True,NoiseTR=2,Sigm a=12 )
    Quote Quote  
  19. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    Thanks. I am pretty sure I have an installing problem. Previously I had installed in my plugins the list in the picture. I followed your link to download some new MCTemporalDenoise Files later as advised
    Maybe I am missing something. I went to the link re: that you gave ie http://avisynth.org/mediawiki/MCTemporalDenoise and could not find a specific download for Gradfun2b but found a link for some files: "anisotools-v1.0a5.zip, AVCMatrices-v1.3.7z and masktools-v2.0a48.zip". Are these MCTemporalDenois Files? I will try them.
    With AVSPMod it does not seem to respond to *.avsi scripts when I import them.
    I have scoured Doom9 as well. I know this is a Newbie simple problem but I cannot seem to find the answer. Here are the files I am using - are the the right ones?
    Image Attached Thumbnails Click image for larger version

Name:	Files MCTemporalDenoise.jpg
Views:	3279
Size:	112.6 KB
ID:	15410  

    Quote Quote  
  20. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    Yes, I write something like:
    Import("C:\Program Files (x86)\AviSynth 2.5\plugins\MCTemporalDenoise.avs")
    Quote Quote  
  21. I put everything in my scripts (Load and Import everything) so I don't have to worry about the autoloading peculiarities.

    MCTemporalDenoise is one of the hardest to get working. I had a helluva time myself. So I don't think it's purely a 'newbie'-type problem.

    Originally Posted by Sartorius48 View Post
    Yes, I write something like:
    Import("C:\Program Files (x86)\AviSynth 2.5\plugins\MCTemporalDenoise.avs")
    If that's literally true, you have to use the same extension as the one in the Plugins folder or wherever you keep those things. Either rename the MCTemporalDenoise in the script as AVSI, or the one in the Plugins folder as AVS. They have to match.
    Quote Quote  
  22. Originally Posted by Sartorius48 View Post
    Yes, I write something like:
    Import("C:\Program Files (x86)\AviSynth 2.5\plugins\MCTemporalDenoise.avs")
    You are missing the "i" in avsi (in your screenshot, it's "avsi", but you imported "avs")

    .avsi should auto import
    Quote Quote  
  23. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    Is there any way of Loading the filter.dll files from c:/program files/AVISynth/plugin apart from using LoadPlugin command for ALL of these *.dll files?
    Quote Quote  
  24. Originally Posted by Sartorius48 View Post
    Is there any way of Loading the filter.dll files from c:/program files/AVISynth/plugin apart from using LoadPlugin command for ALL of these *.dll files?
    They're supposed to all autoload (and the AVSI's as well). But as I said, I just load them all in the script. You only have to do it once and then keep it as a template for the future.
    Quote Quote  
  25. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    Thanks. I always match the AVSI and avs files as I use AVSPMod.
    I can drag-and-drop the *.DLL files straight into AVSPMod and it automatically configures it to be "LoadPlugin".
    With scripts, if you drag-and-drop the scripts, the entire text of the script is displayed so I use "Import".
    With Scripts (which I keep in the Plugin Directory as well), I copy the "Properties" of the file and then manually write out the name exactly of the file. This keeps my typos to a minimum. This works for my attempts at SeeSaw.
    I have never figured out how to Autoload *.AVSI scripts so I laboriously hand write them. I am rigorous in getting the writing correct. However when it comes to test, I get the errors.
    Quote Quote  
  26. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\AddGrainC.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DctFilter.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\deblock.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\EEDI2.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\FFT3DFilter.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\gradfun2db.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mt_masktools-25.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mt_masktools-26.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mvtools2.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrain.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrainS.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrainSSE2.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RSharpenSSE3.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\Repair.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RepairS.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RepairSSE2.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RSharpenSSE3.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RSharpen.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RSharpenS.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RSharpenSSE2.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RSharpenSSE3.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\SangNom.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\TTempSmooth.dll")
    Import("C:\Program Files (x86)\AviSynth 2.5\plugins\addgrain.avsi")
    AVISource("D:\ROSIE'S MOVIES\Mish singing 1.avi")
    Image Attached Thumbnails Click image for larger version

Name:	ERROR 3.jpg
Views:	204
Size:	21.7 KB
ID:	15411  

    Quote Quote  
  27. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    As you can see, I have no problem with the *.dll files - they load perfectly but the moment I try a script it crashes.
    Quote Quote  
  28. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    I am having trouble getting a template that works!

    This is AddGrain.AVSI with reference to Line 3 (see error above)

    setmemorymax(1024)
    #loadplugin(".\AddGrainC.dll")
    loadplugin(".\Debug\AddGrainC.dll") <<<< Line 3
    #loadplugin(".\Release\AddGrainC.dll")
    #loadplugin(".\RelSym\AddGrainC.dll")

    yv12 = blankclip(pixel_type="yv12" ,color=$808080,width=512,height=320,length=10).loo p(1000000)
    yuy2 = blankclip(pixel_type="yuy2" ,color=$808080,width=512,height=320,length=10).loo p(1000000)
    rgb = blankclip(pixel_type="rgb24",color=$808080,width=5 12,height=320,length=10).loop(1000000)
    rgba = blankclip(pixel_type="rgb32",color=$808080,width=5 12,height=320,length=10).loop(1000000)

    stackvertical(yv12.addgrainc(200,200).ConvertToRGB 32(), \
    yuy2.addgrainc(200,200,seed=12).ConvertToRGB32(), \
    yuy2.addgrainc(200,200).ConvertToRGB32(), \
    rgb.addgrainc(200,200).ConvertToRGB32(), \
    rgba.addgrainc(200,200).ConvertToRGB32())
    Last edited by Sartorius48; 26th Dec 2012 at 21:06.
    Quote Quote  
  29. Member
    Join Date
    Nov 2012
    Location
    Central Coast Australia
    Search Comp PM
    I have just noticed that if I remove the line:

    loadplugin(".\Debug\AddGrainC.dll")

    from addgrain.avs - I do not get an error --- what is this "Debug command and is it necessary?
    Quote Quote  
  30. I don't think you need "addgrain.avsi" for MCTD. But you need AddGrainC.dll . I don't have addgrain.avsi anywhere (and I've been using MCTD for at least a couple of years)

    Try commenting it out (add "#" in front of the import addgrain.avsi line)
    Quote Quote  



Similar Threads

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