Log in

View Full Version : 5.1 AAC to 5.1 Dolby Digital problems


LordHeinrich
2nd October 2006, 23:52
I am trying to encode Dolby Digital 5.1 audio from a 5.1 channel AAC source. I read some guides on this site and they state to use FAAD2 to convert to a 5.1 interleaved wav and then to use BeSplit to split to 6 mono waves. Then, I can import the Mono waves to a DD encoder.

I can get the 5.1 Wav from FAAD2, but when I demux the 5.1 into mono waves, nothing can open or import it. What went wrong??

The 5.1 wav plays fine, but the monos don't work.

The software I want to use for the DD is Sony Vegas I also have Sonic Scenarist and I think that has an AC3 encoder, but I am not sure.

tebasuna51
3rd October 2006, 00:56
I am trying to encode Dolby Digital 5.1 audio from a 5.1 channel AAC source. I read some guides on this site and they state to use FAAD2 to convert to a 5.1 interleaved wav and then to use BeSplit to split to 6 mono waves. Then, I can import the Mono waves to a DD encoder.

I can get the 5.1 Wav from FAAD2, but when I demux the 5.1 into mono waves, nothing can open or import it. What went wrong??

BeSplit have a bug (http://forum.doom9.org/showthread.php?p=609216#post609216), and the mono wav's are incorrect.

There are other problems to split a wav 6 chan from FAAD2:
- The wav header is WAVE_FOTMAT_EXTENSIBLE.
- The wav can be >4GB (header incorrect but usable data)

Use WavWizard (http://www.rarewares.org/wavewiz/wavewizardv0.54b.zip) to avoid these problems spliting the wav
Edit -> Preferences
Ignore size in header.
Stream manipulation: Mono Streams
Output Format: Wave PCM

LordHeinrich
3rd October 2006, 02:57
Thank you very much!! I will give it a try.

Rockaria
3rd October 2006, 03:03
foobar2k in a session (http://www.foobar2000.org/) : 5.1ch AAC->convert: DSP chain(ie. 48k upsample)->convert:aften AC3 cli encoder->5.1ch ac3.

magicclue
3rd October 2006, 18:38
@Rocaria

for your solution:
is the channel mapping correct then?

Rockaria
3rd October 2006, 19:54
@magicclue, longtimenosee.

The foobar new(0.9x) stdinput decodes m4a into correct channels.
I tested with aften latest daily build(http://jbr.homelinux.org/aften/daily/) with a 6ch speaker test file(m4a->ac3).
-acmod 7 -b 128 -lfe 1 - %d was my cli aften profile settings.
Plays with MPC:ffdshow:liba52 accordingly.

magicclue
4th October 2006, 01:10
thank you!

LordHeinrich
4th October 2006, 05:02
Thanks for the help. Since I had the 5.1 WAV files already, I used wavewizard and it worked perfectly.

I will also copy down the Foobar directions for future projects.