Log in

View Full Version : avisynth 2.05 problems


jarthel
16th September 2002, 17:13
I'm using avisynth 2.05, latest vdub/nandub and winxp sp1.

Here's the "autoload.reg" that I used to load DLLs.
------------
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Avisynth]
"PluginDir"="e:\\downloads\\windows\\utilities\\divx\\avisynth\\plugins"
-------------

Here's my avs script
-------------
mpeg2source("D:\dvdrips\kenshin62\kenshin62.d2v")
-------------

When I open this file in both vdub and nandub, I get the same error. It is "The application has failed to start because borlndmm.dll was not found". When I click ok on the prompt, I then get a avisynth error "unrecognized exception".

Any ideas? Thanks

Jayel

-h
16th September 2002, 17:24
Sounds like you need borlndmm.dll:

http://www.cord.edu/faculty/ulnessd/pchem/kt_calc/borlndmm.dll
http://evidence.finder.com/dockery/fw/borlndmm.dll
http://www.phatboydesigns.net/borlndmm.zip
http://www.swampdog.demon.co.uk/pc/dl/betas/runtime/Borlndmm.zip

No idea why though, it's a memory management library from Borland of all people.

-h

jarthel
16th September 2002, 17:30
yeah I guess it was a Borland file by looking at the filename but I never encountered it in 2.04. I just went back to 2.04 and I don't see the error now.

Thanks though. :)

jayel

jarthel
16th September 2002, 17:39
I can use 2.05 now even without the borland file but it's still giving me the same error. But I can open the file!

If I copy the borland file to the same folder as vdub or "c:windows\system32", I the error is different now. It's now sayin "Avisynth open failure: Avisynth: script open failed". The bad thing is that it won't open the file.

-h
16th September 2002, 18:35
Wow cool. I guess you need a different compile :)

-h

sh0dan
16th September 2002, 18:52
You cannot have ANYTHING else in your plugin-dir, than valid plugins - you probably has something there that messes up, when Avisynth tries to autoload plugins.

Hope dividee gets some time to look at it - meanwhile, clean up the directory, or remove the registry entry.

jarthel
16th September 2002, 23:43
Originally posted by sh0dan
You cannot have ANYTHING else in your plugin-dir, than valid plugins - you probably has something there that messes up, when Avisynth tries to autoload plugins.

Hope dividee gets some time to look at it - meanwhile, clean up the directory, or remove the registry entry.

not even htlm/txt files that came with the DLLs? Cause I have them there. I thought it's intelligent enough (no offense to dividee) to load only DLLs. :)

Jayel

Richard Berg
17th September 2002, 00:48
Those should be ok -- I believe it only checks for DLL, VDF, and AVS.

The Borland thing comes out out of left field, no ideas here.

jarthel
17th September 2002, 01:35
It's definitely a 2.05 issue as I installed 2.04 and there's no problem.

It's strange that it's a requirement now to use the autoload feature.
It seems it's not 100% tested. It may have worked in 2 or 3 setups but that doesn't mean it'll work all the time in different setups.

It was alot easier on 2.04 and previous versions as I can just copy/paste the "loadplugin" lines on my previous avs file. I would guess autoload plugin is for lazy people. It's so simple enough to copy and paste. I just don't see the need for it especially if there's no way of disabling it. (rant)

Jayel

Guest
17th September 2002, 02:07
There's a big difference between being lazy and maximizing the use of one's limited available time!

You have an unsolved problem that you are unfairly attributing to this feature.

The autoplugin loading is a great feature and I love it. Thank you dividee!

trbarry
17th September 2002, 02:24
It's strange that it's a requirement now to use the autoload feature.

I don't think it is a requirement anyway since I've never gotten around to setting it up and 2.05 works fine for me.

- Tom

jarthel
17th September 2002, 02:33
Originally posted by trbarry


I don't think it is a requirement anyway since I've never gotten around to setting it up and 2.05 works fine for me.

- Tom

do you mean to say that if I don't create the regedit line, it won't use the autoload feature?

Thanks Tom

Jayel

jarthel
17th September 2002, 02:38
Originally posted by neuron2
There's a big difference between being lazy and maximizing the use of one's limited available time!


limited available time? How many seconds did you save by copying/pasting loadplugin lines? The max would be 1 minute I would say. That's what youl lazy. It's not like it saved you an hour or even 10 minutes. Does it take you 10 minutes or even 5 minutes to use loadplugin lines? Does it? I'm know you're a pro in using avisynth so I doubt it would take you long to use loadplugin.

Jayel

jarthel
17th September 2002, 02:41
Originally posted by neuron2

You have an unsolved problem that you are unfairly attributing to this feature.


You could be right but I still believe that it doesn't save me alot of time by using it.

Jayel

manono
17th September 2002, 03:20
Hi jarthel-

Have you tried taking all the .dlls and other stuff out of there and stashing them somewhere else? I'm with trbarry-I've never set it up and haven't had the problem you describe. I still keep all the .dlls in GKnot.

Guest
17th September 2002, 03:25
@jarthel

Don't keep on insulting me by calling me lazy. Have I been too lazy to help you with your problems in the past?

If I save a minute 60 times, that is an hour. My hours are limited and very valuable.

Why do you suppose VirtualDub, Premiere, and every other reputable editing package supports this concept? Because all the authors and users are lazy?

Just remove the registry entry and quit whining. IMHO. :)

Or you could actually try to help the community by removing the items one by one from the plugin directory and seeing which (if any) is causing the problem, then looking in it to understand the problem so that, if the feature has a problem, it can be repaired. You sound like a horse and buggy driver who won't drive a car because your first one got a flat tire.

jarthel
17th September 2002, 06:32
I'm sorry if I insulted you Donald. I was just making a point. :)

Jayel

jarthel
17th September 2002, 06:40
To Manono and Donald,

I'll try your suggestions. :)

Jayel

dividee
17th September 2002, 23:52
Sorry, I don't have much time to work on avisynth lately.
I found out plugin autoloading would freeze the process if there is a DLL which is not an avisynth plugin in the plugin directory.
But I can put files with other extensions in this directory without problem; I actually keep the plugins docs there.
Also, it unnecessarily locks the files in the plugin directory.
I fixed these two bugs but didn't commit yet; I'll add VDF loading first.

As neuron2 said, you could help by determining which file is causing the problem.

Don't forget it also loads AVS scripts in the plugin directory. Some plugins comes with sample scripts, but you can't keep them there. It these scripts contains an error, every time avisynth is loaded it'll give you the error. Only trusted scripts containing function definitions should be kept there.

I don't mind if you call me lazy (as long as you're not my boss ;)), I find plugin autoloading convenient.

trbarry
18th September 2002, 17:47
I find plugin autoloading very convenient too, at least in theory. But I've been too lazy to set it up yet. ;)

- Tom

dividee
18th September 2002, 20:28
Just commited:

fixes to plugin autoloading:
- freezed when invalid dll encountered
- was locking files unnecessarily
now also loads avisynth plugins with VDF extension.

Until sh0dan makes a new build, I attach it here.
Test it please!

vinetu
18th September 2002, 22:41
tested:

This one WORK !!!

this avisynth version is the _ONLY_
working on my machine ...

Best Regards dividee !

jarthel
18th September 2002, 23:43
is that a compile from the cvs dividee?

Thanks

Jayel

dividee
19th September 2002, 07:36
is that a compile from the cvs dividee?
Yes it is.

stickboy
19th September 2002, 08:03
Dividee:
Did you ever get around to adding an option to AviSource to open files in RGB mode (http://forum.doom9.org/showthread.php?s=&threadid=32145&goto=nextnewest)? If so, is it documented anywhere?

Thanks!

Wilbert
19th September 2002, 10:45
From the docs on the project page:

AVISource("cap.avi",false,"RGB32") # disable audio and request RGB32 decompression

sh0dan
19th September 2002, 15:32
Hmmm... CVS seems to be down ATM - I'll upload when it's available.

stickboy
19th September 2002, 20:07
Originally posted by Wilbert
From the docs on the project page:Cool, thanks. BTW, where are these docs? The Docs (http://sourceforge.net/docman/?group_id=57023) link from the sourceforge project page say to check avisynth.org, but the AviSource (http://www.avisynth.org/index.php?page=AviSource) documentation there doesn't mention anything about it.

WarpEnterprises
19th September 2002, 20:37
It's here http://cultact-server.novi.dk/kpo/avisynth/avs_cvs.html as snapshot of the actual cvs and packed in the ZIP-distribution as well.

sh0dan
20th September 2002, 11:35
The most current version of the docs can also be read directly from the CVS via this link (bookmark for safe keeping)

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/avisynth2/avisynth/docs/index.html