I try to encode an .avi file with AC3 audio. My problem is that TMPGEnc freezes during the test phase, it refuses to finish the the test encodings and stops a few frames from the end. If you manually abort TMPGEnc AVI2DVD (version 1.2.1 build 3) starts up and runs nicely until the next test encoding is almost finished when the same thing happens. I have raised VFAPI Direct Show Priority to 3. In VFAPI setting "Read AVS.dll" says "the file cannot be loaded", the same with "DVD2AVI.vfp". Could this have anything to do with my problem?

Log is:

WNASPI32.DLL 4.7.0.0
--------------------------------------------------------
- 2003-11-10 19:28:13
- AVI to SVCD Conversion
- AVI2DVD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
- D:\Mina dokument\\Tots.DivX.AC3.CD0-MrAD_all.avi
Initializing finished.

Saving Subtitles ini file
--------------------------------------------------------
- 2003-11-10 19:28:19
- Free on drive D: 52512.42 mb
- AUDIO Extraction
--------------------------------------------------------
Audio extraction finished.

--------------------------------------------------------
- 2003-11-10 19:29:07
- Free on drive D: 52124.96 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 2003-11-10 19:29:08
- Free on drive D: 52124.96 mb
- AUDIO conversion
--------------------------------------------------------

Encoding Audio. Filename: D:\DVDTOSVCD\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program\Filmverktyg\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "D:\DVDTOSVCD\Extracted_audio_1.ac3" -output "D:\DVDTOS~1\Encoded_audio_1.aif" -6chaiff -logfile "D:\DVDTOS~1\Encoded_audio_1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -ota( -r 23976 25000 ) -shibatch( --rate 48000 )
Audio conversion of D:\DVDTOSVCD\Extracted_audio_1.ac3 finished.

Executing MPEG51 Encoding. Commandline:
"C:\Program\Filmverktyg\DVD2SVCD\MPEG5.1\pub_enc.exe" -l 2 -m s -n d -r 48.0 -b 384 -L -p 3 -e -v 0 "D:\DVDTOSVCD\Encoded_audio_1.aif" "D:\DVDTOSVCD\Encoded_audio_1"
MPEG 5.1 encoding of D:\DVDTOSVCD\Encoded_audio_1.aif finished.

Audio conversion finished.

--------------------------------------------------------
- 2003-11-10 20:23:58
- Free on drive D: 47984.47 mb
- Video Encoding using TMPGEnc
--------------------------------------------------------
Saving Subtitle Timecodes.
Permanent subtitles.
- Encoding Test Clip D:\Mina dokument\Nedladdningar\AviSynth_Script_file_CQ_TES T.avs
Executing TMPGEnc. Commandline:
"C:\Program\Filmverktyg\TMPGEnc Plus-2.521.58.169\TMPGEnc.exe" "D:\DVDTOSVCD\TMPGEnc_Project_file.tpr" /Encode /Close
Video Encoding finished.

- Encoding Test Clip D:\Mina dokument\Nedladdningar\AviSynth_Script_file_CQ_TES T.avs
Wanted: 4266600453 (4166602kb)
Predicted: 3012580671 (2941973kb) Using CQ Value: 80.00
Calculated next CQ Value: 95.37
Executing TMPGEnc. Commandline:
"C:\Program\Filmverktyg\TMPGEnc Plus-2.521.58.169\TMPGEnc.exe" "D:\DVDTOSVCD\TMPGEnc_Project_file.tpr" /Encode /Close
Video Encoding finished.

- Encoding Test Clip D:\Mina dokument\Nedladdningar\AviSynth_Script_file_CQ_TES T.avs
Wanted: 4266600453 (4166602kb)
Predicted: 3048554 (2977kb) Using CQ Value: 95.37
Calculated next CQ Value: 100.00
Executing TMPGEnc. Commandline:
"C:\Program\Filmverktyg\TMPGEnc Plus-2.521.58.169\TMPGEnc.exe" "D:\DVDTOSVCD\TMPGEnc_Project_file.tpr" /Encode /Close

Grateful for any help!

Bosse