mplayer stopped working after intrepid update
This morning I started mplayer on a mp3 file but got nothing out of it. It hanged and eventually timed out with this error:
The fix is simple:
Got to assume the intrepid update put pulseaudio in an unstable state. It probably did not stop the pulseaudio daemon before replacing the old libs by the new ones...
[AO_ALSA] alsa-lib: pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Timeout [AO_ALSA] Playback open error: Connection refused Could not open/initialize audio device -> no sound. Audio: no sound Video: no video Exiting... (End of file)This comes after the latest Intrepid updates (1/4/2009) that includes new pulse audio libs.
The fix is simple:
- Find the pulseaudio process id (ps -eaf | grep pulseaudio)
- kill it (-9 is necessary, it won't die with a softer kill)
- start mplayer again and all will be well.
Got to assume the intrepid update put pulseaudio in an unstable state. It probably did not stop the pulseaudio daemon before replacing the old libs by the new ones...
