Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer audio scratchy for 5 seconds, then dies until reboot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gregp01
Tux's lil' helper
Tux's lil' helper


Joined: 23 Feb 2004
Posts: 103

PostPosted: Sat May 24, 2008 10:35 pm    Post subject: mplayer audio scratchy for 5 seconds, then dies until reboot Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum