View Full Version : WAVtoAC3encoder and AviSynth problem
DonAndress
31st January 2010, 15:30
Hello.
I am trying to encode audio in WAVtoAC3 using AviSynth but I have a problem. The program reports "failed to initialize avisynth" error.
The source is DV AVI (both video and audio in the container), the script has only "AviSource" and "FadeIn2" functions, audio is 16bit 48KHz. System is Win7 HP 32bit, gave the administrator rights, software is 32bit, AviSynth 2.8.5 from the official website.
I checked on Vista 32bit and the same error occured.
What can be wrong?
tebasuna51
31st January 2010, 16:22
Can you play the avs file with mpc or equivalent?
I think this isn't an audio (or WavtoAc3encoder) problem.
DonAndress
31st January 2010, 16:36
Can you play the avs file with mpc or equivalent?
I can play it in VirtualDub. I hope this is enough, if not please let me know and I will install MPC.
sneaker_ger
31st January 2010, 17:52
The problem has been known for a very long time. Only thing you can do is downgrade AviSynth to 2.5.7.
DonAndress
31st January 2010, 17:56
The problem has been known for a very long time. Only thing you can do is downgrade AviSynth to 2.5.7.Well that's not gonna solve my problem either...
I have another computer with Vista 32bit and over ther there's AviSynth 2.5.7 installed and I get exectly the same error. On that computer I also can play this avs file in VD.
Is there any other possibility?
sneaker_ger
31st January 2010, 17:58
1.) Get wisodev (http://forum.doom9.org/member.php?u=112892) to finally fix the problem
2.) I didn't test the (unstable) 2.6.0 releases. Maybe it's worth a try.
3.) Open avs in VirtualDub, save to wav and then encode to ac3.
DonAndress
31st January 2010, 18:29
1.) Get wisodev (http://forum.doom9.org/member.php?u=112892) to finally fix the problemYou mean I should write directly to the author of the software?
2.) I didn't test the (unstable) 2.6.0 releases. Maybe it's worth a try.Maybe it will soon be stable and then I'll test it.
3.) Open avs in VirtualDub, save to wav and then encode to ac3.Well for me the whole point of using AviSynth was to speed up things. I did that to finish project but would be glad to run from the script.
sneaker_ger
31st January 2010, 18:34
You mean I should write directly to the author of the software?
Yes. I have reported the issue to him twice (in the aften thread.) but as of today he didn't care to fix it. Maybe he'll do it if more people are nagging about it.
Well for me the whole point of using AviSynth was to speed up things. I did that to finish project but would be glad to run from the script.
I totally agree. You could switch to MeGUI for your ac3 encodings. That's what I have done after I got fed up waiting for a fix. If you want to do some batch maybe it's possible to get a program that is able to pipe avs to aften. (Like people are doing with x264.)
DonAndress
31st January 2010, 19:19
Oh My God...
I have found the problem in my case. It crashes (or fails to load AviSynth) when I drag and drop AVS files, it works fine though when I use the Add button. Of course it is vital to configure advanced settings exactly to my CPU and audio sample (SSE, channels, 1 thread, etc.)
sneaker_ger
31st January 2010, 19:25
I see. This probably means that we are talking about 2 different problems. For me it does not matter whether I use add or drag & drop. Only downgrading to 2.5.7 helps.
DonAndress
31st January 2010, 20:13
And you tried to deremine all properties for your hardware and audio track?
sneaker_ger
31st January 2010, 20:26
And you tried to deremine all properties for your hardware and audio track?
What do you mean? I don't understand. :confused:
/edit: You mean if I disabled all instruction sets (SSEx) not available on my cpu? Yes. It doesn't help.
DonAndress
31st January 2010, 20:31
When you check the "advance" box you get couple of settings to choose from. So maybe try to set 'em accordingly to your hardware specifications, then check what exactly is your audio track and also tweek those settings. I have AviSynth 2.5.8, so WAVtoAC3encoder works combined with it.
sneaker_ger
31st January 2010, 20:56
Ah, when choosing the sample format manually AND using "add" it loads the file. I have definitely chosen the correct SIMD, channel number and sample rate. I'm not sure about sample format though. The audio is 16 bit so I tried both 16_le and 16_be. But it still crashes when clicking on "encode" though.
DonAndress
31st January 2010, 21:07
I actually left the sample format untouched. And you also tried to set number of threads?
In my case it crashed when I run it without compatibility mode. Now it's set as Win XP SP2 and run as administrator. Just to remind - I use Win7.
sneaker_ger
31st January 2010, 22:36
I'm on XP SP3. It doesn't work at all if I leave sample format to auto. Well I guess I'll stop trying from here on anyways. It's the fault of the program, not our fault.
DonAndress
1st February 2010, 09:15
Well I did what I could and passed the knowledge I had ;)
It is most likely a GUI problem. To confirm that you could test the software from the command line.
wisodev
8th February 2010, 21:58
Hello.
I am trying to encode audio in WAVtoAC3 using AviSynth but I have a problem. The program reports "failed to initialize avisynth" error.
The source is DV AVI (both video and audio in the container), the script has only "AviSource" and "FadeIn2" functions, audio is 16bit 48KHz. System is Win7 HP 32bit, gave the administrator rights, software is 32bit, AviSynth 2.8.5 from the official website.
I checked on Vista 32bit and the same error occured.
What can be wrong?
Please try http://wavtoac3encoder.googlecode.com/files/EncWAVtoAC3-4.5.zip
or other version 4.5 package http://code.google.com/p/wavtoac3encoder/downloads/list,
Note: You have to setup "Input options" options when using AviSynth:
http://i46.tinypic.com/2vlr5o8.png
http://i45.tinypic.com/k89qu.png
Tested under Windows 7 x64 (AMD Phenom, 4GB RAM)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.