找回密码
 注册
查看: 752|回复: 10

重装Linux后,发现Mplayer的GUI一闪而过

[复制链接]
发表于 2004-7-26 13:22:09 | 显示全部楼层 |阅读模式
原来安装的Mplayer好好的,现在换了一个硬盘,重装Linux后,发现Mplayer的GUI一闪而过,不知道有什么问题,我用的Linuxsirs的RPM包。
发表于 2004-7-26 15:13:29 | 显示全部楼层
自己把皮肤 放好
回复

使用道具 举报

 楼主| 发表于 2004-7-27 12:48:35 | 显示全部楼层
再Try
回复

使用道具 举报

 楼主| 发表于 2004-8-4 09:57:22 | 显示全部楼层
Skin没有问题,还有没有其他可能?
回复

使用道具 举报

发表于 2004-8-4 15:29:17 | 显示全部楼层
我装winamp时也遇到过同样的情况,最后还是没解决,要不就用Xine
回复

使用道具 举报

发表于 2004-8-4 18:19:42 | 显示全部楼层
在命令行下起动,看看具体什么错误阿。
回复

使用道具 举报

发表于 2004-8-4 23:51:27 | 显示全部楼层
曾几何时,我也遇到这种情况(不过,不是Mplayer,而是Beep),折腾了很久也解决不了
最后,装上那个ML1.1final(原先的是ML1.2p6)后,再进去,一切正常
回复

使用道具 举报

 楼主| 发表于 2004-8-5 20:48:23 | 显示全部楼层
谢谢各位捧场,装了Xine之后,居然说我的系统太慢,真是XXX.昨天用Mplayer的源代码安装,编译花了40分钟,终于搞定了。

ZT. Linuxsirs.org aaccdd的贴子。

手把手教你编译安装MPlayer-1.0pre5
手把手教你编译安装MPlayer-1.0pre5

MPlayer-1.0pre5已经正式发布,有一些改变,一些缺陷得到了修复,功能得到了进一步的加强。MPlayer的名称改变──别担心,MPlayer依旧是MPlayer,只不过是The Movie Player,而不再是The Movie Player for Linux。
详情请看:
http://www4.mplayerhq.hu/homepage/design7/news.html

究竟是哪些功能得到加强呢?举个例子:从现在起,你用MPlayer播放rm/rmvb文件,不需要添加-forceidx选项了,直接支持拖放,启动速度同其它格式没有区别。还有很多,你自己慢慢体会吧。

1,准备工作:
从MPlayer官方站点下载源码包、解码器和字体(这里默认是下载到自己的主目录):
MPlayer-1.0pre5源码包:http://www4.mplayerhq.hu/homepage/design7/dload.html
Essential Codecs:http://www4.mplayerhq.hu/homepage/design7/codecs.html
字体fonts:http://www4.mplayerhq.hu/homepage/design7/dload.html
皮肤:http://ftp5.mplayerhq.hu/mplayer/Skin/neutron-1.5.tar.bz2

2,解压安装解码器:
tar xjvf essential-20040704.tar.bz2
mv essential-20040704/ /usr/lib/codecs //将所有的解码文件移动到/usr/lib/codecs目录下


3,编译安装MPlayer:
tar MPlayer-1.0pre5.tar.bz2
cd MPlayer-1.0pre5
./configure --enable-gui --with-codecsdir=/usr/lib/codecs --with-win32libdir=/usr/lib/codecs --with-reallibdir=/usr/lib/codecs --with-xanimlibdir=/usr/lib/codecs --disable-inet6 --language=zh_CN
make
make install
cd etc/
cp codecs.conf gui.conf input.conf sample.conf ~/.mplayer/
mv ~/.mplayer/sample.conf ~/.mplayer/config


简单说明:由于默认没有支持gui,所以要用图形界面,需要--enable-gui;前面说了,把解码器都安装到了/usr/lib/codecs下,配置的时候指出路径;由于多数情况下ipv6没有用处,所以要--disable-inet6,但是在某些情况下,如校园网使用了ipv6,那么不要加该项;--language选定默认语言。另外,由于MPlayer内建了live支持,所以在线播放不需要--enable-live,如果想要该支持,查看live.com网站。复制几个conf文件到~/.mplayer目录下,以后用户修改自己的配置,直接改这些文件。

4,安装字体:
tar xjvf font-arial-cp1250.tar.bz2
tar xjvf font-arial-iso-8859-1.tar.bz2
tar xjvf font-arial-iso-8859-2.tar.bz2
tar xjvf font-arial-iso-8859-7.tar.bz2
将解压目录移动到/usr/local/share/mplayer/font/目录下
mv font-arial-cp1250/ /usr/share/mplayer/font/
...
ln -s /usr/share/fonts/zh_CN/TrueType/gbsn001p.ttf subfont.ttf //设置中文字幕字体

5,安装皮肤:
cd ~
tar xjvf neutron-1.5.tar.bz2
mv neutron/ default/
mv default/ /usr/local/share/mplayer/Skin

6,运行mplayer/gmplayer
使用MPlayer时,在终端输入mplayer是文本界面播放器,gmplayer打开图形界面。


__________________
回复

使用道具 举报

发表于 2004-8-24 01:22:46 | 显示全部楼层
[root@localhost root]# gmplayer
MPlayer 1.0pre5-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 1840 MHz (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
针对有扩展指令集x86 CPU编译: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /usr/local/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: 73 audio & 180 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
使用Linux的硬件RTC计时(1024Hz)
Input config file /root/.mplayer/input.conf parsed: 53 binds
起动红外遥控支持...
mplayer: could not connect to socket
mplayer: 没有那个文件或目录
红外遥控支持起动失败!
你将无法使用你的遥控器
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/local/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.

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

  这样子是什么问题啊
回复

使用道具 举报

发表于 2004-8-24 01:40:52 | 显示全部楼层
[root@localhost etc]# cp codecs.conf gui.conf input.conf sample.conf ~/.mplayer/                                                                                
cp:是否覆盖‘/root/.mplayer/codecs.conf’? y
cp: stat‘gui.conf’失败: 没有那个文件或目录
cp:是否覆盖‘/root/.mplayer/input.conf’? y
cp: stat‘sample.conf’失败: 没有那个文件或目录
[root@localhost etc]# y
bash: y: command not found
[root@localhost etc]#
回复

使用道具 举报

发表于 2004-8-24 11:17:18 | 显示全部楼层
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=80676
仔细看完它,可以帮你解决几个问题
回复

使用道具 举报

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

本版积分规则

GMT+8, 2026-2-1 01:22 , Processed in 0.030983 second(s), 16 queries .

© 2001-2026 Discuz! Team. Powered by Discuz! X3.5.

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