LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 915|回复: 5

在KDE下,mplayer总是说/dev/dsp忙!

[复制链接]
发表于 2005-3-20 09:31:03 | 显示全部楼层 |阅读模式
下面是mplayer出错的消息。
$ mplayer yyddr-attl-cd1.avi
MPlayer 1.0pre5try2-3.4.3 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon Willamette 2220 MHz (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 1
Compiled for x86 CPU with extensions: SSE2

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/zzhao/.mplayer/config
Reading /home/zzhao/.mplayer/codecs.conf: Can't open '/home/zzhao/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 73 audio & 180 video codecs
font: can't open file: /home/zzhao/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Can't open input config file /home/zzhao/.mplayer/input.conf: No such file or directory
Input config file /usr/share/mplayer/input.conf parsed: 53 binds

Playing yyddr-attl-cd1.avi.
Cache fill:  0.00% (0 bytes)    AVI file format detected.
AVI: ODML: Building odml index (2 superindexchunks)
VIDEO:  [XVID]  608x336  12bpp  23.976 fps  1810.5 kbps (221.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AC3: 2.0 (stereo)  48000 Hz  192.0 kbit/s
No accelerated resampler found
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
audio_setup: Can't open audio device /dev/sound/dsp: Device or resource busy
alsa-init: got device=0, subdevice=0 alsa-init: 1 soundcard found, using: default

不知道为什么,有的时候,可以发声,有的时候不可以。 :thank
发表于 2005-3-20 10:28:03 | 显示全部楼层
你用的是不是集成的声卡?
回复 支持 反对

使用道具 举报

发表于 2005-3-20 11:46:23 | 显示全部楼层
别的程序声卡能用否
回复 支持 反对

使用道具 举报

发表于 2005-3-20 13:00:51 | 显示全部楼层
把KDE的声音服务关了
回复 支持 反对

使用道具 举报

发表于 2005-3-20 15:40:52 | 显示全部楼层
是不是用了arts?我在KDE裏用arts也有這個問題,用esd反而是正常的
回复 支持 反对

使用道具 举报

发表于 2005-3-20 16:54:44 | 显示全部楼层
MPlayer 1.0pre2-3.2 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 1177 MHz (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
编译实时CPU检测 - 警告, 这不是最佳选择! 如果你想获得最佳的表现, 加上--disable-runtime-cpudetection选项重新编译mplayer
Reading config file /usr/local/etc/mplayer/mplayer.conf: 没有那个文件或目录
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: 61 audio & 157 video codecs



请问遇到这个问题怎么办?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表