OK, here's the deal. I have an AVI file I want to encode and burn to VCD.

GSpot tells me the AVI file is 592x256, 23.976 FPS, in xvid video codec, and that I have two compatible codecs installed (Xvid MPEG-4 Codec, and Xvid MPEG-4 video decoder). I ran the AVI file through VirtualDub mp3 freeze, and masked a section of about 40 bad frames. I also extracted the first 30 minutes into a separate AVI file (using direct stream copy, no encoding) since the original AVI was 1 hour 40 minutes.

I took the 30 minute AVI and extracted the audio in MP2 format.

I followed a guide from KVCD.net to use TOK to essentially do all the work for me. When I run this it gets to TMPGenc and then blows up. TMPGEnc gives me an error saying: File "blahblah.avs" can not open, or unsupported. I have AviSynth installed, version 2, and I verified that the avisynth.dll is in my windows system directory. I can open up a test .AVS file in VirtualDub and the script will load the movie and begin playing, video and audio all seem normal. If I open up the test .AVS file in Windows Media Player, it says "Media Changing" and then it tells me it's playing, but I have no audio or video, just a black screen with no sound, and the timer never moves off 00:00. If I try to open the test .AVS file directly into TMPGenc, I get the same error as before (file can not open, or unsupported).

I verified in TMPGenc environmental setting that the plugin is available, AviSynth/VirtualDub Script Reader v0.1, ReadAVS.dll, priority of 2.

Anyone seen this or know how to handle it? I've searched through tons of forums and have tried the suggestions, uninstalled and reinstalled AviSynth, raised priority of the ReadAVS.dll from 0 to 1 and then again to 2. I can just encode using the AVI and MP2 file in TMPGenc, but I'd like to be able to take advantage of the AviSynth scripting.

Hopefully I've given enough information for someone to help, but if anyone needs more information let me know and I will be glad to provide it.

Any help would be more than appreciated. Thanks.