Having looked at the downmixing that BeHappy does for 5.1 to stereo I have a question.
Code:
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
lfe = GetChannel(a, 4)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
return MergeChannels(l, r)
I have a 5.1 ac3 file and according to the
Avisynth documentation the front center channel should be channel 2, but this doesn't seem to be the case and the above BeHappy generated code seems to be right. (If I do downmixing using the channel mapping from the documentation I get no dialogue in the resulting right stereo channel.)
Why is this?