Log in

View Full Version : WMA Pro to AC3 5.1?


hoozdapimp
4th March 2007, 08:51
I downloaded a few WMV-HD files from Microsoft. They contain WMA Pro audio (6 channel audio), and I'm trying to convert them to XviD with AC3 5.1 to see how my standalone Z500 handles it.

I was able to extract the audio using Windows Media Stream Editor. This gives me the wma file. How can I convert this to DD 5.1? I tried Using BeHappy, but it keeps giving me the following errors:

Starting job audio.wma->audio.ac3
Error: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at BeHappy.AviSynthClip.dimzon_avs_init(IntPtr& avs, String func, String arg, AVSDLLVideoInfo& vi, AviSynthColorspace& originalColorspace, AudioSampleType& originalSampleType, String cs)
at BeHappy.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
at BeHappy.AviSynthScriptEnvironment.ParseScript(String script)
at BeHappy.Encoder.encode()


I'm using BassAudio as the "input" choosing the audio.wma file. For the output I tried using Aften AC3 @ 384 and also ffmpeg AC3 @ 384. Both give the same error. I am running AVI Synth 2.57. Any ideas how to fix this problem in BeHappy? Is there another program I coudl try to use?

Krismen
4th March 2007, 10:47
Foobar2000:

http://i102.photobucket.com/albums/m99/ffiasd/foobar_ac3.png

http://forum.doom9.org/showthread.php?t=122832

hoozdapimp
4th March 2007, 12:23
Great program....however, my input file is showing up as only 2 channel audio in foobar 2000.

Krismen
4th March 2007, 13:54
I suppose that foobar2000 0.9x doesn't support multichannel wma :(, but this version does:

http://files.filefront.com/foobar2000+09+Beta+14+Special+Edition/;4762477;/fileinfo.html



EDIT:

Foobar2000 0.9x decodes wma pro correctly.

:stupid:

tebasuna51
4th March 2007, 14:25
I downloaded a few WMV-HD files from Microsoft. They contain WMA Pro audio (6 channel audio), and I'm trying to convert them to XviD with AC3 5.1 to see how my standalone Z500 handles it.
I suppose there are free samples from MicroSoft.
Can you put the links to these WMV to try reproduce the problem?.

I'm using BassAudio as the "input" choosing the audio.wma file. For the output I tried using Aften AC3 @ 384 and also ffmpeg AC3 @ 384. Both give the same error. I am running AVI Synth 2.57. Any ideas how to fix this problem in BeHappy?
Try using DirectShowSource.

Wilbert
4th March 2007, 15:18
Perhaps you are running W2K?

hoozdapimp
4th March 2007, 23:00
I am using Windows XP x64...coudl that be the problem?

hoozdapimp
8th March 2007, 03:06
Regarding the WMV-HD sample files you can get some from here:
http://www.microsoft.com/windows/windowsmedia/musicandvideo/hdvideo/contentshowcase.aspx

hoozdapimp
8th March 2007, 03:08
I am getting errors using foobar2000 and aften. Seems like aften is excepting out.

Anyone know how to build a graphedit that will properly use 5.1 sound? I can't find the right filters so that the sound is 5.1...it's always just 2 channels.

Pookie
8th March 2007, 03:26
You need to use the bassaudio dlls for Avisynth to maintain 5.1 with wma (dunno about wma Pro - isn't that just AKA 5.1 wma?). Works for me... My bass.dll is dated 2-15-2006 , bassaudio is 03-07-2006, bass_wma is 02-18-2006

BassAudioSource("file.wma")
ConvertAudiotoFloat()


bepipe.exe --script "import(^wma.avs^)" - | aften.exe -v 0 -b 384 -dynrng 1 - output.ac3