View Full Version : Stupid question, but why doesn't my avisynth external plugins work??
Auke
5th April 2015, 15:54
Hi guys,
Just started to use AviSynth. Everything standard works, but when I want to use plugins I get errors.
What's wrong with the following:
AVISource("C:\Users\Auke\Desktop\File\test.avi")
LoadPlugin("RemoveDirt.dll")
Whatever I try I get errors like:
- unable to load, module not found, install missing library?
- or script value error
etc
the index.htm in AviSynth's Docs file only says:
With these functions you can add external functions to AviSynth.
LoadPlugin ("filename" [, ...])
Loads one or more external avisynth plugins (DLLs).
And I've put the dll's in the Plugin directory of AviSynth, I've put them into the same as test.avi directory.
I've tried with LoadPlugin command, but also without. With full path or just only file name. It just doesn't work. (It should be in the Avisynth plugin directory right?
Can it be a 32 or 64 bit system problem? I use Avisynth 2.5.8 with Win 8.1 (64x)
StainlessS
5th April 2015, 16:47
Removedirt.dll (SSE version as opposed to eg RemovedirtSSE2.dll, SSE2 version) requires MSVCR70.dll in your SysWoW32 directory)
EDIT: Forgot link :- http://forum.doom9.org/showthread.php?p=1696608&highlight=msvcr70.dll#post1696608
You can use the RemovedirtS.dll (static linked instead without dll requirement)
or download the 70 runtimes (VS 2003 or VS Toolkit2003) here:- http://www.mediafire.com/download/1220u8g1drmubi8/MSVCR71_70_Runtimes.rar
EDIT: Removedirt.dll is SSE version ie Pentium III, you probably want RemovedirtSSE2.dll
EDIT: According to LigH, 32bit dll's go in SysWOW64 (not SysWOW32) on 64 windows (I'm on 32 bit).
EDIT: I think current advice is to download rgtools instead of RemoveDirt (includes RemoveDirt, I think).
EDIT Dependency Walker 2.2, shows dependencies (as provided by M$ in Visual Studio) http://www.dependencywalker.com/
Groucho2004
5th April 2015, 17:49
You can use the RemovedirtS.dll (static linked instead without dll requirement)
Best option IMO
I think current advice is to download rgtools instead of RemoveDirt (includes RemoveDirt, I think).
Nope, no Removedirt().
@Auke
If you have trouble with plugins, you can always use the Avisynth Info Tool linked below in my signature and post the log file(s) here.
By the way, the message "unable to load, module not found, install missing library?" comes from the latest Avisynth 2.6 RC1, not 2.5.8 which you think you have installed.
Reel.Deel
5th April 2015, 18:07
Here's RemoveDirt v0.9 (http://xhmikosr.1f0.de/_old/avisynth/plugins/RemoveDirt_0.9.zip) compiled with MSVC2010, includes static and dynamic SSE2 binaries, the latter requires Microsoft Visual C++ 2010 Redistributable Package (x86) (http://www.microsoft.com/en-us/download/details.aspx?id=8328).
StainlessS
5th April 2015, 18:08
Nope, no Removedirt().
Thanx, ws not sure bout dat.
By the way, the message "unable to load, module not found, install missing library?" comes from the latest Avisynth 2.6 RC1, not 2.5.8 which you think you have installed.
That kinda threw me, never seen that message yet, your quote explains it, again thanx.
Suggest that OP keeps current setup, RC1 considerably better than v2.58
Groucho2004
5th April 2015, 18:21
Here's RemoveDirt v0.9 (http://xhmikosr.1f0.de/_old/avisynth/plugins/RemoveDirt_0.9.zip) compiled with MSVC2010, includes static and dynamic SSE2 binaries, the latter requires Microsoft Visual C++ 2010 Redistributable Package (x86) (http://www.microsoft.com/en-us/download/details.aspx?id=8328).
Even better. :)
Auke
7th April 2015, 16:09
Ok thanks. But apart from the RemoveDirt.dll plugin, also other plugins don't work!
What can be the problem??
So if I download another plugin, I put it in the plugin directory of AviSynth, try to load it with:
AVISource("C:\Users\Auke\Desktop\File\test.avi")
LoadPlugin("Plugin_whatever.dll") #or even with full path etc
It just doesn't work! Why not?
Groucho2004
7th April 2015, 16:20
It just doesn't work! Why not?
You'll have to do better than that.
- What's the error message?
- With which program do you load the script?
- Have you tried the tool I suggested in post #3?
StainlessS
7th April 2015, 19:33
LoadPlugin("Plugin_whatever.dll")
Plugins in the Autoload directory do NOT require LoadPlugin, they are auto loaded.
Also, LoadPlugin would load a plug in current directory but not without a path if in some other directory, I take it that
you are expecting LoadPlugin to auto supply the plugins directory path, but as those plugins are auto loaded, why would it
expect you to want to do it again.
EDIT: Oops missed this
#or even with full path etc
Use Groucho's AVSInfo program, or at least the Dependency Walker prog if problems loading dll.
Auke
8th April 2015, 10:58
Thanks for the responses. I've downloaded Avisynth Tool from Grouco2004.
See my attached image to see the error and Avi tool summary.
Also without LoadPlugin command I get an error.
Also with full path I get can error.
Also with other plugins (e.g. RemoveDirt.dll) I get the error
Extra Question: why does the AVI Tool say C:\Program Files (86x)\Avisynth 2.6 while I'm only using 2.5.8
Thanks for your patience!
StainlessS
8th April 2015, 15:01
Extra Question: why does the AVI Tool say C:\Program Files (86x)\Avisynth 2.6 while I'm only using 2.5.8
I take it that the above mentioned directory does not exist then ?
(well, I bet it does, and Grouch already told you you are on v2.6RC1, whatever else you might think).
EDIT: You could try this script
Version()
EDIT: I've just installed v2.6RC2 (released earlier today) and it still installs by default to 'Avisynth 2.5' Dir.
Wonder if it could be AVS+ v2.6 you are using.
Groucho2004
8th April 2015, 18:36
Thanks for the responses. I've downloaded Avisynth Tool from Grouco2004.
See my attached image to see the error and Avi tool summary.
Also without LoadPlugin command I get an error.
Also with full path I get can error.
Also with other plugins (e.g. RemoveDirt.dll) I get the error
Extra Question: why does the AVI Tool say C:\Program Files (86x)\Avisynth 2.6 while I'm only using 2.5.8
Thanks for your patience!
Need the complete logs as I already mentioned, from the main window and from the plugins dialog.
Auke
8th April 2015, 19:43
Ok hereby the requested files.
Also included a (paint) file with the different errors I get. (this is on another pc than my previous PrntScrn, but the errors are the same)
Why doesn't work any external plugin I tried?
Groucho2004
8th April 2015, 21:37
Ok hereby the requested files.
Also included a (paint) file with the different errors I get. (this is on another pc than my previous PrntScrn, but the errors are the same)
Why doesn't work any external plugin I tried?
We don't need "paint" files. Just the logs. Also, either paste the log content into <code> tags or post both log files on pastebin. Approving attachments sometimes takes days here.
Auke
9th April 2015, 10:28
<code>
[General Info - Avisynth.dll]
Version String: AviSynth 2.60, build:Jan 14 2015 [09:58:31]
File Version: 2.6.0.5
Directory: C:\Windows\SYSTEM32
Timestamp: January 14, 2015, 00:59:20
MT Support: No
[Plugin Directories]
C:\Program Files (x86)\AviSynth 2.5\plugins
[Supported Color Spaces]
YUY2, Y8, YV12, YV16, YV24, YV411, RGB24, RGB32
[Internal Functions (357)]
[External Functions (10)]
DirectShowSource
DirectShowSource_DirectShowSource
RemoveDirt_RestoreMotionBlocks
RemoveDirt_SCSelect
RestoreMotionBlocks
SCSelect
TCPDeliver_TCPServer
TCPDeliver_TCPSource
TCPServer
TCPSource
</code>
# I left internal Functions behind, I assumed that's pretty standard
# that paint file, when approved finally, would clearify my point better
Groucho2004
9th April 2015, 10:34
You have Avisynth 2.6 RC1 installed but the install is screwed since avisynth.dll is in system32 instead of SysWOW64. Did you copy it there manually?
StainlessS
9th April 2015, 11:39
Auke,
Just for future reference,
Your code wrapping nearly worked, but you have to use square brackets '[]' instead of angle brackets '<>', or you can
after 'Go Advanced", select text with mouse and click on the hash symbol '#' to wrap in code tags.
Auke
9th April 2015, 18:02
No I didn't copy anything manually there.
Did you mean Syswow64 instead of system32?
Because I checked Syswow64 and there is avisynth.dll
I checked system32 and there is no avisynth.dll
So do you want me to swap it?
to Stainless:
Ok, next time I'll do. I did it because of the following:
Also, either paste the log content into <code> tags
Groucho2004
9th April 2015, 18:11
No I didn't copy anything manually there.
Did you mean Syswow64 instead of system32?
Because I checked Syswow64 and there is avisynth.dll
I checked system32 and there is no avisynth.dll
So do you want me to swap it?
False alarm, I just checked on my 64 Bit OS, it does indeed report avisynth.dll located in system32 instead of syswow64. This is actually a bug in the Windows File System Redirector.
Anyway, your Avisynth install appears to be fine. If you want us to look at the screen shots, you have to post them elsewhere.
Auke
10th April 2015, 09:26
Hereby the printscreens:
http://freyeland.s3.amazonaws.com/version.png
http://freyeland.s3.amazonaws.com/errors.png
http://freyeland.s3.amazonaws.com/AvisynthInfo.txt
Groucho2004
10th April 2015, 09:45
Your scripts make no sense at all. Why do you use LoadPlugin for TCPDeliver?
Run the Avisynth Info Tool and go to Tools -> Plugin Info. Let it enumerate all plugins, save the plugin info report and post it here.
Most importantly, go to the Avisynth Wiki (http://avisynth.nl/index.php/Main_Page) to get a basic understanding of Avisynth scripting.
StainlessS
10th April 2015, 11:55
LoadPlugin("C:\Program Files (x86)\Avisynth\plugins\DirectShowSource.dll")
Avisource("C:\Users\Rients\Desktop\Heit\minke.avi")
Or
Avisource("C:\Users\Rients\Desktop\Heit\minke.avi")
LoadPlugin("C:\Program Files (x86)\Avisynth\plugins\DirectShowSource.dll")
Return Last
You have to do a 'Return Last' if final script function call does not return a clip.
But DirectShowSource is in your AutoLoad plugins directory so LoadPlugin is superfluous (already auto loaded).
ie just
Avisource("C:\Users\Rients\Desktop\Heit\minke.avi")
EDIT: Or if the script is also in Desktop\Heit\ then just
Avisource("minke.avi")
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.