Log in

View Full Version : C Plugins aren't loading with equal success


Katie Boundary
22nd April 2016, 06:10
LoadCPlugin("e:\Program Files (x86)\AviSynth\plugins\ibob.dll")

Works fine.

LoadCPlugin("e:\Program Files (x86)\AviSynth\plugins\yadif.dll")

Gives error message: "not an AVIsynth 2 C plugin"

WTF?

And yes, they're both in the directory.

Groucho2004
22nd April 2016, 09:28
See Stainless' comment at the bottom of this post (http://forum.doom9.org/showthread.php?p=1702838#post1702838).

Avisynth C-plugins should not be in the auto-load directory (the "plugins" directory) since they have to be loaded explicitly anyway (unless you're using AVS+ which can auto-load C-Plugins).

Edit: I just found out that Avisynth+ doesn't support C 2.0 plugins at all. So, my comment above about AVS+ auto-loading C-Plugins only applies to C 2.5 Plugins.

StainlessS
22nd April 2016, 15:16
Hi Katie, http://www.cosgan.de/images/smilie/liebe/d010.gif

If you wanted to autoload some C plugin, you can always create an avsi loader for it, the plugin itself should ideally be
in some other directory (I use a subdir of plugins) and have the avsi load v2 C loader first, (if v2 C plug) and then
load the C plug itself. Then you can just copy the avsi into plugins when necessary.
My plugins directory has many subdirs, one for the C plugins, another for V2 C++ plugins, a directory named eg
System32 containing all dll's to be copied to system32/SysWow64 on new install. Also a storage directory for v2.6
ONLY plugins, and another for alternative v2.5 plugins. I also have a storage directory for commonly used plugins and
another for more rarely used plugs. Another for GPU filters, and another for Exe files (eg MultiDecimate.exe),
A Plugins_Init dir for eg C plug loader avsi scripts, and finally a script avsi storage directory.
I can then copy a complete directory of plugins to another machine for easy duplication. I copy from the
storage directories into the main Plugins directory as and where needed.
(of course I have them all stored away as complete zip files and another directory for docs only, but those are not on
my OS partition, I only ever use OS drive for temporary storage, My Recent Documents, does not even appear on my machine).

Anyways, thats how I do it, you perhaps have your own way.

EDIT: I multi-boot several OS's so do not want any permanent doc (or similar) storage on any OS.

colours
22nd April 2016, 16:47
yadifmod2 exists. (http://forum.doom9.org/showthread.php?t=173316)

Katie Boundary
23rd April 2016, 02:41
I moved everything to the avisynth root directory and adjusted the scripts accordingly. No effect.

Also, it turns out that ibob actually doesn't work fine. It only LOADS fine. A few frames end up with major color errors.

I think I'm just going to stick with what I call "Bobcat" (a Bob filter with Catrom b and c values) for now.