[MPlayer-users] stupid question - "spdif" AND "hw=2"

Andrew nospam at flight.us
Thu Oct 16 07:45:37 CEST 2008


On Tue, Oct 14, 2008 at 06:13:19AM +0200, ACS wrote:
> 
> use cat /proc/asound/pcm to find out which subdevice number is used for PCM.
> Then add appropriate entry in your mplayer.conf, example:
> ao=alsa:device=plughw=02.02

With the above in my mplayer.conf, which options did you mean for me to use on the commandline, if any?

Thanks for the suggestion. Still no go.

So far:

1) "ao=alsa:device=plughw=02.01" in my config files doesn't seem to have any effect. with "-ao alsa:device=spdif " I still get:

[AO_ALSA] alsa-lib: confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CX88x.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'

(CXX8x is my Card # 0, and mplayer tries to use /it/ with spdif, whereas it should use card # 2, device # 1)

Isn't there an easy, definitive way to tell mplayer to use audio device/card X?  There are several suboption (such as for "-tv", which specify the card #..., but not a top-level option. Am I correct on that?)

2) However, when i use "  mplayer -ao alsa:device=hw=2.1 dvd:// ", mplayer plays, recognizes that the audio has 6 channels, but plays ONLY TWO channels!  (2ch). The option " -channels 6 " has no effect on the number of channels played.

3) I have no idea how to make SPDIF work with pulse either.

Is it possible at all?

By the way, I am on Fedora 9, up to this point using the installed defaults for alsa, pulse, etc.

I've been tinkering with the above options using two different systems and audio hardware.

One of them is an external SIIG USB SoundWave 5.1 card.

tia

andrew



More information about the MPlayer-users mailing list