[MPlayer-users] Play audio on TV, not computer speakers

Andy Furniss adf.lists at gmail.com
Wed Dec 11 16:44:30 CET 2013


James Board wrote:
>> Command line(s) and complete, uncut console output missing.
>
>
> I tried dozens of combinations of what I thought were solutions:
>     mplayer -ac hwac3,hwdts -ao alsa:device=hdmi -channels 2 OUT.avi
>     mplayer -afm hwac3,hwdts -ao alsa:device=hdmi -channels 2 OUT.avi
>     mplayer -ac hwac3,hwdts -ao alsa:device=hw=0.3 -channels 2 OUT.avi
>     mplayer -afn hwac3,hwdts -ao alsa:device=hdmi -channels 2 OUT.avi
>     mplayer -ac hwac3,hwdts -ao alsa:device=plughw:0.3 -channels 2 OUT.avi
> I don't have the console output with me at the moment.  Some generate error messages
> and some did not.
>
> I was hoping this was a frequently asked question and that someone already
> described the solution somewhere.

I just send 2ch PCI to mine (which is all it takes anyway).

I don't have pulse installed so can't say what happens with it.

Look for your hdmi card (for me may vary between boots|)

ph4[PWH]$ cat /proc/asound/cards
  0 [ST             ]: AV200 - Xonar ST
                       Asus Virtuoso 100 at 0xd800, irq 21
  1 [SB             ]: HDA-Intel - HDA ATI SB
                       HDA ATI SB at 0xfe5f8000 irq 16
  2 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                       HDA ATI HDMI at 0xfe6ec000 irq 50

So if I wanted to send to TV Today I would do -

mplayer -ao alsa:device=hw=2.3

I assume the .3 part is normal for hdmi, but as a double check you could 
look at -

ph4[PWH]$ cat /proc/asound/devices
   1:        : sequencer
   2: [ 1- 2]: digital audio capture
   3: [ 1- 1]: digital audio playback
   4: [ 1- 0]: digital audio playback
   5: [ 1- 0]: digital audio capture
   6: [ 1- 0]: hardware dependent
   7: [ 1]   : control
   8: [ 0- 1]: digital audio playback
   9: [ 0- 1]: digital audio capture
  10: [ 0- 0]: digital audio playback
  11: [ 0- 0]: digital audio capture
  12: [ 0]   : control
  13: [ 2- 3]: digital audio playback
  14: [ 2- 0]: hardware dependent
  15: [ 2]   : control
  33:        : timer



More information about the MPlayer-users mailing list