View Single Post
Old 12th January 2020, 04:18   #2  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
If you use LAV Audio decoder then you can enable its mixing feature. Set the mixing target to Stereo, you can control the levels for the center channel, surround channels and LFE.

The other option I use all the time lets AviSynth do the work. Use this function: (by Tebasuna)
Quote:
Function Dmix6Stereo(clip a)
{
flr = GetChannel(a, 1, 2)
fcc = GetChannel(a, 3, 3)
lrc = MixAudio(flr, fcc, 0.3694, 0.2612)
blr = GetChannel(a, 5, 6)
return MixAudio(lrc, blr, 1.0, 0.3694)
}
and adjust the coefficients in bold to your liking (LFE is not used by default).

If you want the LFE channel in the downmix use this function:
Quote:
Function Dmix6StereoLfe(clip a)
{
flr = GetChannel(a, 1, 2)
fcc = GetChannel(a, 3)
lfe = GetChannel(a, 4)
lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
mix = MergeChannels(lfc, lfc)
lrc = MixAudio(flr, mix, 0.2929, 1.0)
blr = GetChannel(a, 5, 6)
return MixAudio(lrc, blr, 1.0, 0.2929)
}

Last edited by manolito; 12th January 2020 at 04:31.
manolito is offline   Reply With Quote