[MPlayer-users] Problem using MPlayer and ALSA

Pierre CLARENC pierre.crc at gmail.com
Fri Jun 11 11:35:07 CEST 2010


Hi,

I have problems using Mplayer (MPlayer SVN-r30100-snapshot-4.4.1) with ALSA.

I want to play a RTP stream accessed through RTSP. When I use Ethernet
interface, audio playback works well but when I use Wifi, audio playback
works most of the time but sometimes I have the following message :

[AO_ALSA] Write error: Broken pipe Audio :
100.1%

[AO_ALSA] Trying to reset soundcard.

mplayer does not crash but plays silence during about one second.

For information, I decode MP3 file using ffmp3 codec :

Forced audio codec: ffmp3
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio)

When I try with OSS, sound works well.

Some commands results may help you :

lspci | grep "Audio"
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition
Audio Controller (rev 02)

cat /proc/asound/card0/codec#0 | grep Codec
Codec: Realtek ALC268

iwconfig
wlan0     IEEE 802.11bg  ESSID:"Mobidic2"
          Mode:Managed  Frequency:2.427 GHz  Access Point:
00:20:A6:49:38:A4
          Bit Rate=54 Mb/s   Tx-Power=20 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=51/70  Signal level=-59 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lshw -C Network

*-network
       description: Wireless interface
       product: AR5001 Wireless Network Adapter
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci at 0000:03:00.0
       logical name: wlan0
       version: 01
       serial: 00:23:4e:10:c9:79
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet
physical wireless
       configuration: broadcast=yes driver=ath5k ip=10.11.129.212 latency=0
multicast=yes wireless=IEEE 802.11bg
       resources: irq:18 memory:55200000-5520ffff

Do you have any idea to fix this problem?

Thanks in advance,

Pierre CRC


More information about the MPlayer-users mailing list