LinuxSir.cn,穿越时空的Linuxsir!

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

我已经安装了mplayer,但是在运行时出现.......................................

[复制链接]
发表于 2004-12-2 00:29:51 | 显示全部楼层 |阅读模式
我已经安装了mplayer,但是在运行时出现:

[root@localhost MPlayer-1.0pre4]# mplayer /mnt/E/english/书面表达(一).avi
bash: syntax error near unexpected token `('


为什么不能播放呀?
我的系统是rh9.0

谢谢```````````````````````
发表于 2004-12-2 01:58:15 | 显示全部楼层
提示说得很清楚了.你的语法有错.文件名中有括号的地方有问题.不写完文件名.看看tab键会有什么妙用.
老兄看看shell方面的书对你有帮助.
 楼主| 发表于 2004-12-2 22:08:44 | 显示全部楼层
谢谢回答,但有一问题,我打开的时候,只有图像,
没有声音,
出现如下提示:

[root@localhost root]# mplayer /mnt/E/english/书面表达.avi
MPlayer 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 1029 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
针对有扩展指令集x86 CPU编译: MMX MMX2 SSE

Reading config file /etc/mplayer/mplayer.conf: 没有那个文件或目录
Reading config file /root/.mplayer/config
Reading config file /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...:
没有那个文件或目录
Reading /root/.mplayer/codecs.conf: 66 audio & 176 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (7649 chars)
使用Linux的硬件RTC计时(1024Hz)
Can't open input config file /root/.mplayer/input.conf: 没有那个文件或目录
Input config file /etc/mplayer/input.conf parsed: 53 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : 没有那个设备
Can't init input joystick
起动红外遥控支持...
mplayer: could not connect to socket
mplayer: 没有那个文件或目录
红外遥控支持起动失败!
你将无法使用你的遥控器

播放 /mnt/E/english/书面表达.avi.
Cache fill:  0.20% (16384 bytes)    VIDEO:  [DIV3]  352x288  24bpp  25.000 fps
128.8 kbps (15.7 kbyte/s)
==========================================================================
打开音频解码器: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 12000->176400 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
打开视频解码器: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
开始播放...
VDec: vo配置要求 - 352 x 288 (选择 csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
电影宽高比未定义 - 无法使用预放大.
VO: [xv] 352x288 => 352x288 Planar YV12  [fs]
No bind found for key MOUSE_BTN2                         %  1.3% 7 0 85%
No bind found for key MOUSE_BTN0                         %  1.3% 7 0 85%
No bind found for key MOUSE_BTN0                         %  1.3% 7 0 85%
No bind found for key MOUSE_BTN0                         %  1.3% 7 0 85%
No bind found for key MOUSE_BTN0                         %  1.3% 7 0 84%
Successfully enabled DPMS.001 ct: -0.018  779/779   5%  4%  1.3% 7 0 84%

正在退出... (退出)
[root@localhost root]#

怎么回事?
发表于 2004-12-2 22:12:40 | 显示全部楼层
试一下gmplayer运行gui界面的mplayer吧
或者mplayer -vo --help
 楼主| 发表于 2004-12-2 22:21:44 | 显示全部楼层
谢谢!!

但是,只出图像,没有声音~~~~~

怎么办呢?
发表于 2004-12-3 00:26:56 | 显示全部楼层
mplayer -ao help
然后一个一个的试过去
 楼主| 发表于 2004-12-3 00:56:26 | 显示全部楼层
谢谢,问题解决了

再次感谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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