Log in

View Full Version : 4.0 ac3 downmix through avisynth


dotBL0t
2nd October 2008, 21:11
Hi all!
It's the first time that I face a 4.0 ac3 track. Any idea on how to correctly downmix it to 2.0 DPLII through avisynth?

:thanks:

tebasuna51
3rd October 2008, 01:40
Hi all!
It's the first time that I face a 4.0 ac3 track. Any idea on how to correctly downmix it to 2.0 DPLII through avisynth?

Try with:
function Dmix4qDpl2(clip a) # 4 Channels Quadro L,R,SL,SR
{
flr = GetChannel(a, 1, 2)
bl = GetChannel(a, 3)
br = GetChannel(a, 4)
sl = MixAudio(bl, br, 0.3714, 0.2144)
sr = MixAudio(bl, br, -0.2144, -0.3714)
blr = MergeChannels(sl, sr)
return MixAudio(flr, blr, 0.4142, 1.0)
}

and Normalize() is recommended also.

dotBL0t
3rd October 2008, 09:41
Thanks man! ;)