netomx
Posts: 80
Joined: Tue Oct 11, 2011 4:06 am

Problem with audio

Thu Aug 09, 2012 2:38 am

I got a problem with mpayer and alsa, I try to open this stream and then it stops. Log:

Code: Select all

MPlayer 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing http://listen.radionomy.com/ratpackradio.
Resolving listen.radionomy.com for AF_INET...
Connecting to server listen.radionomy.com[31.12.64.24]: 80...
Resolving streaming208.radionomy.com for AF_INET...
Connecting to server streaming208.radionomy.com[31.12.64.208]: 80...
Name   : RatPackRadio
Genre  : sinatra
Website: http://ratpackradio.playtheradio.com
Public : yes
Bitrate: 128kbit/s
Cache size set to 320 KBytes
Cache fill:  2.50% (8192 bytes)
ICY Info: StreamTitle='Harry Connick Jr - Joe Slam And The Spaceship';
Cache fill: 12.50% (40960 bytes)
Audio only file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 8 bits!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   7.6 (07.5) of 0.0 (unknown) 28.7% 21%

MPlayer interrupted by signal 2 in module: play_audio
[AO_ALSA] Write error: Operation not permitted
[AO_ALSA] Trying to reset soundcard.
[AO_ALSA] alsa-lib: pcm_hw.c:558:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE failed (-16): Device or resource busy
[AO_ALSA] pcm prepare error: Device or resource busy
A:   7.8 (07.7) of 0.0 (unknown) 28.8% 21%
Exiting... (Quit)
Any suggestion? Thanks!

Return to “Troubleshooting”