Log in

View Full Version : Simply cannot get AviSynth 2.5 to work


tipex01
18th November 2006, 19:12
I just cannot get AviSynth 2.5 to work on my computer. AviSynth 2.0.8 works just like a charm, but now I've tried every single AviSynth 2.5.x version and can't get any of them to work with either mplayer2.exe, VirtualDub or VirtualDubMod. Also tried a wide range of different versions of vDub(mod) without effect.

The error message I'm getting in VirtualDubMod with AviSynth 2.5 is "AVI Import Filter error: (Unknown) (80040154)". After a whole lot of googling I'm out of things to try here. Any suggestions that might help?

Wilbert
18th November 2006, 23:35
1) Install AviSynth v2.56.

2) Open the script

Version()

in WMP6.4 (mplayer2.exe). What does it say?

tipex01
18th November 2006, 23:40
I just get an error from mplayer2 saying "Class not registered (Error=80040154)" (translated from my norwegian system).

Trying one of the first hits on google for this problem(regsvr32 avisynth.dll) says "LoadLibrary("avisynth.dll") failed - No access.". I'm the administrator user of my windows 2000 system.

Blue_MiSfit
19th November 2006, 00:34
Sounds like you have some pretty serious problems with your Windows 2000 installation.

How long has it been since you reformatted? What software do you have installed? Codec packs are always suspect, but they generally interfere with directshow. Still, I wouldn't be surprised.

Are you having any other problems with your computer?
~MiSfit

Pookie
19th November 2006, 05:30
http://www.free-codecs.com/guides/How_to_fix_Class_not_registered_or_80040154_error.htm


http://72.14.253.104/search?q=cache:z-oRQ73YIMoJ:www.updatexp.com/support-files/80040154.pdf+80040154&hl=en&gl=us&ct=clnk&cd=3&client=firefox-a

tipex01
19th November 2006, 13:04
It's an almost fresh install, no other codec packs or anything of the like, except Auto GordianKnot. I'm also experiencing no other problems.

Pookie: As said, none of the google-hits could help :/

What's really wierd is that I'm also unable to open the dll in OllyDbg(debugger) using it's LoadDLL.exe.

Pookie
19th November 2006, 14:25
Create a new user with admin rights, and log back in as that user. See if the error messages go away.

Fizick
19th November 2006, 17:24
What service pack of windows 2000?
What directx?
Try update both.

tipex01
19th November 2006, 17:27
Service Pack 4, DirectX 9.0c, no updates available.

Blue_MiSfit
20th November 2006, 00:56
scary. No other problems with your machine?

Are you sure the hardware is stable? Could be hard drive or RAM corruption...

~MiSfit

Fizick
20th November 2006, 06:33
may be you have several avisynth.dll ?
try remove all. And firstly deinstall Autogordian Knot.

slk001
21st November 2006, 17:30
There have been issues with the 2.56 installer, especially with a new install (this happened to me only after I completely "refreshed" my system - like you've done). Try getting the LATEST version (V2.57 RC-1 of 16 Sept, 2006). I suggest that you follow Fizick's suggestion of removing ALL TRACES of previous versions. Run the UNINSTALL program, then scour the registry and WINNT\SYSTEM directory for any AVISYNTH references.

Then install the new stuff. If it still doesn't install, paste the info from the installer here. It should point in the right direction.

omer123
22nd November 2006, 22:18
Hey,I have the same problem,also with a new machine.
I used to convert hundreds of movies using DVD2SVCD, CCE SP 2.5 and Avisynth, but now I installed the latest versions of DVD2SVCD and Avisynth 2.57 and the scripts will not load!
The script doesn't load even on virtualdub. However, some scripts do work , like the changing disc picture.It looks like this:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\AVISYN~1.DLL")
Blackness(2)
AssumeFPS(25)
ConvertToYUY2
BicubicResize(480,576)
AvisynthBMP_Loader("C:\Program Files\DVD2SVCD\Movie","ChangeCDPicture.bmp")
BicubicResize(480,576)
AddBorders(112,0,112,0)
BicubicResize(480,576)
The one that doesn't work looks like this:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\dgindex\DGDecode.dll")
AVISource("F:\omer\Videos\Click\part1.avi",audio=false)
ConvertToYUY2()
AssumeFPS(25,1,True)
BicubicResize(480,432,0.0,0.6)
AddBorders(0,72,0,72)
Import("C:\Program Files\DVD2SVCD\Movie\ResampleAudio.avs")
ResampleAudio(44100) I have been searching for hours for a solution or a hint,
can someone help?

Pookie
22nd November 2006, 23:17
Just a hunch:

http://www.free-codecs.com/download/Helix_YUV_Codecs.htm

I had similar problems on a machine until I installed the above, but YMMV.

Wilbert
22nd November 2006, 23:20
The ResampleAudio(44100) trick doesn't work anymore with CCE 2.5, you need to use AddAudio():

http://forum.doom9.org/showthread.php?p=315640#post315640

omer123
23rd November 2006, 00:59
Thank u guys, I really tried both ways (actually the three ways)- but still-CCE and Virtualdub keep crashing every time. I installed the codecs and changed the script as was said but...
Should I just go back to the old Avisynth?:(

foxyshadis
23rd November 2006, 17:34
First try temporarily clearing your autoload plugin folder, if there's anything in there. Next, if it still crashes, try commenting each line one at a time until you find the offending one. If doing nothing but opening the avi still crashes, I think it's still some kind of codec problem; if that's the case, you can try going back to 2.56 but it won't help.

You should note that the latest build of dvd2svcd is over a year old; it would make sense to update dgdecode and other commonly used plugins.

Unfortunately I'm not willing to install it just to see what it breaks when I do (maybe on an older system sometime), and the author doesn't list the included software anywhere, short of reading the entire changelog and noting everything mentioned, so I can't be sure of exactly what might be causing the problem.

omer123
24th November 2006, 00:48
Thanks, I tried everything u said but virtualdub keeps crashing (actually-not responding), and crashing even upon the thin script like:

LoadPlugin("C:\PROGRA~1\DVD2SVCD\dgindex\DGDecode.dll")
AVISource("F:\omer\Videos\Click\part1.avi",audio=false)
With or without Resampleaudio.

You should note that the latest build of dvd2svcd is over a year old; it would make sense to update dgdecode and other commonly used plugins.


It just doesn't make sense: the DVD2SVCD software comes as a group of softwares that suppose to work together (and always did untill now...), and I use the Avisynth version that comes with it, so why there is a need to start updating different components of it?

Fizick
24th November 2006, 16:02
What is real long name of this file?:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\AVISYN~1.DLL")

omer123
24th November 2006, 18:27
What is real long name of this file?:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\AVISYN~1.DLL")

Sorry, didn't get your question....What you wrote doesn't resemble my script.

stickboy
24th November 2006, 18:58
Sorry, didn't get your question....What you wrote doesn't resemble my script.You previously said:
The script doesn't load even on virtualdub. However, some scripts do work , like the changing disc picture.It looks like this:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\AVISYN~1.DLL")
Blackness(2)

omer123
24th November 2006, 19:06
Aha:
C:\PROGRA FILES\DVD2SVCD\Avisynth2.5 Plugins\Avisynth BMP Loader.dll
OR
C:\PROGRA FILES\DVD2SVCD\Avisynth2.5 Plugins\Avisynth Subtitler.dll

These are the only dll's in that directory.

Fizick
24th November 2006, 19:15
Probably Avisynth 2.5.7 installation replaces plugin folder path in registry to new place.
And probably this folder contains new Directshowsource.dll and TCPdeliver.dll, which are not compatible with old avisynth from DCD2SVCD.
How to cure it? It is another question :)

omer123
24th November 2006, 19:22
Yes! Ifound those 2 dll's. I tried to replace them with the content of the directory "Avisynth plugins", but Virtualdub crashed again.Anyway,I installed Avisynth 2.5.7 as a part of DVD2SVCD INSTALLATION, SO WHY SHOULD THERE BE A MISMATCH?

Fizick
24th November 2006, 21:02
simplest script is work? :

version()

and what it show?

omer123
24th November 2006, 21:26
says:

Avisynth 2.57,build:Sep 16 2006 {21:44:19}
2000-2006 Ben Rudiak -Gould,et al

Fizick
24th November 2006, 22:12
next test:

AVISource("F:\omer\Videos\Click\part1.avi",audio=false)
info()

omer123
25th November 2006, 02:30
Doesn't work.
But something worth mentioning:
Making a script just with:
Version() Doesn't work either.Only when I copy this simple script exactly from the examples folrder (which means,with:
# Prints out version information
Only then the script runs! The other scripts in that folder also work fine. It seems Avisynth has a problem with new created scripts.