LinuxSir.cn,穿越时空的Linuxsir!

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

用livna源安装了mplayer,但是运行时出错,请指教。

[复制链接]
发表于 2008-5-17 12:16:53 | 显示全部楼层 |阅读模式
用livna源安装了mplayer,但是运行时出错,请指教。
错误如下:

[root@192 ~]# mplayer
MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1.50GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
The flip-hebrew option can't be used in a config file.
Error parsing option flip-hebrew=no at line 133

不知道是什么问题,该如何解决?
发表于 2008-5-17 12:57:59 | 显示全部楼层
Post by 江中影月;1850772
用livna源安装了mplayer,但是运行时出错,请指教。
错误如下:

[root@192 ~]# mplayer
MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1.50GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
The flip-hebrew option can't be used in a config file.
Error parsing option flip-hebrew=no at line 133

不知道是什么问题,该如何解决?

这个问题这样解决:
  1. 文件:/etc/mplayer/mplayer.conf
  2. # FriBidi can do "funny" things to some ISO-8859-* subtitles
  3. #flip-hebrew = no   <---这行注释掉就好了,前面加个"#"即可,这是第133行
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-17 13:19:22 | 显示全部楼层
Post by 怀恋在子夜;1850792
这个问题这样解决:

  1. 文件:/etc/mplayer/mplayer.conf
  2. # FriBidi can do "funny" things to some ISO-8859-* subtitles
  3. #flip-hebrew = no   <---这行注释掉就好了,前面加个"#"即可,这是第133行

复制代码


已经按照这样的方法试了以下,可还是不行啊,提示如下:

[root@192 ~]# mplayer
MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1.50GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
-vo <drv>        select video output driver ('-vo help' for a list)
-ao <drv>        select audio output driver ('-ao help' for a list)
vcd://<trackno>  play (S)VCD (Super Video CD) track (raw device, no mount)
dvd://<titleno>  play DVD title from device instead of plain file
-alang/-slang    select DVD audio/subtitle language (by 2-char country code)
-ss <position>   seek to given (seconds or hh:mm:ss) position
-nosound         do not play sound
-fs              fullscreen playback (or -vm, -zoom, details in the man page)
-x <x> -y <y>    set display resolution (for use with -vm or -zoom)
-sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
-playlist <file> specify playlist file
-vid x -aid y    select video (x) and audio (y) stream to play
-fps x -srate y  change video (x fps) and audio (y Hz) rate
-pp <quality>    enable postprocessing filter (details in the man page)
-framedrop       enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
<-  or  ->       seek backward/forward 10 seconds
down or up       seek backward/forward  1 minute
pgdown or pgup   seek backward/forward 10 minutes
< or >           step backward/forward in playlist
p or SPACE       pause movie (press any key to continue)
q or ESC         stop playing and quit program
+ or -           adjust audio delay by +/- 0.1 second
o                cycle OSD mode:  none / seekbar / seekbar + timer
* or /           increase or decrease PCM volume
x or z           adjust subtitle delay by +/- 0.1 second
r or t           adjust subtitle position up/down, also see -vf expand

* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *
回复 支持 反对

使用道具 举报

发表于 2008-5-17 13:31:51 | 显示全部楼层
Post by 江中影月;1850803
已经按照这样的方法试了以下,可还是不行啊,提示如下:

[root@192 ~]# mplayer
MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1.50GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
-vo <drv>        select video output driver ('-vo help' for a list)
-ao <drv>        select audio output driver ('-ao help' for a list)
vcd://<trackno>  play (S)VCD (Super Video CD) track (raw device, no mount)
dvd://<titleno>  play DVD title from device instead of plain file
-alang/-slang    select DVD audio/subtitle language (by 2-char country code)
-ss <position>   seek to given (seconds or hh:mm:ss) position
-nosound         do not play sound
-fs              fullscreen playback (or -vm, -zoom, details in the man page)
-x <x> -y <y>    set display resolution (for use with -vm or -zoom)
-sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
-playlist <file> specify playlist file
-vid x -aid y    select video (x) and audio (y) stream to play
-fps x -srate y  change video (x fps) and audio (y Hz) rate
-pp <quality>    enable postprocessing filter (details in the man page)
-framedrop       enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
<-  or  ->       seek backward/forward 10 seconds
down or up       seek backward/forward  1 minute
pgdown or pgup   seek backward/forward 10 minutes
< or >           step backward/forward in playlist
p or SPACE       pause movie (press any key to continue)
q or ESC         stop playing and quit program
+ or -           adjust audio delay by +/- 0.1 second
o                cycle OSD mode:  none / seekbar / seekbar + timer
* or /           increase or decrease PCM volume
x or z           adjust subtitle delay by +/- 0.1 second
r or t           adjust subtitle position up/down, also see -vf expand

* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *

不好意思啊,是我在另一个帖子里说错了话。你应该用gmplayer而不是mplayer :-)

你见到的这一大堆东西是提醒你,mplayer应该怎么在终端下使用,它需要加上一些参数以及你所要播放的媒体文件的路径,不然没法启动。而gmplayer是用来开启mplayer的GUI的,我相信你想要的是GUI化的mplayer
回复 支持 反对

使用道具 举报

发表于 2008-5-17 13:52:44 | 显示全部楼层
用gmplayer, mplayer都可以的。
上面这一大堆的输出说明恰恰你的配置是正确的。

用mplayer播放(终端):
  1. mplayer  xxx.xx  <---媒体文件,相对路径或者绝对路径,怎么说你也得指定一个播放文件参数啊
复制代码
你的输出说明了这点:
  1. MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team
  2. CPU: Intel(R) Celeron(R) M processor 1.50GHz (Family: 6, Model: 13, Stepping: 8)
  3. CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
  4. Compiled with runtime CPU detection.
  5. Usage: mplayer [options] [url|path/]filename               <------这
复制代码
用gmplayer播放:同上,也可以右键用gmplayer播放。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-17 14:29:53 | 显示全部楼层
谢谢楼上几位的回答,现在我在终端输入
[root@192 ~]# mplayer /root/视频/甜蜜蜜.rmvb
可以播放 rmvb格式的文件,但只有声音,没有图像,也没有GUI。
而且用右键也没有gmplayer播放。
回复 支持 反对

使用道具 举报

发表于 2008-5-17 16:09:00 | 显示全部楼层
没有图像有没有装codecs啊,没gui安装就好了呀
回复 支持 反对

使用道具 举报

发表于 2008-5-19 16:32:33 | 显示全部楼层
Post by 江中影月;1850772
用livna源安装了mplayer,但是运行时出错,请指教。
错误如下:

[root@192 ~]# mplayer
MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1.50GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
The flip-hebrew option can't be used in a config file.
Error parsing option flip-hebrew=no at line 133

不知道是什么问题,该如何解决?


sudo sed -i 's/flip-hebrew/#flip-hebrew/' /etc/mplayer/mplayer.conf
这是官方的解决方法。。。
回复 支持 反对

使用道具 举报

发表于 2008-5-19 16:34:03 | 显示全部楼层
呵呵,就是3楼的作法
回复 支持 反对

使用道具 举报

发表于 2008-5-20 12:18:14 | 显示全部楼层
再装个smplayer,livna源里有。
回复 支持 反对

使用道具 举报

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

本版积分规则

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