View Single Post
Old 4th February 2009, 13:28   #8143  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Quote:
Originally Posted by Blue_MiSfit View Post
This one is the 3.1ch 640kbps AC3 track from the BluRay release of Bubble. eac3to complains about encoding it down to a 2ch AC3:

How can I convert this bad boy down to 2ch, 192kbps Dolby Digital properly?
Select your preferred downmix
Code:
function Dmix3Stereo(clip a)  # 3 Channels L,R,C
{
  flr = GetChannel(a, 1, 2)
  fcc = GetChannel(a, 3, 3)
  return MixAudio(flr, fcc, 0.5858, 0.4142)
}
function Dmix4lStereo(clip a)  # 4 Channels L,R,C + LFE
{
  flr = GetChannel(a, 1, 2)
  fcc = GetChannel(a, 3, 3)
  lfe = GetChannel(a, 4, 4)
  clf = MixAudio(fcc, lfe, 0.2929, 0.2929)
  return MixAudio(flr, clf, 0.4142, 1.0)
}
NicAc3Source("Bubble.ac3")
Dmix3Stereo
#Dmix4lStereo
Normalize()
And encode with EncWAVtoAC3 v3.0b
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline