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
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.
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.
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.
@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.
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().
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