gregp01 Tux's lil' helper
Joined: 23 Feb 2004 Posts: 103
|
Posted: Sat May 24, 2008 10:35 pm Post subject: mplayer audio scratchy for 5 seconds, then dies until reboot |
|
|
I recently reinstalled Gentoo after a hard drive failure, and now ALSA is dying after playing a few seconds of scratchy-sounding audio (pops, clicks, etc.) from mplayer. The first attempt, where mplayer plays for a few seconds and then freezes:
Code: | Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [alsa] 48000Hz 6ch s16le (2 bytes per sample)
Starting playback... |
Then, trying again immediately:
Code: | Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO_ALSA] alsa-lib: pcm_direct.c:975:(snd1_pcm_direct_initialize_slave) unable to install hw params
[AO_ALSA] alsa-lib: pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to initialize slave
[AO_ALSA] Playback open error: Input/output error
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback... |
Amarok and mpg123 work fine before using mplayer, but not after:
Code: | ALSA lib pcm_direct.c:975:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to initialize slave
[alsa.c:146] error: cannot open device default
[audio.c:517] error: failed to open audio device
[mpg123.c:709] error: Failed to initialize output, goodbye. |
|
|