Auto-loading Plugins Limit? >>
Our Forum

Our Forum



SearchSearch   Users   Registration   Entrance
Today: 15.09.2025 - 22:44:29
Pages:  1  

Auto-loading Plugins Limit?

MessageAuthor

After adding a few more filter plugins recent, if I tried loading a script into VirtualDubMod, it would just open and then suddenly close again. This was after getting the screwy dll that DeFreq needed and finding out about the 'C' plugins (and how not to put them in the auto-load directory!), so I was quite annoyed by this stage when it still refused to work! Then I realised I had over 40 filters in there by this stage, so I just randomly removed a few that I never used, and it started working again! Is there a limit to how many filters you can load at one time, or is just a Windows memory problem? I have 512MB RAM and Win2k.

---------------------
google-black.blogspot.com kenvsryu.tumblr.comsonyalphanex.blogspot.com Spence:You ever kill anyone? Sam:No, but I did hurt somebody's feelings once. join the Bimmerforums Chat: http://youtube.com/stream?s=235077632

ken_vs_ryu

users




Statistics:
Messages: 7,647
Registration: 07.30.2002
28.04.21 - 17:25:36
Message # 1
RE: Auto-loading Plugins Limit?

I have 314 VD-plug-in in my VDmod plug-in folder, but I have never tried to autoload. richard photorecall.net

---------------------
00' 323ci almost 100k miles, looking towards a new ride...

Adam

users




Statistics:
Messages: 77
Registration: 11.14.2001
28.04.21 - 17:35:22
Message # 2
RE: Auto-loading Plugins Limit?

I don't know if there's a limit, but there are some well-known troublemakers; the numerous WarpSharp dlls are some of them.

---------------------
There is no them on the road. :

DarkM3

users




Statistics:
Messages: 554
Registration: 08.24.2003
28.04.21 - 17:45:16
Message # 3
RE: Auto-loading Plugins Limit?

Yes, there's some upper limit (but it might be a win memory problem ?). I don't remember the number of plugins I had in my folder before I noticed it.

---------------------

Sephiroth619

users




Statistics:
Messages: 2,743
Registration: 12.09.2003
28.04.21 - 17:51:04
Message # 4
RE: Auto-loading Plugins Limit?

rfmmars are you refering to virtualdub plugins, or avisynth filters? I had 53 in my autoload dir, and when I enable tdeint, I get: Avisynth open failure: Script error: there is no function named "VagueDenoiser" VagueDenoiser is the last one in my directory, if I remove a dll (it doesn't have to be the tdeint) by adding .tmp to its name (in this case tcpdeliver), the script loads fine.

---------------------

Ichiro

users




Statistics:
Messages: 22
Registration: 05.21.2002
28.04.21 - 17:59:59
Message # 5
RE: Auto-loading Plugins Limit?

Thank you for your very informative post. from your description, it sounds like this prescan modification would be a worthwhile change. are there any plans to include this in future builds? as I have already said, it's not a hard problem to work around, now that I know what to look for, but it was sure a killer the first time I got the error.

---------------------

ca415playa

users




Statistics:
Messages: 735
Registration: 12.14.2002
28.04.21 - 18:05:17
Message # 6
RE: Auto-loading Plugins Limit?

I think it would be a good idea to change it as well... I can't really see any down sides and it only takes about 3 lines of code. I added it into the builds of avisynth that I keep on my site if you want to test. As soon as the loaded plugins number reaches 20+ during prescan it unloads all the currently loaded plugins. I'll see if IanB or another dev can add the changes to cvs.

---------------------
In the slow lane

frayed

users




Statistics:
Messages: 7,395
Registration: 03.18.2001
28.04.21 - 18:09:46
Message # 7
RE: Auto-loading Plugins Limit?

@tritical I just tried both instaler versions of avisynth on your web site, and the unlimited filter loading seems to work nicely, however there is a side effect. avisynth fails when this avsi is present load old plugins.avsi -------------------------- LoadPlugin("C:\Program Files\AviSynth 2.5\LoadOldPlugin\LoadPluginEx.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\LoadOldPlugin\DustV5.dll") #LoadPlugin("C:\Program Files\AviSynth 2.5\LoadOldPlugin\warpsharp.dll") ------------------------------------ from your description in your two posts in this thread, I would guess that your 20 plugin loop is including avsi's, and not saving them 'til last. I looked at your code, but not knowing C++, and not having been a programmer since I used a Teletype and a Data General Eclipse S200 (also punch cards, but I tried to stay away from those, but wathing the card sorter was fun), I thought I'd stay out of the way and just pass along the info.

---------------------
1998 Corvette"Mod fever"...

SvenOdin

users




Statistics:
Messages: 876
Registration: 09.20.2002
28.04.21 - 18:18:28
Message # 8
RE: Auto-loading Plugins Limit?

Actually, it is a result of another change. In my builds external plugins are no longer allowed to override the internal functions LoadPlugin() and LoadCPlugin(), which LoadPluginEx does. However, you can still access the external plugin's version using dllname_function(). So change your avsi to: LoadPlugin("C:\Program Files\AviSynth 2.5\LoadOldPlugin\LoadPluginEx.dll") loadpluginex_LoadPlugin("C:\Program Files\AviSynth 2.5\LoadOldPlugin\DustV5.dll") The benefit of making it that way is that you can do: LoadPlugin("2.5filter.dll") LoadPlugin("loadpluginex.dll") loadpluginex_LoadPlugin("2.0filter.dll") LoadPlugin("2.5filter.dll") loadpluginex_LoadPlugin("2.0filter.dll") So you no longer have to worry about making sure that you load all 2.5 filters before loading a filter that overrides LoadPlugin().

---------------------

2BUCOUP

users




Statistics:
Messages: 147
Registration: 07.13.2003
28.04.21 - 18:23:22
Message # 9
RE: Auto-loading Plugins Limit?

It's no problem, I didn't see it as critical and it was phrased fine. Plus, there was no way you could have known about that internal change... and the likelihood that I screwed something up is usually pretty good.

---------------------
'03 911 Turbo 6MT fun car '18 Toyota Land Cruiser Daily driver/Ski Machine/Off Roader '15 Cayenne Diesel Wife's DD '17 KTM 690 "Adv" 2 wheeled Adventurer

DocWyte

users




Statistics:
Messages: 5,343
Registration: 08.29.2002
28.04.21 - 18:28:17
Message # 10
RE: Auto-loading Plugins Limit?
TCE weirdness : Previous topic
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

           
   
The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants