[mythtv-users] No sound from Mythvideo when using alsa

James Nikolich jn-mythtv at compeuphoria.com
Tue Dec 9 09:51:10 EST 2003


I had similar problems with my intel8x0-based nForce-2 sound setup (I have an
MSI K7N2G-ILSR mobo).  I tried various combinations of "-ao alsa9", "-ao
alsa9:intel8x0", "-ao alsa9:hw:0,0"... all to no avail.

I found that running "mplayer -ao help" gave a list of supported audio output
drivers, and lo-and-behold! - there was no "alsa9" output listed.  There WAS an
"alsa1x" (that's with the number 1, not a lowercase "L"...) listed, though;
hmmm...

I tried "-ao alsa1x" and it worked for me.  I guess the mplayer people have
changed their config options to better reflect the fact that ALSA is getting
closer to releasing their "1.0" version.

In the end, I removed the "-ao" option completely from my MythVideo setup, and
instead placed the line "ao=alsa1x" in my "/etc/mplayer/mplayer.conf" config
file, to make mplayer use ALSA however it is called.

The resulting mplayer output looked like:

-----------------OUTPUT BELOW-----------------
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa1x: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa1x] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
-----------------OUTPUT  ENDS-----------------


I hope this helps, Romel.  Drop me a line to let me know!


Jim

--
Mountain Dew and doughnuts... because breakfast is the most important meal of
the day.




Quoting Romel Llarena <rdllarena at yahoo.com>:

> I couldn't get the sound to sync right in Mythvideo,
> so I decided to give alsa a shot. After reviewing
> Jarod's documentation, I tried the following command
> line using alsa9. Now, I have no sound. BTW, I'm
> running a Chaintech mb w/audigy2 PCI card. SPDIF
> output.
>
> /usr/bin/mplayer -fs -zoom -quiet -monitoraspect 4:3
> -vo xv -ao alsa9 %s
>
> Next, I read in another thread to add additonal
> information after alsa.
>
> /usr/bin/mplayer -fs -zoom -quiet -monitoraspect 4:3
> -vo xv -ao alsa9:emu10k1 %s
>
> Still no sound. Any suggestions?
>
> Also, out of curiosity, considering my hardwared
> config. should my sound in MythTV set to /dev/mixer or
> /dev/dsp?
>
> Thanks!
>
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
>


More information about the mythtv-users mailing list