LinuxSir.cn,穿越时空的Linuxsir!

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

rhas4下mplayer快速安装

[复制链接]
发表于 2005-5-10 13:30:41 | 显示全部楼层 |阅读模式
1.下载
MPlayer-1.0pre7
官方CODES-all
all-20050412.tar.bz2
官方win32_CODES-all
windows-all-20050412.zip
皮肤
Blue-1.4.tar.bz2
相关网址: http://www.mplayerhq.hu/homepage/design7/dload.html

2. 安装code

tar vjxf all-20050412.tar.bz2
mv all-20050412 /usr/lib/codes
chmod 644 /usr/lib/codes/*
chown root.root /usr/lib/codes/*

unzip windows-all-20050412.zip
mv windows-all-20050412 /usr/lib/wincodes
chmod 644 /usr/lib/wincodes/*
chown root.root /usr/lib/wincodes/*

3.安装MPlayer

tar vjxf MPlayer-1.0pre7.tar.bz2

cd MPlayer-1.0pre7
在/MPlayer-1.0pre7/help 中用gedit把help_mp-zh_CN.h 编码改成utf-8

./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/wincodes/ --disable-gcc-checking --language=zh_CN

make && make install

cd etc
cp example.conf /usr/local/mplayer/etc/config
cp codecs.conf /usr/local/mplayer/etc/

4.安装字体
把你想用的字体放到/home/你的用户名/.mplayer 下并且改名为subfont.ttf

5.安装皮肤
tar vjxf Blue-1.4.tar.bz2
mv Blue /usr/local/mplayer/share/mplayer/Skin/
cd /usr/local/mplayer/share/mplayer/Skin/
ln -s Blue default

桌面创建mplayer启动器   Ctrl+r 刷新桌面 (我用的gnome)

good luck  
发表于 2005-5-10 13:48:26 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2005-5-10 13:50:06 | 显示全部楼层
我安装时也是 ./configure --prefix=/usr/local/mplayer/ --enable-gui --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/wincodes/ --disable-gcc-checking --language=zh_CN --with-livelibdir=/usr/Mplayer107/live
只不过没有连接字体 还有有我的皮肤上面是中文乱码
不知道现在修改行不? 我不想从新编译啊
我的是fc4
回复 支持 反对

使用道具 举报

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

本版积分规则

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