View Full Version : 6ch WMV audio -> 6ch wav/ac3
fuxor123
27th November 2005, 03:29
After reading this thread and trying all the suggestions i still cant get foobar to open wma files...Can someone tell me what i have to do so i can encode my wma's to wav?
I tried audio dvd creator but when i mux the ac3 i get there with the video file the sound gets more and more offsync the longer i play it...
So foobar is my last resort butit just wont open the files.
It always shows me this error message:
Error opening file for playback (Unsupported format or corrupted file).
JnZ
27th November 2005, 09:36
After reading this thread and trying all the suggestions i still cant get foobar to open wma files...Can someone tell me what i have to do so i can encode my wma's to wav?
I tried audio dvd creator but when i mux the ac3 i get there with the video file the sound gets more and more offsync the longer i play it...
So foobar is my last resort butit just wont open the files.
It always shows me this error message:
Error opening file for playback (Unsupported format or corrupted file).
Hi,
do you have Foobar Special Installer?
EDIT: Or look to [%your Foobar directory%/plugins] and look, if you have in this dir file [foo_wma.dll]
fuxor123
27th November 2005, 14:41
Hi,
do you have Foobar Special Installer?
EDIT: Or look to [%your Foobar directory%/plugins] and look, if you have in this dir file [foo_wma.dll]
Yeah I downloaded the special installer. it should feature the wma codec cuz it states that on the site...but it doesent. I dont have the wma.dll. I downloaded one but when loading it foobar tells me that it cant because i have a different version than the dll was built for...
JnZ
27th November 2005, 16:37
... I dont have the wma.dll....
Ok, so when you install Foobar (special), do you activate all input plugins? (because in default, wma plg. isn't checked).
fuxor123
27th November 2005, 19:54
I already checked for that cuz it was mentioned in the thread earlier somewhere and i couldn't find those plugins...i could only check which files should be associated with foobar...
Maybe i oversaw it...
could you probably post the wma.dll?
Rockaria
27th November 2005, 21:47
Edit: copy this link to the address bar
http://www.geocities.com/escapesjunkyard/foo_wma.zip
Check if c:\Program Files\foobar2000\components\foo_wma.dll exists.
It is dated 11/07/2004 and looks like the same as the the linked version.
Once copied(extracted) to the foobar folder, you can play any music by foobar file-open, drag-drop-on-foobar-window or open-with(foobar) explorer shell extention.
fuxor123
27th November 2005, 23:20
Ok...works now. Thanks for the support and i've been a blind idiot!
fuxor123
28th November 2005, 01:11
I found right way to convert 6ch WMA (WMV) to AC3.
4) Convert mono.mux via BeSweet to AC3.
Syntax>BeSweet -core( -input "d:\mono.mux" -output "d:\audio.ac3" ) -ac3enc( -b 448 )
Note: Set the biterate of AC3, as You want (-b 448 switch).
Sorry to be bothersome again but if i try to convert the *.mux file to AC3 i always get the following error message:
BeSweet v1.5b29 by DSPguru.
--------------------------
Error 73: Unable to get ac3enc.dll interfaces
Quiting...
[00:00:00:000] Conversion Completed !
Logging ends : 11/28/05 , 01:08:28.
I have no idea what the problem could be...
JnZ
28th November 2005, 12:30
BeSweet v1.5b29 by DSPguru.
--------------------------
Error 73: Unable to get ac3enc.dll interfaces
Quiting...
[00:00:00:000] Conversion Completed !
Logging ends : 11/28/05 , 01:08:28.
I have no idea what the problem could be...
Hmmm,it seems to be problem with new version of BeSweet or AC3Enc, it can't eat 16bit 6ch wave, so try this:
1) Convert WMA (WMV) via Foobar 2000 to 6ch, 32-bit float WAVe.
(BeSweet opens WAVes > 2G, that have 32-bits only)
2) Convert this WAVe via BeSweet to six 1ch WAVes.
Syntax> BeSweet.exe -core( -input "x:\6ch.wav" -output "d:\mono" -6chfloat )
This will generate six WAVes: monoFL.wav, monoC.wav, monoLR.wav, monoSL.wav, monoSR.wav, monoLFE.wav)
3) Write small *.mux file eg. mono.mux, which contains this lines:
d:\monoFL.wav
d:\monoC.wav
d:\monoFR.wav
d:\monoSL.wav
d:\monoSR.wav
d:\monoLFE.wav
Note: Lines must be exactly like this, to keep the right channel order.
4) Convert mono.mux via BeSweet to AC3.
Syntax>BeSweet.exe -core( -input "d:\mono.mux" -output "d:\mono.ac3" ) -ac3enc( -b 448 -6ch )
Note: Set the biterate of AC3, as You want (-b 448 switch).
This works for me fine.
N-Joy.
P.S.: BUT! You need double space for 32-bit FLOATs waves! :(
fuxor123
28th November 2005, 22:19
Oke...it works till i have the seperate channels:
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : ...\000 englisch.wav
[00:00:00:000] | Output: FL, FR, SL, SR, C, LFE
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +---------------------
[01:48:30:364] Conversion Completed !
[00:38:20:000] <-- Transcoding Duration
But i just can't mux them to an AC3 together again...
JnZ
28th November 2005, 22:25
But i just can't mux them to a AC3 together again...
Ok so You have six mono wave files, ok?
And do you make text file *.mux? And put to it this six names of waves, you have? Or where is problem...
LigH
29th November 2005, 00:59
Then show us the result when trying to use the *.mux file as input.
And for me, 16 bit mono waves always worked well as input...
fuxor123
29th November 2005, 10:26
Oke...with the concersion of the one big ass wav file to six big mono files i have no problem as seen here:
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : l:\#Root\Rips\000 englisch.wav
[00:00:00:000] | Output: FL, FR, SL, SR, C, LFE
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +---------------------
[01:48:30:364] Conversion Completed !
[00:39:46:000] <-- Transcoding Duration
And that's how i did it just for checking reasons:
http://img202.imageshack.us/img202/8867/wavtomonowav10vz.jpg
http://img202.imageshack.us/img202/2449/wavtomonowav21uc.jpg
But as soon as I try to mux em together again besweet gives me error 73...
BeSweet v1.5b29 by DSPguru.
--------------------------
Error 73: Unable to get ac3enc.dll interfaces
Quiting...
[00:00:00:000] Conversion Completed !
Logging ends : 11/29/05 , 10:18:09.
That's how I try to mux it to an ac3. Maybe the fault's here somewhere and i just don't see it.
http://img518.imageshack.us/img518/8654/muxtoac319zp.jpg
http://img518.imageshack.us/img518/2231/muxtoac326cc.jpg
The *.mux file's called mono.mux and contains the following lines:
monoFL.wav
monoC.wav
monoFR.wav
monoSL.wav
monoSR.wav
monoLFE.wav
I put it in the same directory than the actual mono wave's which have the exact same filenames as in the mux file...
How big will the ac3 in the end become?
The original wav file i got from foobar is 6.97 GB (7'486'848'044 Bytes) big and the mono wave's are all 1.16 GB (1'247'808'044 Bytes) big.
Maybe the error is caused by the file size...
tebasuna51
29th November 2005, 14:43
The *.mux file's called mono.mux and contains the following lines:
monoFL.wav
monoC.wav
monoFR.wav
monoSL.wav
monoSR.wav
monoLFE.wav
I put it in the same directory than the actual mono wave's which have the exact same filenames as in the mux file...
You need put fullname (with path) in mono files inside the .mux
How big will the ac3 in the end become?
The original wav file i got from foobar is 6.97 GB (7'486'848'044 Bytes) big and the mono wave's are all 1.16 GB (1'247'808'044 Bytes) big.
Maybe the error is caused by the file size...
mono wav (32 bit/sample) -> 1247808000 Bytes/4 bytes = 311952000 samples
311952000/48000 (samples/sec) = 6499 sec
ac3 448 Kbps -> 448 * 6499 = 2911552 kbits = 2911552/8 Kbytes = 363944 Kbytes
fuxor123
30th November 2005, 00:15
Oke...solved the problem and like always it was a pretty easy solution...
Turns out I didn't have ac3enc.dll on my computer. So I just downloaded it from here (http://besweet.notrace.dk/BS_ac3enc.zip) placed it in my besweet directory and now it works...i hope =)
Thanks for all the help and the suggestions and the wma to ac3 guide btw!
Edit:
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : ...\mono.mux
[00:00:00:000] | Output: ...\mono.ac3
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +------- AC3ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | AC3 bitrate : 448
[00:00:00:000] | Channels Mode : 5.1
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
[01:48:19:000] Conversion Completed !
[01:48:19:000] Actual Avg. Bitrate : 447kbps
[00:11:16:000] <-- Transcoding Duration
Logging ends : 11/30/05 , 00:24:08.
Hurray!
fuxor123
1st December 2005, 23:20
Ok...it worked all out very fine now...but why the hell is the audio still offsync when i mux it with the video again?
I don't understand the world anymore...
Any ideas?
I followed JNZ's guide exactly and have a 25 fps video i want to mux the soudn with. But the sound gets badly offsync the longer the movie plays...
JnZ
2nd December 2005, 00:07
It happends, because WMV is sucks. Usually, You need set small offset to delay +- audio. You must experiment on with this. It takes some little time...
With my experience, audio is out of sync, but if You delay it for some miliseconds, it should be ok.
1) Just open video in VDM...
2) then add converted AC3 to streams...
3) For start set audio offset to 0
4) Try to save pice of video with directstream copy of video and audio...
5) Play this piece of video, and find scene, where you can objectively judge A/V sync
6) Judge aprox A/V delay +- in miliseconds (can be several seconds)
7) Set this delay in VDM to audio
8) Jump to step 4)
9) Until you've get video with synced video and audio
10) save whole video :-)
Problem should be, if audio changes whole time (stretch or squeeze), but I think, that this shouldn't happend.
Good luck.
EDIT: Usually, delay is value something around -2000ms.
EDIT2: Important thing! If you converting video via Avisynth using DirectShowSource("filename.wmv"), don't forgot add parameter fps=23.976 or another, depends of yours source. Something like this: DirectShowSource("filename.wmv",fps=23.976). It is very IMPORTANT parameter, otherwise A/V sync is out!
EDIT3: Some WMV can be 24fps. Look at the source in WMP->Statistic, then set fps parametr according to this.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.