Log in

View Full Version : How do I downmix multichannel audio (.wav, .ac3 or .dts) to a Pro Logic 2x stereo


xbox360
15th February 2007, 02:33
Hello to Evryone, how do I take 6ch wav or 6 mono wave & convert it to Dolby Prologic 2x ?

How do I downmix multichannel audio (.wav, .ac3 or .dts) to a Pro Logic 2x stereo signal.

shae
15th February 2007, 02:38
Would that be AC3? If yes, you can use Aften on a 6ch WAV (which you could assemble with WaveWizard), or BeSweet (but I suspect Aften may be recommended over it).

xbox360
15th February 2007, 04:28
I have no idea what you tell me to do ?

tebasuna51
15th February 2007, 04:50
Im curently using:

AC3 Machine 0.41 (http://dhost.info/needfulthings/tools/)
BeSweet v1.5b31 (http://dspguru.doom9.net/)

The Error get when I input 6ch wav is Error unknown format wav.

How do I fix this ?
You can't use AC3 Machine/BeSweet to downmix a wav6 (or 6 mono wav) to Dolby ProLogic II.

If the input is an ac3 5.1 the azid decoder (with BeSweet) can do the downmix, but don't work with wav input.

You can use BeHappy or bepipe with an avs script like:
a = WavSource("D:\wav6chan.wav")
flr = GetChannel(a, 1, 2)
fcc = GetChannel(a, 3, 3)
lrc = MixAudio(flr, fcc, 0.3254, 0.2301)
bl = GetChannel(a, 5)
br = GetChannel(a, 6)
sl = MixAudio(bl, br, 0.2818, 0.1627)
sr = MixAudio(bl, br, -0.1627, -0.2818)
blr = MergeChannels(sl, sr)
MixAudio(lrc, blr, 1.0, 1.0)
Normalize()

xbox360
15th February 2007, 05:21
Starting job 5.1 to DPL2.avs->test.ac3
Error: BeHappy.AviSynthException: No compatible ACM codec to decode 0xFFFE audio stream to PCM.
(D:\ConvertXtoDVD\5.1 to DPL2.avs, line 1)
at BeHappy.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
at BeHappy.Encoder.encode()


I get this error How ? Im using BeHappy

tebasuna51
15th February 2007, 11:03
Your wav have a WAVE_FORMAT_EXTENSIBLE header (AudioFormat 0xFFFE) and can't be open by WavSource(), you need use BassAudioSource(),if you have BassAudio plugin, or with DirectShowSource, if you have ffdshow activated to open wav files.

You can also use wavewizard to translate the wav to PCM header.

At last you can use WavNotEx.exe (inside wavutil.zip (http://rapidshare.com/files/3572747/WavUtil.zip.html)), to patch the wav changing the AudioFormat 0xFFFE by the real one. After the patch and with AviSynth v2.5.7 WavSource can read int and float(32) wav's.

xbox360
15th February 2007, 12:05
Thank's tebasuna51 I used Wavewizard v0.54b & it worked !

My next question is what is the bitrate for dolby prologic 2 ?

is it 192kbp 48000hz ?

tebasuna51
15th February 2007, 12:35
More bitrate, more quality.

Using ac3 at least 192 Kb/s is recommended.
With mp3 you can use ~128 Kb/s VBR.
And also aac-lc at ~96 Kb/s.