Hi,
mplayer is not outputing audio to my sound device. I am able to play sounds using aplay and mp3play, but with mplayer I get no sound. mplayer -ao shows the following output. I don't see ALSA listed. How can I get ALSA support for mplayer?
root@freescale ~$ mplayer -ao help
 MPlayer 1.0rc2-4.4.4 (C) 2000-2007 MPlayer Team
Available audio output drivers:
oss OSS/ioctl audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
hi:
I have the same quesition! why?
mplay
Mplay can play all video format well,but the voice is not normal!!
(test: mp4--OK ts--ok wmv--ok flv--ok wma--ok avi--ok mkv--ok rmvb--ok ,swf--no)
root@freescale ~$ mplayer -ao help
MPlayer 1.0rc2-4.4.4 (C) 2000-2007 MPlayer Team
Available audio output drivers:
oss OSS/ioctl audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
Hi,
I assumed this ;-) I added the mplayer package in ltib and built it for the target imx28evk. Below you can find the configure output during ltib build of the mplayer package. As you can see, the ALSA lib was not found. So I guess that the development libraries/sources e.g. libasound2-dev and the header file alsa/asoundlib.h are missing.
Cheers,
F
cd mplayer-1.0~rc2
+ ./configure --cc=m68k-uclinux-gcc '--host-cc=ccache /usr/bin/gcc -B/usr/bin/' --enable-cross-compile --target=m68k-uclinux --disable-dvdread --enable-fbdev --disable-mencoder --enable-libavcodec_a --enable-libavutil_a --enable-libavformat_a --enable-libpostproc_a --enable-liba52 --disable-mp3lib --enable-static --disable-gui --disable-ivtv --disable-live --disable-dvdnav --disable-dvdread --disable-dvdread-internal --disable-libdvdcss-internal
Detected operating system: uclinux
Detected host architecture: m68k
Checking for m68k-uclinux-gcc version ... not found 
Checking for gcc version ... 4.4.4, ok 
Checking for host cc ... ccache /usr/bin/gcc -B/usr/bin/ 
Checking for cross compilation ... yes 
Checking for assembler support of -pipe option ... yes 
Checking for compiler support of named assembler arguments ... yes 
Checking for .align is a power of two ... yes 
Checking for -lposix ... no 
Checking for -lm ... yes 
Checking for langinfo ... yes 
Checking for language ... using en (man pages: en ) 
Checking for enable sighandler ... yes 
Checking for runtime cpudetection ... no 
Checking for restrict keyword ... __restrict 
Checking for __builtin_expect ... yes 
Checking for kstat ... no 
Checking for posix4 ... no 
Checking for lrintf ... yes 
Checking for mkstemp ... yes 
Checking for nanosleep ... yes 
Checking for socklib ... yes 
Checking for inet_pton() ... yes (using )
Checking for network ... yes 
Checking for inttypes.h (required) ... yes 
Checking for int_fastXY_t in inttypes.h ... yes 
Checking for word size ... ./configure: line 2967: /tmp/mplayer-conf-9294-8118: cannot execute binary file
 
Checking for malloc.h ... yes 
Checking for memalign() ... yes 
Checking for alloca.h ... yes 
Checking for mman.h ... yes 
Checking for dynamic loader ... yes 
Checking for dynamic a/v plugins support ... no 
Checking for pthread ... yes (using -lpthread)
Checking for w32threads ... no (using pthread instead)
Checking for rpath ... no 
Checking for iconv ... yes 
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for sys/dvdio.h ... no 
Checking for sys/cdio.h ... no 
Checking for linux/cdrom.h ... yes 
Checking for dvd.h ... no 
Checking for termcap ... no 
Checking for termios ... no 
Checking for shm ... yes 
Checking for strsep() ... yes 
Checking for vsscanf() ... yes 
Checking for swab() ... yes 
Checking for POSIX select() ... yes 
Checking for gettimeofday() ... yes 
Checking for glob() ... yes 
Checking for setenv() ... yes 
Checking for sys/sysinfo.h ... yes 
Checking for pkg-config ... yes 
Checking for Samba support (libsmbclient) ... no 
Checking for tdfxfb ... no 
Checking for s3fb ... no 
Checking for tdfxvid ... no 
Checking for xvr100 ... no 
Checking for tga ... yes 
Checking for md5sum support ... yes 
Checking for bl ... no 
Checking for DirectFB ... no 
Checking for X11 headers presence ... yes 
Checking for X11 ... no (check if the dev(el) packages are installed)
Checking for DPMS ... no 
Checking for Xv ... no 
Checking for XvMC ... no 
Checking for Xinerama ... no 
Checking for Xxf86vm ... no 
Checking for XF86keysym ... no 
Checking for DGA ... no 
Checking for 3dfx ... no 
Checking for OpenGL ... no 
Checking for VIDIX ... no 
Checking for /dev/mga_vid ... no 
Checking for xmga ... no 
Checking for GGI ... no 
Checking for GGI extension: libggiwmh ... no 
Checking for AA ... no 
Checking for CACA ... no 
Checking for SVGAlib ... no 
Checking for FBDev ... yes 
Checking for DVB ... no 
Checking for DVB HEAD ... yes 
Checking for zr ... no 
Checking for PNG support ... no 
Checking for JPEG support ... no 
Checking for PNM support ... yes 
Checking for GIF support ... no 
Checking for VESA support ... no 
Checking for SDL ... no 
Checking for NAS ... no 
Checking for DXR2 ... no 
Checking for DXR3/H+ ... no 
Checking for IVTV TV-Out ... no 
Checking for V4L2 MPEG Decoder ... yes 
Checking for OSS Audio ... yes 
Checking for aRts ... no 
Checking for EsounD ... Package esound was not found in the pkg-config search path.
Perhaps you should add the directory containing `esound.pc'
to the PKG_CONFIG_PATH environment variable
No package 'esound' found
Package esound was not found in the pkg-config search path.
Perhaps you should add the directory containing `esound.pc'
to the PKG_CONFIG_PATH environment variable
No package 'esound' found
no 
Checking for Polyp ... no 
Checking for JACK ... no 
Checking for OpenAL ... no 
Checking for ALSA audio ... no 
Checking for Sun audio ... no 
Checking for VCD support ... yes 
Checking for dvdread ... no 
Checking for internal libdvdcss ... no 
Checking for cdparanoia ... no 
Checking for libcdio ... no 
Checking for bitmap font support ... yes 
Checking for freetype >= 2.0.9 ... no 
Checking for fontconfig ... no (freetype support needed)
Checking for SSA/ASS support ... no (FreeType support needed)
Checking for fribidi with charsets ... no 
Checking for ENCA ... no 
Checking for zlib ... yes 
Checking for RTC ... yes 
Checking for liblzo2 support ... yes 
Checking for mad support ... no 
Checking for Twolame ... no 
Checking for Toolame ... no 
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no 
Checking for OggTheora support ... no 
Checking for internal mp3lib support ... yes 
Checking for internal liba52 support ... yes 
Checking for libdca support ... no 
Checking for internal libmpeg2 support ... yes 
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no 
Checking for FAAC (AAC encoder) support ... no (in libavcodec: ) 
Checking for FAAD2 (AAC) support ... yes (internal floating-point)
Checking for LADSPA plugin support ... no 
Checking for Win32 codecs ... no 
Checking for XAnim codecs ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer codecs ... yes (using /usr/local/lib/codecs)
Checking for QuickTime codecs ... auto 
Checking for Nemesi Streaming Media libraries ... no 
Checking for LIVE555 Streaming Media libraries ... no 
Checking for FFmpeg libavutil ... yes 
Checking for FFmpeg libavcodec ... yes (libavcodec.so is discouraged over static libavcodec)
Checking for FFmpeg libavformat ... yes 
Checking for FFmpeg libpostproc ... yes 
Checking for libamr narrowband ... no 
Checking for libamr wideband ... no 
Checking for libdv-0.9.5+ ... no 
Checking for XviD ... no 
Checking for x264 ... no (in libavcodec: no) 
Checking for libnut ... no 
Checking for mencoder ... no 
Checking for fastmemcpy ... yes 
Checking for UniquE RAR File Library ... yes 
Checking for TV interface ... yes 
Checking for Video 4 Linux TV interface ... yes 
Checking for Video 4 Linux 2 TV interface ... yes 
Checking for TV teletext interface ... no 
Checking for Radio interface ... no 
Checking for Capture for Radio interface ... no 
Checking for Video 4 Linux 2 Radio interface ... no 
Checking for Video 4 Linux Radio interface ... no 
Checking for Video 4 Linux 2 MPEG PVR interface ... yes 
Checking for audio select() ... yes 
Checking for ftp ... yes 
Checking for vstream client ... no 
Checking for byte order ... little-endian 
Checking for OSD menu ... no 
Checking for Subtitles sorting ... yes 
Checking for XMMS inputplugin support ... no 
Checking for inet6 ... yes 
Checking for gethostbyname2 ... yes 
Checking for GUI ... no
Checking for automatic gdb attach ... no 
Checking for compiler support for noexecstack ... yes 
Checking for joystick ... no 
Checking for lirc ... no 
Checking for lircc ... no 
Checking for color console output ... no 
Checking for DVD support (libdvdnav) ... no 
Creating config.mak
Creating config.h
Config files successfully generated by ./configure --cc=m68k-uclinux-gcc --host-cc=ccache /usr/bin/gcc -B/usr/bin/ --enable-cross-compile --target=m68k-uclinux --disable-dvdread --enable-fbdev --disable-mencoder --enable-libavcodec_a --enable-libavutil_a --enable-libavformat_a --enable-libpostproc_a --enable-liba52 --disable-mp3lib --enable-static --disable-gui --disable-ivtv --disable-live --disable-dvdnav --disable-dvdread --disable-dvdread-internal --disable-libdvdcss-internal !
hi:
I am in accordance with your method tried, but the question remains!
IMX 535:
mplay
Mplay can play all video format well,but the voice is not normal!!
(test: mp4--OK ts--ok wmv--ok flv--ok wma--ok avi--ok mkv--ok rmvb--ok ,swf--no)
root@freescale ~$ mplayer -ao help
MPlayer 1.0rc2-4.4.4 (C) 2000-2007 MPlayer Team
Available audio output drivers:
oss OSS/ioctl audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
Hi,
the following helped for me, though I worked on a ubuntu platform