View Single Post
Old 12th January 2020, 21:47   #4  |  Link
Richard1485
Guest
 
Posts: n/a
Quote:
Originally Posted by manolito View Post
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)
}
Quote:
Originally Posted by tebasuna51 View Post
You can use also ffmpeg with:

ffmpeg -drc_scale 0 -i "input.ac3" -af "pan=stereo|FL < .4FL + .4FC + .2SL|FR < .4FR + .4FC + .2SR" -acodec pcm_s24le "output.wav"
So, to make the first downmix that manolito posted, it's like this in ffmpeg:
Quote:
ffmpeg -drc_scale 0 -i "input.ac3" -af "pan=stereo|FL < .3694FL + .3694FC + .2612SL|FR < .3694FR + .3694FC + .2612SR" -acodec pcm_s24le "output.wav"
Is that right?
  Reply With Quote