Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

Pages: (2) 1 [2]  ( Go to first unread post )
Median Filter v0.93 closes VDub, (was: Unexpected Crash Last Night)
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
i4004
Posted: May 29 2004, 08:42 AM


Advanced Member


Group: Members
Posts: 2432
Member No.: 4935
Joined: 24-June 03



bolgavator,you didn't read the complete thread...

--------------------
my signature:
user posted image
 
     Top
alextaylor
Posted: May 29 2004, 10:59 AM


Unregistered









QUOTE (Bogalvator @ May 29 2004, 01:33 AM)
Try removing the ctmedian plugin from the plugins folder.

AviSynth may be trying to autoload the dll but as you can see from i40004's script you need to use LoadCPlugin to load up this filter, so the autoloading may cause the crash.

Removing the plugin removes the problem. The "LoadCPlugin()" line doesn't make any difference, although if AviSynth is still doing the autoload when it starts, that's not surprising.

If I remove avisynth_c.dll, I get a complaint from the filter (which then fails to load) but there's no crash. I can't see anything in the manual - is it possible to disable the autoload?
 
  Top
stephanV
Posted: May 29 2004, 11:03 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



if you dont place the plug-in in the plug-in folder, then it shouldnt autoload, no?



--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
alextaylor
Posted: May 29 2004, 06:31 PM


Unregistered









QUOTE (stephanV @ May 29 2004, 12:03 PM)
if you dont place the plug-in in the plug-in folder, then it shouldnt autoload, no?

Indeed :-) There is no crash if I put the plugin somewhere else and load it manually. The readme for the plugin doesn't make this clear, but I guess the intention is that you don't install the plugin in the plugins folder.

Regardless, I don't much care *why* this should be the case; I was just wondering why this problem was causing VDub (or whatever) to exit like that :-) Whatever the reason for AviSynth failing to start up, I'd still expect VDub/MPlayer/whatever to handle the failure a bit more gracefully.

 
  Top
stephanV
Posted: May 29 2004, 07:03 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



but the problem is most definitely the plugin then, maybe when autoloaded it invokes a program closure... it happens both with MPC and VDub right? usually when vdub goes wrong it makes a nice error report... but maybe this isn't a crash, i dunno, but its definitely the fault of the plug-in i'd say.

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
i4004
Posted: May 29 2004, 07:10 PM


Advanced Member


Group: Members
Posts: 2432
Member No.: 4935
Joined: 24-June 03



uhh....

QUOTE
Indeed :-) There is no crash if I put the plugin somewhere else and load it manually. The readme for the plugin doesn't make this clear, but I guess the intention is that you don't install the plugin in the plugins folder.

so you're saying that everything is OK if you put plugin somewhere else (ie NOT to avs' default plugins folder)

but as soon as you put it to defualt avs plugins folder
(like this one
C:\Program Files\AviSynth 2.5\plugins)
the hell breaks loose?

i wouldn't call that a bug or a problem or anything....
a minor annoyance at worse...
i could investigate this (with wilbert),but it's not interesting..not a real problem...

--------------------
my signature:
user posted image
 
     Top
Wilbert
Posted: May 29 2004, 11:09 PM


Advanced Member


Group: Members
Posts: 132
Member No.: 6270
Joined: 11-September 03



QUOTE
so you're saying that everything is OK if you put plugin somewhere else (ie NOT to avs' default plugins folder)

but as soon as you put it to defualt avs plugins folder
(like this one
C:\Program Files\AviSynth 2.5\plugins)
the hell breaks loose?

i wouldn't call that a bug or a problem or anything....
a minor annoyance at worse...
i could investigate this (with wilbert),but it's not interesting..not a real problem...

That problem is known for a while. Some plugins (the c-plugins being one of them), cause vdub, wmp to crash while being in the autoloading plugin dir.

Btw, if you download the latest (beta) binaries you will have to get avisynth_c.dll again, and use LoadCPlugin to load them. Also avisynth_c.dll should be outside the autoloading plugin dir.

QUOTE
Regardless, I don't much care *why* this should be the case; I was just wondering why this problem was causing VDub (or whatever) to exit like that :-) Whatever the reason for AviSynth failing to start up, I'd still expect VDub/MPlayer/whatever to handle the failure a bit more gracefully.

The problem is that all avs plugins in the autoloading plugin dir are loaded when opening a script in vdub. Then it sorts out which plugins aren't used in the script, and those are unloaded again.

But you have to ask Sh0dan (or some other people) why some plugins can be loaded manually, but not via the auto loading plugin dir. I guess that has to do with different versions of msvc library files.
 
     Top
alextaylor
Posted: Jun 1 2004, 08:05 PM


Unregistered









Ok, so, the solution is to put the plugin somewhere else :-)

Thanks, everyone!
 
  Top
Fizick
Posted: Jun 2 2004, 02:36 PM


Unregistered









Yes, some problem exists.
O.K. I return to it.
New experimental version 1.2 of DeSpot plugin (June 01, 2004):
Added parameters Ranked, weak, maxpts, p1percent,
change mark mode to color spot with weak motion map.

Source now is compatible with MS VC6, VC7 (free tools).
But I can not port it from avithynth_c to pure avisynth plugin (needed in some help)!
unsure.gif

http://bag.hotmail.ru
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
23 replies since May 27 2004, 09:42 AM Track this topic | Email this topic | Print this topic
Pages: (2) 1 [2] 
<< Back to Avisynth Filtering, Processing and Scripts Discussion