[MPlayer-users] Problems downmixing to lower number of channels

D Richard Felker III dalias at aerifal.cx
Mon Oct 18 10:37:03 CEST 2004


On Sun, Oct 17, 2004 at 06:09:40PM -0400, Bryan Donlan wrote:
> I'm trying to play back a 5.1 surround file with my 2-channel
> speakers. I've tried using -channels 2, but that just silences all but
> the front side channels. How can I get it to mix the back, center, and
> subwoofer channels into the front two channels?

it's known to be broken. my solution is the following patch..

rich


Index: libmpcodecs/ad_faad.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_faad.c,v
retrieving revision 1.15
diff -u -r1.15 ad_faad.c
--- libmpcodecs/ad_faad.c	21 Sep 2004 20:34:46 -0000	1.15
+++ libmpcodecs/ad_faad.c	18 Oct 2004 08:24:47 -0000
@@ -71,6 +71,7 @@
     /* XXX: FAAD support FLOAT output, how do we handle
       * that (FAAD_FMT_FLOAT)? ::atmos
       */
+    faac_conf->downMatrix = 2;
       switch(sh->samplesize){
 	case 1: // 8Bit
 	  mp_msg(MSGT_DECAUDIO,MSGL_WARN,"FAAD: 8Bit samplesize not supported by FAAD, assuming 16Bit!\n");





More information about the MPlayer-users mailing list