LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: Richard

请问有人在SuSE下安装Mplayer 1.0 pre 3成功过?

[复制链接]
发表于 2004-1-13 21:48:24 | 显示全部楼层
你的cpu是amd的吗?应该会自动侦测的。要不,你把cpu用锤子砸开看看?
发表于 2004-1-13 22:03:26 | 显示全部楼层
我用的是BARTON核心的CPU。
 楼主| 发表于 2004-1-13 23:07:41 | 显示全部楼层
beyond_2000, 本来我也以为我应该可以的,但是我还是无法安装,看来还得请你给一个详细的安装步骤,我用编译方法安装时(1.0pre3),告诉我:Unknown parameter: -- 。而且你所说的主页上的codec,是哪个?我的系统里有realplay8和realone,应该改参数了,给个傻瓜教程吧,我太笨了,也不想装rpm的(想也没用,装不上)。谢谢!
 楼主| 发表于 2004-1-14 00:02:57 | 显示全部楼层
搞定了!
我的方法是先强行安装主页上给的打包的rpm,这时会自动建立 /usr/share/Mplayer/ 这个文件夹,其中有Skin和font目录。在编译安装一遍,不带--with参数的,make install后,会建立 /usr/share/mplayer/ 这个文件夹,把Mplayer里的所有文件复制到mplayer里,运行mplayer,再运行gmplayer,就可以了。
现在又有新问题了,执行 gmplayer 时显示:
linux:~/.mplayer # gmplayer &
[1] 8696
linux:~/.mplayer # MPlayer 1.0pre3-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon Thunderbird 1007 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/etc/mplayer/mplayer.conf: 没有那个文件或 目录
Reading config file /root/.mplayer/config
[cfg] read config file: /root/.mplayer/gui.conf
Reading config file /root/.mplayer/gui.conf
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': 没有那个文件或目录
Reading /usr/etc/mplayer/codecs.conf: Can't open '/usr/etc/mplayer/codecs.conf': 没有那个文件或目录
Using built-in default codecs.conf.
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: 没有那个文件或目录
Can't open input config file /usr/etc/mplayer/input.conf: 没有那个文件或目录
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: 没有那个文件或目录
Failed to open LIRC support.
You will not be able to use your remote control.
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
 楼主| 发表于 2004-1-14 00:19:21 | 显示全部楼层
执行gmplayer后提示:
   error
  New_Face failed. Maybe the font path is wrong.
  Please supply the text font file (~/.mplayer/subfont.ttf)
但是可以正常显示字幕 ,该字幕为rar格式,且不用load subtitle选项,自动调用,字体为楷体(但是不是用的楷体的字体我就不知道了,可能是某个英文字体,显示中文时为楷体)
且不能修改字体选项,每次修改都会出现上面的错误提示。
在~/.mplayer/下将simsun.ttf拷过来并改名为subfont.ttf后,字幕不再显示,且必须将~/.mplayer/所有文件删除,重新执行mplayer , 再运行gmplayer才能恢复带错误提示的正常显示。如何解决?
另外,该字幕为灰色透明字幕,有时背景色彩变成接近灰色时,字幕就看不清了,请问怎样能改字幕的颜色或色深或对比度或不透明?
 楼主| 发表于 2004-1-14 00:21:37 | 显示全部楼层
或者能像xine那样给字幕加个阴影?或边框?
 楼主| 发表于 2004-1-14 00:31:03 | 显示全部楼层
新问题:
播放一dvdrip文件,调用sub字幕时,播放停止。再次播放时仍然无字幕(该字幕为英文字幕)
播放另一dvdrip时,调用改目录下同名.sub字幕文件,提示:
error!
Cannot load subtitles: 该文件所在路径
 楼主| 发表于 2004-1-15 23:56:00 | 显示全部楼层
怎么没人回答了?我的问题太幼稚了?
发表于 2004-1-29 18:42:13 | 显示全部楼层

我觉的字符界面就很好,干吗要装图形的界面呢

我认为使用mplayer最重要的就是中文字幕的显示了,前段时间从网上找了一个mplayer的字体包,非常好用
发表于 2004-1-29 18:51:01 | 显示全部楼层

mplayer使用字幕文件的命令行参数

mplayer -sub <space>[字幕文件名]<space>  -unicode[表示使用unicode字符] <space>  [avi的文件名],需要将字体拷贝到mplayer的字体搜索目录里面,字体文件可以通过www.google.com,搜索gb2312-mi ... 件。使用时带[-unicode]参数。
用了好久,还没有碰到不能显示字幕的电影!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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