以下是我在RedFlag 6 DeskTop 下安装成功的。
1,首先下要下载以下三个软件:
下载主程序: MPlayer-1.0pre8(有更新版的,建议用这个版本)
官方解码器: essential-20061022.tar.bz2
官方win32_CODES-all: windows-essential-20061022.zip
皮肤: Blue-1.4.tar.bz2(这个没必要,但也是一种换皮肤的方法)
上面的那几样东西都在官方网站找到并顺利下载
下载网址: http://www.mplayerhq.hu/homepage/design7/dload.html
2,安装codec(键盘输入请仔细,下载的版本与下面安装代码不同。)
安装官方解码器: essential-20061022.tar.bz2
tar vjxf essential-20061022.tar.bz2
mv essential-20061022 /usr/lib/codes
chmod 644 /usr/lib/codes/*
chown root.root /usr/lib/codes/*
安装官方win32_CODES-all: windows-essential-20061022.zip
unzip windows-essential-20061022.zip
mv windows-essential-20061022 /usr/lib/wincodes
chmod 644 /usr/lib/wincodes/*
chown root.root /usr/lib/wincodes/*
3,安装MPlayer
tar vjxf MPlayer-1.0pre8.tar.bz2
cd MPlayer-1.0pre8
./configure
make (make的时间相当的长)
make install
cd etc
cp example.conf /usr/local/mplayer/etc/config
cp codecs.conf /usr/local/mplayer/etc/
4,安装字体
把你想用的字体(如 simsun.ttf ,windows系统的字体目录下就有)放到/home/<你的用户名>/.mplayer 下(root用户放到/root/.mplayer下)并且改名为subfont.ttf .
拷贝(这里假设您的simsun字体临时放在 /root/ 目录下,用户为root):
cp /root/simsun.ttf /root/.mplayer/
改名:
mv /root/.mplayer/simsun.ttf /root/.mplayer/subfont.ttf
(windows系统c\windows\font中有很多字体,你选择一个拷贝到/home/<你的用户名>/.mplayer,如果没有.mplayer就新建一个,并改名为subfont.ttf,这样同样可以安装好字体,不必输入那么多命令)
字体可在XP系统里的FONT里找或网上下载吧。
5,安装皮肤
tar vjxf Blue-1.4.tar.bz2
mv Blue /usr/local/mplayer/share/mplayer/skins/
cd /usr/local/mplayer/share/mplayer/skins/
ln -s Blue default
6,如果运气还不错的话,应该就可以运行了。在终端中输入
/usr/local/mplayer/bin/gmplayer
就可以运行程序了。
如果这里提示字体错误而且又能使用软件的话,这里的错误就是第4步那里没有做好了。
lacky 于 2008-01-20 13:54:38发表:
今天刚装好,不过少了一个给firefox的plugin哪位有能不能给上传一个或者发给我邮箱tolacky@yeah.net,应该叫做mplayer.so在firefox下面的plugin目录里有。谢了
lxy123 于 2008-01-19 20:45:51发表:
Checking for GCC & CPU optimization abilities ... CPU optimization disabled. CPU not recognized or your compiler is too old.
这句话说cpu优化失败,cpu不能识别或者编译器太老。
下载gcc4.2.2安装试一下
ycycollege 于 2008-01-19 13:08:53发表:
看起来很麻烦啊!
awer 于 2008-01-19 12:45:23发表:
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.2.1, ok
Checking for host cc ... cc
Checking for cross compilation ... yes
Checking for CPU vendor ... GenuineIntel (6:15:13)
Checking for CPU type ... Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz
Checking for GCC & CPU optimization abilities ... CPU optimization disabled. CPU not recognized or your compiler is too old.
error
Checking for kernel support of mmx ... failed
It seems that your kernel does not correctly support mmx.
To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of mmxext ... failed
It seems that your kernel does not correctly support mmxext.
To use mmxext extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of sse ... failed
It seems that your kernel does not correctly support sse.
To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of sse2 ... failed
It seems that your kernel does not correctly support sse2.
To use sse2 extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for mtrr support ... yes
Checking for assembler support of -pipe option ... no
Checking for assembler (as 2.17.50.0.3) ... ok
Checking for Linux kernel version ... 2.6.22.1-9, ok
Checking for MPlayer binary name ... mplayer
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for -lposix ... no
Checking for -lm ... no
Checking for langinfo ... no
Checking for language ... using en (man pages: en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... none
Checking for __builtin_expect ... no
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... no
Checking for round ... no
Checking for nanosleep ... no
Checking for socklib ... no
Checking for inet_pton() ... no (trying inet_aton next)
Checking for inet_aton() ... no (network support disabled)
Checking for inttypes.h (required) ... no
Checking for bitypes.h (inttypes.h predecessor) ...
Error: Cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/en/faq.html).
Check "configure.log" if you do not understand why it failed.
为什么我装不上呢,inttypes.h明明可以找到啊!
ljtbbs 于 2008-01-07 19:11:38发表:
不错,顶一个~~~~~~~~~~~~~~~
jakeycool 于 2008-01-07 00:47:23发表:
如题,谢谢楼主!(e:e2s
bibaboone 于 2007-12-15 16:33:55发表:
想请教一下我安装完为什么没有操作窗口,只能通过终端输入mplayer才能起动,而且只能通过键盘才能快进等操作,图形界面是什么样的呀,能否发个截图。
lyhdzxf 于 2007-12-12 08:59:13发表:
:0wmjh(1 顶起来……