打印

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

mplayer的rpm包是不是有两个,两个都装了就可以了吗,好象我用gmplayer还是没有gui啊,还要不要装什么插件,官方下的xmms需不需要装插件?是一定要装的吗
中国linux公社 嘉兴学院校园联络员

TOP

出错啦

按板主所说的安装mplayer时出现如下错误:
./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
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 3.2.2, ok
Checking for CPU vendor ... GenuineIntel (15:1:2)
Checking for CPU type ...  Intel(R) Pentium(R) 4 CPU 1.70GHz
Checking for GCC & CPU optimization abilities ... pentium4
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for mtrr support ... yes
Unknown parameter: --with.codecsdir=/usr/lib/codecs
[root@rhyme MPlayer-1.0pre5]# make
Makefile:7: config.mak: 没有那个文件或目录
make: *** No rule to make target `config.mak'.  Stop.

TOP

实在不好意思,是我自己写错了.是 with-codecsdir=/usr/lib/codecs 而不是 with.codecsdir=/usr/lib/codecs  
对不起!

TOP

[quote:dba68387fd="terryhelium"]mplayer的rpm包是不是有两个,两个都装了就可以了吗,好象我用gmplayer还是没有gui啊,还要不要装什么插件,官方下的xmms需不需要装插件?是一定要装的吗[/quote]
看看那两个包的名字,应该可以从名字上看出来他是干什么的。
建议找一些包含 codes 、skin 的 RPM 包使用。这样装一个包就可以了。

xmms 官方下载的应该包含 mp3、ogg、cd、wav 插件的,如果下载 RPM 要注意插件和主程序经常是分开的。
不想要 ID 了请找我。

TOP

应该只要联接字体路径就ok了吧
bash-2.05b# ln -s /usr/share/fonts/ttf/zh_CN/simhei.ttf ~/.mplayer/subfont.ttf

这个搞定了。。。
结果字幕也可以自动加载

但是~~~

之体无法显示中文!为什么?

shell下一行行跳过的确可以显示中文的字幕! :-(
...:::Pain past is pleasure:::...

TOP

中文字幕显示出来都是

_ _._ _
Sure
__ __ __

__ __ __ ___

英文确可以显示

照理说我用simhei.ttf这个字体是正确的
...:::Pain past is pleasure:::...

TOP

顶一下

TOP

我安装了rpm包,可不知安到哪了,运行gmplayer,出现下面情况,帮我看看还要怎么做阿
[root@localhost root]# gmplayer
MPlayer 1.0pre4-3.3.2 (C) 2000-2004 MPlayer Team

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

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: No such file or directory
vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': 没 有那个文件或目录
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/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/local/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/local/etc/mplayer/input.conf: 没有那个文件或目录
Falling back on default (hardcoded) input config
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
[skin] file ( /usr/local/share/mplayer/Skin/default/skin ) not found.
Skin not found (default).
[root@localhost root]#
thungoder@yahoo.cn

TOP

pcgo, 你没有装 gmplayer 的皮肤~~~~
不想要 ID 了请找我。

TOP

真的 不错噢

TOP

Re: 编译不通过:(

[quote:072ae45b5d="goldendark"]错误如图,,求助...[/quote]不要在 Win 的分区里编译!

TOP

按照楼主说的做,结果太爽了,什么都能放。楼主辛苦了!

TOP

好文章!顶!
另外,给大家推荐个好网站,有大量的linux资料,软件,技术文档免费下载。
http://linux-down.kmip.net

TOP

呵呵。就看你们这几个发帖者和斑竹在抬杠啊
很有趣。。
还好MPLAYER1PRE5我已经会装了
不过还是3Q拉。。
这么有奉献精神。。
顶你下。。。:)
天天开心

TOP

[quote:cb211030f1="mtdxc"]呵呵。就看你们这几个发帖者和斑竹在抬杠啊
很有趣。。
还好MPLAYER1PRE5我已经会装了
不过还是3Q拉。。
这么有奉献精神。。
顶你下。。。:)[/quote]
玩笑也不能开阿

TOP