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.
+ Reply to Thread
Results 1 to 30 of 38
-
-
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. -
@manono: both auto loading and explicit loading of QTGMC works fine here.
---
btw.:
AVISource("C\:SourceFile.avi") -
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) -
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.
-
-
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 -
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 fileI read somewhere that I must put in a DLL file into Windows System or Windows System32 or even WOW64.
ConvertToYV12() -
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 -
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 -
no function named "mt_makediff"All the necessary *.dll files are there too.
-
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 -
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 -
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 - -
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. -
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 ) -
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? -
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.
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. -
-
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?
-
-
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. -
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") -
As you can see, I have no problem with the *.dll files - they load perfectly but the moment I try a script it crashes.
-
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.
-
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? -
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)
Similar Threads
-
About using AviSynth scripts with MeGUI 0.3.5.0.
By Nagashi in forum DVD RippingReplies: 56Last Post: 15th Jul 2010, 10:15 -
StaxRip doesn't handle 16:9 AVISynth scripts?
By Kylenol in forum Video ConversionReplies: 0Last Post: 23rd Dec 2009, 15:35 -
avsi Import problem
By anegroo in forum Newbie / General discussionsReplies: 0Last Post: 2nd Jan 2009, 15:22 -
I need some help on writing H.264 AVISynth scripts
By rocky12 in forum Newbie / General discussionsReplies: 46Last Post: 6th Dec 2008, 13:40 -
WAV audio error using AVISynth scripts
By rocky12 in forum AudioReplies: 3Last Post: 3rd Dec 2008, 09:03