Skip to contentSkip to conversation

Problems while using mplayer based on ALSA

DISCUSSION  2 participants 2 messages Nov 30, 2007

lore
Share & tools
lore



author
#0 lore raw

Hi All:
Im having problems while using mplayer 1.0 to play music based on alsa 1.0.15.
Im using an ARM9 system and montavista linux 2.6.18.
Here's what the problem is and what's modified in the mplayer.conf:

***************************************************************************************************************

/ $ mplayer /tmp/a.wav
MPlayer 1.0rc2-4.2.0 (C) 2000-2007 MPlayer Team
CPU: ARM
115 audio & 237 video codecs

Playing /tmp/a.wav.
Audio file file format detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[AO_ALSA] alsa-lib: conf.c:2699:(snd_config_hooks_call) Cannot open shared library (null)
[AO_ALSA] alsa-lib: conf.c:3076:(snd_config_update_r) hooks failed, removing configuration
[AO_ALSA] Playback open error: No such file or directory
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file)

*****************************************************************************************************************
/etc/mplayer/mplayer.conf
##################

# audio settings #
##################

# Specify default audio driver (see -ao help for a list). ao=alsa

# Use SDL audio driver with the esd subdriver by default. #ao = sdl:esd

# Specify the mixer device.
#mixer = /dev/mixer

# Resample the sound to 44100Hz with the lavcresample audio filter. #af=lavcresample=44100
****************************************************************************************************************

Can anybody tell me what going wrong with this?

Thanks in advance!

semiyd

_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline

#1 lore raw
Quoted 1 line ·  wrote:

Im having problems while using mplayer 1.0

1.0 isn't yet released.

Quoted 4 lines

to play music based on alsa 1.0.15.
Im using an ARM9 system and montavista linux 2.6.18.

/ $ mplayer /tmp/a.wav

Please use the -v option when reporting problems.

Quoted 2 lines

...
[AO_ALSA] alsa-lib: conf.c:2699:(snd_config_hooks_call) Cannot open shared library (null)

Does your platform support dynamic linking and versioned symbols? How did you configure alsa-lib?

Regards,
Clemens