|
|
NOTE: Win32 codec DLLs are not supported on your CPU (x86_64) or your
operating system (Linux). You may encounter a few files that cannot
be played due to missing open source video/audio codec support.
我已经安论坛的方法安装codes和win32的库,make也没有提示有错,就是在用mplayer放音频文件时提示不能打开设备!怎么办?
[AO OSS] audio_setup: Can't open audio device /dev/sound/dsp: No such file or directory
[AO_ALSA] alsa-lib: pcm_hw.c:1248 snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
[AO_ALSA] alsa-lib: pcm_dmix.c:864 snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: Device or resource busy
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Creating link /root/.kde/socket-Fantasy.
can't create mcop directory
我用的版本是MPlayer-1.0rc2
这是我用 mplayer -ao help的输出:
pdaliu@Fantasy:~$ mplayer -ao help
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 63, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Available audio output drivers:
oss OSS/ioctl audio output
alsa ALSA-0.9.x-1.x audio output
arts aRts audio output
esd EsounD audio output
jack JACK audio output
nas NAS audio output
mpegpes DVB audio output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
这是我用mplayer -vo help的输出:
pdaliu@Fantasy:~$ mplayer -vo help
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 63, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Available video output drivers:
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
fbdev Framebuffer Device
fbdev2 Framebuffer Device
aa AAlib
xvidix X11 (VIDIX)
cvidix console VIDIX
null Null video output
mpegpes Mpeg-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame
这是我configure所代的参数:
./configure --prefix=/opt/MPlyaer1.0/ --enable-gui --codecsdir=/opt/MPlyaer1.0/codecs/ --win32codecsdir=/opt/MPlyaer1.0/win32/ --enable-xmms --enable-linux-devfs
--codecsdir这个参数我看很多地方都是用--with-codecsdir可我看了一下./configure -help没有这个啊!用算我用了也会出错 |
|