View Full Version : Trouble using the rotate plugin
DrPhill
3rd May 2012, 11:29
Hi, I am having trouble using the rotate plugin.
loadplugin("rotate.dll")
EDIT: I get the error: LoadPPlugin: unable to load "rotate.dll"
Where should I save the rotate.dll on my machine?
I have tried:
C:\ProgramFiles(x86)\AVISynth
C:\ProgramFiles(x86)\AVISynth\plugins
In the directory with my script......
What am I doing wrong?
Any help gratefully received.....
Atak_Snajpera
3rd May 2012, 11:57
wherever you want but you must specify valid path to your .dll
loadplugin("C:\somefolder\rotate.dll")
Groucho2004
3rd May 2012, 12:26
There are 2 ways to load a plugin or source filter:
1. "LoadPlugin("plugin.dll")
This works if the DLL is in the same directory as the script
*or*
The DLL is in the plugin path referenced in the registry ("plugindir2_5" in "[HKEY_LOCAL_MACHINE\SOFTWARE\AviSynth]")
2. "LoadPlugin("fully qualified path to the dll\plugin.dll")
Edit:
Relative paths are also supported by Avisynth, for example:
LoadPlugin("..\..\myplugins\plugin.dll")
DrPhill
4th May 2012, 06:40
There are 2 ways to load a plugin or source filter:
1. "LoadPlugin("plugin.dll")
This works if the DLL is in the same directory as the script
*or*
The DLL is in the plugin path referenced in the registry ("plugindir2_5" in "[HKEY_LOCAL_MACHINE\SOFTWARE\AviSynth]")
2. "LoadPlugin("fully qualified path to the dll\plugin.dll")
Edit:
Relative paths are also supported by Avisynth, for example:
LoadPlugin("..\..\myplugins\plugin.dll")
I tried the plugin in the same directory as the script - did not work. I will go back and try all those methods again.
Thanks...... I will report back on success or otherwise later today.
DrPhill
4th May 2012, 09:36
tried
LoadPlugin("rotate.dll") - (dll in same folder as script) fail
The registry pointing to "c:\ProgramFiles(x86)\AviSynth 2.5\plugins\" did no good either.
LoadPlugin("c:\ProgramFiles(x86)\AviSynth 2.5\plugins\rotate.dll") - fail
Finally worked
LoadPlugin("c:\Users\Phill\VideoProject\rotate.dll")
I have no idea why, but it is frustrating.
Ah well, it works now.
Thanks
Not sure if what you wrote there was intended to be to the letter, but there are some spaces missing from "Program Files (x86)".
DrPhill
4th May 2012, 10:03
Ooooops,my bad. Two spaces in the folder name "Program Files (x86)"
That works now. Thanks.
I feel stupid now.......
Groucho2004
4th May 2012, 10:05
tried
LoadPlugin("rotate.dll") - (dll in same folder as script) fail
How did you test it? There are some applications that always require a fully qualified path (although there is no reason for it) - like MPCHC.
ProgramFiles(x86)
As already pointed out, this should probably have a couple more spaces in it unless you modified the Windows install to use this directory.
DrPhill
4th May 2012, 11:00
How did you test it? There are some applications that always require a fully qualified path (although there is no reason for it) - like MPCHC.
AVSPmod mainly..... with confirmation in Windoze Media Player. Both come into this category apparently. Though AVSPmod uses paths relative to the current directory for accessing video files, so I never thought to put an absolute path in......
As already pointed out, this should probably have a couple more spaces in it unless you modified the Windows install to use this directory.
Mea culpa.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.