Log in

View Full Version : AVS files crashing my software when I close them


PlazzTT
26th December 2004, 00:38
Hi,

I've been having this problem for months now, and just never got around to asking about it.

It seems that Avisynth .avs files are crashing my software when I close them.

For example, I drag a .avs file into Media Player Classic and it plays fine, but when I close MPC it crashes. (ie- the player closes all right, but I get a "Media Player Classic has encountered a problem and needs to close. We are sorry for the inconvenience." error with it.

But, this only happens when I try to close an AVS file. Say if I have an AVS file open, and then I drag in another file to play it, it crashes MPC (but this time, no error, the player just disappears). (The other file can be MPEG or AVI or AVS or any file, it makes no difference.)

This does NOT happen if I have, say, an AVI file open and I drag in another AVI or AVS file. That's okay, it only crashes when I'm finished with the AVS file.

The same happens with mplayer2.

This gets really annoying with VirtualDubMod (I've tried VDub too), because it makes AutoGK and pretty much everything else that uses VDub (even comp. check in GKnot) useless. I have to configure my two XviD passes manually in VDubMod. The Job Queue won't work either, because it just crashes VDubMod after the first pass when it goes to close the AVS and load it again for the second.

I don't know when this problem started, I don't think it was because of a new version of Avisynth. I've tried the latest stable and 2.5.6 beta versions.

Any idea what might be wrong? What can I do to try to fix it (eg - reinstalling certain things?)

Thanks, and sorry for the long post.

John.

Wilbert
26th December 2004, 12:41
Does that also happen if you empty the avs plugin folder?

Leak
26th December 2004, 12:46
Originally posted by PlazzTT
It seems that Avisynth .avs files are crashing my software when I close them.

Most probably it's one of the AviSynth plugins in your plugins folder that crashes when it's unloaded by AviSynth - try moving all your DLLs from your plugin folder to a different on, move them back one by one until it crashes again - then it must have been the last one you moved back.

Prime candidates are some versions of WarpSharp and the AviSynth_C plugins...

np: Donnacha Costello - Dry Retch (Pop Ambient 2002)

PlazzTT
26th December 2004, 13:29
Thanks very much, Leak and WIlbert!

That problem had really been bugging me for ages.

The problem was with the plugins all right. It turned out that both LoadPluginEx2.dll and WarpSharp.dll were causing trouble.

Thanks again!

EDIT: Actually, IIRC LoadPluginEx2 is for loading pre 2.5 plugins? So could it be possible that the problem was not with LoadPluginEx2, but with one of the pre 2.5 plugins it was trying to load?