[MPlayer-users] mplayer play 4 audio chn file to jack

andre castro andrecastro at c-e-m.org
Wed Nov 13 11:31:07 CET 2013


Mplayer geniuses,

Do you have any idea how to reproduce a 4 audio channel wav file, using mplayer and send it to jack

I created a 4chn audio file.
Want mplayer to player, and output it to jack.
All is fine, but the problem is that i am only able to get 2 mplayer output channels in jack .

if I do:

     mplayer -ao jack -channels 4 test_4chan_2.wav

mplayer plays and responds:

     laying test_4chan_2.wav.
     libavformat version 54.6.100 (internal)
     Audio only file format detected.
     Load subtitles in ./
     ==========================================================================
     Opening audio decoder: [pcm] Uncompressed PCM audio decoder
     AUDIO: 44100 Hz, 4 ch, s16le, 2822.4 kbit/100.00% (ratio: 352800->352800)
     Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
     ==========================================================================
     AO: [jack] 44100Hz 2ch floatle (4 bytes per sample)
     Video: no video
     Starting playback...

and jack has only the following outputs:

     system:capture_1
     system:capture_2
     system:playback_1
     system:playback_2
     MPlayer [14434]:out_0
     MPlayer [14434]:out_1


So it seems that mplayer recognizes that the input file as 4ch ( AUDIO: 44100 Hz, 4 ch,... )
but on AO: [jack] only 2ch appear  ( AO: [jack] 44100Hz 2ch ...)


if I try the same with ecasound:

     ecasound -f 16,4,44100 -i test_4chan_2.wav -o jack

in Jack ecasoud appears with 4 outputs

     system:capture_1
     system:capture_2
     system:playback_1
     system:playback_2
     ecasound:out_1
     ecasound:out_2
     ecasound:out_3
     ecasound:out_4

Do you have any idea of what could I be doing wrong??
I am running Debian (Jessy) and mplayer 1.1-4.7

Thanks a lot
a
-- 
          _
         (`  ).
          http://deceptionnarrativ.es/
       _(       '`.
   .=(`(      .   )     .--
  ((    (..__.:'-'   .+(   )
  `(       )          (   .  )
                http://www.andrecastro.info/
   ` __.:'             `-' '-

--..,___.--,--'-,---..-.--+--.,,-,,...


More information about the MPlayer-users mailing list