[MPlayer-users] Problem using MPlayer and ALSA

Raymond Yau superquad.vortex2 at gmail.com
Mon Jun 14 10:33:11 CEST 2010


2010/6/14 Pierre CLARENC <pierre.crc at gmail.com>

>  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.
>
> >>I doubt your problem is related to mplayer, but rather caused by the
> quality
> >>of your wireless connection. You will generally want to use Ethernet or
> fast
> >>PLC for streaming, which are way more reliable (and fast) than wireless
> >>communication. A little googling on that topic will tell you the same!
>
> >>just my 2 cents,
> >>Seb.
>
> Thanks for you answer,
>
> I agree with you but it's for a demonstration and the demonstration will be
> better using Wifi than Ethernet :).
> Moreover, it works when I use OSS (but sometimes I have problem of multiple
> access to /dev/dsp file so I prefer use ALSA).
>
>
> >>Does -cache help?
>
> >>Carl Eugen
>
> Thanks too,
>
> I see no improvement using -cache option :
>
> ./mplayer rtsp://mylink/monfichier_mp3.mp4 -ao alsa -ac ffmp3 -cache 8192
> -cache-min 4
>
> Message is always the same when sound is crashing :
>
> [AO_ALSA] Write error: Broken pipe Audio : 100.1%
> [AO_ALSA] Trying to reset soundcard.
>
> Another indication : when I use ALSA, pourcentage indicated (100 *
> audio_time_usage / mpctx->delay) is always about "100%". When I use OSS,
> the
> value is smaller : about "10%" maximum.
> I have noticed that when I use ALSA, it tries to decode much data at the
> same time than when I use OSS. Maybe, there is a link ?
>
> Thanks in advance,
>
> Pierre
>

which alsa device are you using since you only specify -ao alsa ?

what is the default device ?  ( pulse , hw:0,0 or plug:dmix:0 )


More information about the MPlayer-users mailing list