Log in

View Full Version : Avisynth handler error


Mike9685
20th March 2002, 20:44
I've read the FAQs, searched the forums, searched with Google, and have been unable to resolve this problem. I've succesfully burned several DVDs and 11 avi's (downloaded DVD rips)to SVCDs. DVD2SVCD has worked great (1.0.7 build 4)A couple of days ago I started getting the following error message, just prior to CCE starting the encode, on every movie (tried it on a couple that I have already encoded, same problem).

"AVIFileOpen("E:\Movies Burn\AviSynth_Script_file.avs"):According to the registry, the type of file specified in AVIFileOpen does not have a handler to process it."

I unregistered and uninstalled the Avisynth.dll. Cleaned it from my Win 32 folder. Cleaned the registry of any Avisynth entries. Reinstalled Avisynth, registered the dll, checked to ensure that it was in the Win 32 folder. Same error.

I uninstalled DVD2SVCD, performed the same steps with Avisynth, reinstalled DVD2SVCD (1.0.7 build 1 thru 4), rechecked Avisynth. Tried an avi file. Same error. Tired different avi movies, same error.
Tried a DVD rip, same error.

Here's my system:

A7V266 motherboard (bios 1.03)
2 x 512 mb Crucial RAM 2100
AMD 2000+ CPU
2 x Maxtor 80 gig HDs 7200 rpm (DMA 5)(3 partitions per HD)
Win2K (w/SP2)
CCE 2.5

Here the DVD2SVCD log file:
--------------------------------------------------------
- 3/20/2002 8:06:37 AM
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.0.7 build 4
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 3/20/2002 8:06:38 AM
- Free on drive E: 16507.69 mb
- AUDIO Extraction
--------------------------------------------------------
Audio extraction finished.

--------------------------------------------------------
- 3/20/2002 8:07:05 AM
- Free on drive E: 16413.17 mb
- AUDIO conversion
--------------------------------------------------------

Converting MP2 to WAV. Filename: E:\Movies Burn\Extracted_audio_1.mpa
Executing MADPlay (mp2 to wav). Commandline:
"d:\Program Files\Video Tools\DVD2SVCD\MADPlay\madplay.exe" --verbose --output=wave:"E:\Movies Burn\Encoded_audio_1.mp2.wav" "E:\Movies Burn\Extracted_audio_1.mpa"
Conversion (mp2 to wav) of E:\Movies Burn\Extracted_audio_1.mpa finished.


Converting Audio to MP2. Filename: E:\Movies Burn\Extracted_audio_1.mpa
Executing BeSweet. Commandline:
"d:\Program Files\Video Tools\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "E:\Movies Burn\Encoded_audio_1.mp2.wav" -output "E:\MOVIES~1\Encoded_audio_1.mp2" -logfile "E:\MOVIES~1\Encoded_audio_1.log" ) -ota( -g max ) -ssrc( --rate 44100 ) -2lame( -e -b 128 -m s )
Audio conversion of E:\Movies Burn\Extracted_audio_1.mpa finished.

Audio conversion finished.

--------------------------------------------------------
- 3/20/2002 8:29:59 AM
- Free on drive E: 14775.08 mb
- Converting Pictures
--------------------------------------------------------
Converting: d:\Program Files\Video Tools\DVD2SVCD\DefaultTitlepicture.bmp
Converting: d:\Program Files\Video Tools\DVD2SVCD\DefaultChangeCD.bmp
Finished converting pictures
--------------------------------------------------------
- 3/20/2002 8:30:07 AM
- Free on drive E: 14774.08 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Cinema Craft Encoder.
StreamSectors: 2307292764
AudioSectors: 133985572
VideoPAPO: 33665688
ScanOffsetBytes: 296930
SeqAligningBytes: 18871577
VideoEndHeader: 12
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 900.00
PureMPEGStream: 2120472985.07
Seconds: 8262.32
CalcMPEGStream: 2120472985.07
Frames: 247442
CDSize: 740.00
Cut point 735.00
Variable Settings:
Frames: 247442
Anti Noise Filter: 2
Passes: 4
Image Quality: 17
VAF file creation: On
Video Encoding Mode: Multipass VBR
Min. bitrate: 300
Max. bitrate: 2530
Avg. Bitrate: 2053

Here is the Avi_Synth_Script_file.avs:

LoadPlugin("d:\PROGRA~1\VIDEOT~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("d:\PROGRA~1\VIDEOT~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
AVISource("G:\Movies\THEMAS~1.AVI")
ConvertToYUY2()
ConvertToYUY2()
SimpleResize(480,360)
AddBorders(0,60,0,60)
ResampleAudio(44100)

There was one post (last Oct) that dealt with this same issue. The recommendation was that "It sounds as if you either are using the wrong avisynth.dll or the installation of avisynth has failed."

I am using the dll that came with 1.0.7. Is there a way to check if the installation of avisynth has succeeded without spending an hour of the process? Is there any other information that would help?

The movie file:

The Mask of Zorro
Audio: Mpeg-3 48kz
Video: Divx 29.97 NTSC

Thank you for your help

DDogg
20th March 2002, 20:59
Mike9685, first, great job on your first post here! We appreciate the time you took to read and properly ask your question.

Do this before attempting an encode. Use notepad to create a one line script with just the word "version" in it (no quotes, just the word). Save that as test.avs and attempt to "play" it in media player. Tell us what you see on the screen.

Mike9685
20th March 2002, 21:08
"Windows Media Player Error

Invalid or corrupt data was encountered"

"No other information was available"

DDogg
20th March 2002, 21:36
ok, even with all that you have done, avisynth is still not installed correctly. mplayer or mplayer 6.4 should show a couple of lines of green text stating what version of avisynth you are using assuming you saved the test file with an .avs extension instead of a txt extension.

First check that avisynth.dll is in your system32 dir. Assuming that is is, attempt to reinstall it yet again. Use the version trick above to test quickly.

Failing that I suggest using windows explorer to search for all instances of avisyth.dll and delete them. Then a complete deinstallation of dvd2svcd followed by a reboot then a complete reinstall making sure you use the full bundle, not just the upgrade. Before installing any further upgrade, do the version test again.

Best of luck!

Mike9685
20th March 2002, 23:26
DDOG, Thanks for all your help...

I tried all the procedures in your post. I still get the "invalid or corrupt files" error in WMP. I thought of 2 things that may impact...(1) 2 days before the first problem, I downloaded and installed a Win2K update, the file is shown as "Win2k hotfix (pre SP3)" small file and I'm not sure what it updated. (2)I'm using Windows Media Player 7.1; in the "File as Type" dropdown menu, it doesn't list "avs" as a supported file type. I have to go to "All Files" to get the "test.avs" file to show for selection

I even ran "regcleaner" prior to the reboot and reinstall of DVD2SVCD. After the re-installation, searched the computer and only have one instance of "avisynth.dll" in the system32 directory. (tried deleting the one in the Avisynth folder of DVD2SVCD -still no dice) If you think of something else I can try, let me know, and thanks again...I'll keep plugging along at a solution.

Mike9685
20th March 2002, 23:34
I can open the test.avs file in BBMPEG, I get the green text and "Avisynth v1.00 beta 5... (the rest is too small for my old eyes).

DDogg
21st March 2002, 05:28
Well if you are seeing the green version text avisynth is intalled properly. What you might like to do is right click on a file with an avs extension and select Open with>choose program>scroll down towards the bottom and select windows media player (the old square icon that looks like a sound clapper, NOT the round one). This will use Mplayer 6.4 to play your avs in the future when you double click on one if you check the box that says always use.

I realize we have digressed from the problem you are having but I really don't know what to tell you at this stage. Maybe someone who has had this problem will speak up. If not I'll try to figure it out.

Mike9685
21st March 2002, 21:10
DDOG;
While I was researching this last night, I came upon some more info that may be pertenant. I found this info on several different web sites (1) WMP 6.4 will read avs files, 7.0 will read them on some computers, 7.1 will NOT read any avs files. I tried the "test" avs file with 6.4 (as you suggested) and it worked fine - the dll is registered. Tried a test encode and it failed at the same point, now(2) Several Win2k web sites indicated that lots of people are having problems after installing the "hotfix (pre SP3)" update. Several administrators indicated that after installation, several programs (on their servers) were not able to be updated, and some programs stopped working. The hotfix cannot be uninstalled. Also, (I know I'm digressing from the problem, but I think alot of folks use Win2k and I want to save them from the same hassles) the emergency repair disks and Win2K boot disks - Will not work after installation of the hotfix. Users must make new disks after installation. I'm not savy enough to know if this caused the problem, or how to correct it (other than a clean install of Win2K), but the circumstancial evidence seems to point to it. I have to go on a business trip for 3 weeks; when I get back, I'm going to do a clean install of windows and test the DVD2SVCD before and after installing updates (SP1, SP2, SP3, etc). Thanks again for all your help, I'll check the board when I get back.

DDogg
21st March 2002, 22:36
Thanks for reporting back your research. Perhaps install XP next?

gerti67
22nd March 2002, 01:09
Hi Mike9685,

by speaking of the "hotfix (pre SP3)" - you mean the SRP1 (Security Rollup Package 1) I guess. Hmm, I have it installed on my Win2K SP2 without any problems at all but I never installed any update to Windows Media Player because I don't like the new versions and just want to keep the good old 6.4. With this config there's no trouble at all so I think it really must be a problem with the 7.x versions of Media Player.

But indeed there are some troubles with the SRP1 as you can see here for example:

http://www.ntsecurity.net/Articles/Index.cfm?ArticleID=23994

I think the best you can do is really a clean install and consider the recommendations from the link above.

Greetings,
Gerti