mplayer not playing sound, [AO_ALSA] alsa-lib:, pcm_direct.c:

Bernhard Scheckenbach bscheckenbach at online.de
Mon Apr 23 08:18:41 UTC 2007


Hello dex,

I've removed the unwanted alsa-lib*rpm.i386. The problem remained. So I 
reinstalled the alsa-lib*rpm.i386 and the problem disappeared. Mplayer is
now working again.

Thanks, for your help
Bernhard
 
> Hello All,
>
> may anyone can help me ? Mplayer ist not playing sound anymore. I belive
> this happens after one of the latest updates. I get the error:
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> [AO_ALSA] alsa-lib: pcm_direct.c:1632:(snd_pcm_direct_parse_open_conf)
> Unknown field ipc_sem
> [AO_ALSA] Playback open error: Invalid argument
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Starting playback...
>
> I'm using FC 5 with a 2.6.18-prep SMP x86_64 kernel and
> $rpm -qa | grep alsa
> alsa-lib-1.0.14-0.1.rc1.fc5
> alsa-lib-1.0.14-0.1.rc1.fc5
> alsa-utils-1.0.14-0.1.rc1.fc5
> alsa-lib-devel-1.0.14-0.1.rc1.fc5
>
> $rpm -qa | grep mplayer
> mplayer-1.0-0.72.20070325svn.lvn5
> mplayer-fonts-1.1-3.lvn5
>
> Why 2x alsa-lib-1.0.14-0.1.rc1.fc5 ? Delete it an reinstall ?
>
> Thanks, Bernhard

Sounds like multilib problems I dont have a 64bit box so can't be much help.
run these commands as root:
rpm -qa --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n'|grep alsa

you should see a mix of 64 & 32 bit rpms remove the unwanted with
rpm -e --noscripts --notriggers Your-unwanted-rpm.ix86

watch it the out going rpm could take with it wanted files so I allways
do a rpm -V packagename after. also putting exactarch=1 in yum.conf should 
avoid multilib problems but I cant be certain. if you get stuck post back!

...dex




	







More information about the fedora-list mailing list