mplayer : audio device got stuck

If mplayer is displaying errors messages quite often like this one : “audio device got stuck”, here is a workaround. Add the following option :

-ao alsa:device=hw=0.0

How to find the information following the -ao option?

ALSA utility aplay may help you :

fool@localhost:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel 82801AA-ICH]
Subdevices: 0/1
Subdevice #0: subdevice #0

As indicated here (using ALSA device within mplayer) , to use this only ALSA device available on this host, you have to type : alsa:device=hw=0.0

No more use of pulseaudio for mplayer. The program is accessing ALSA layer directly.

Advertisements

One thought on “mplayer : audio device got stuck

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s