PDA

View Full Version : 6 Channel Wav to Ac3 (cmd line)?


ApPojken
24th February 2006, 11:02
Hi!

I am about to automate the ac3 encoding in our department. I have just downloaded BeSweet and FFMpeg and any program with command line support could be the engine in my application. I just need a helping hand before I design my little GUI I think.

What would the command line look like for encoding 6 mono .wav-files to a 5.1 Dolby Digital? Preferable with a 448 kbit setting. I couldn't figure it out in BeSweet myself.

Thanks!

/ApPojken

JnZ
27th February 2006, 11:53
Hi,

You must create one small text file, eg: mono.mux, which contain this lines:
<PATH>\SL.wav
<PATH>\FL.wav
<PATH>\SR.wav
<PATH>\C.wav
<PATH>\LFE.wav
<PATH>\FR.wav
Don't forgot write files with correct path! SL ... FR.waw are your 6 x wav mono files.

Then your wanted cmd for besweet is:
BeSweet.exe -core( -input "d:\mono.mux" -output "d:\mono.ac3" ) -ac3enc( -b 448 -6ch )

1)mono.mux is your txt file.
2)change correct paths.
3) check, if you have ac3enc.dll in your besweet dir.

J.
P.S.: Next time,:search: :)

EDIT: This channel order is for muxing from LST, read posts bellow!

Dams
27th February 2006, 14:06
Hi,

I believe that the correct order is :

FL.wav
C.wav
FR.wav
SL.wav
SR.wav
LFE.wav

??

tebasuna51
27th February 2006, 14:14
Yes, the correct order is :

FL.wav
C.wav
FR.wav
SL.wav
SR.wav
LFE.wav

JnZ
28th February 2006, 14:32
I'm sorry, my big mistake!!!
Yes of course correct order is:
FL.wav
C.wav
FR.wav
SL.wav
SR.wav
LFE.wav

My post above shows channel order when you muxing from lst.
J.

ApPojken
28th February 2006, 14:34
Thanks!