赞助连接

赞助连接

阅 读 文 章

linux下媒体播放器MPlayer-1.0pre7的安装

[来源:网上转载 (http://www.chinaunix.net) | 作者:网友(不详) | 时间:2007-07-07 | 浏览:人次 ]

关键词: mplayer

1. 安装code

tar xjvf all-20050412.tar.bz2

mv all-20050412 /usr/lib/codes

chmod 644 /usr/lib/codes/*

chown root.root /usr/lib/codes/*

unzip windows-all-20050115.zip //or tar xjvf essential-20050412.tar.bz2
mv windows-all-20050115 /usr/lib/wincodes //or mv essential-20050412 /usr/lib/wincodes

chmod 644 /usr/lib/wincodes/*

chown root.root /usr/lib/wincodes/*

2.安装MPlayer

tar vjxf MPlayer-1.0pre7.tar.bz2

cd MPlayer-1.0pre7

./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/wincodes/

参数说明:

./configure \ #详细说明见./configure --help

--prefix=/usr/local/mplayer/ \ #安装路径

--enable-gui \ #如果你只在命令下用可以不要这个,相信是不会的

\ #方便以后调整字体

--with-codecsdir=/usr/lib/codes/ \ #我们把下载的插件拷贝到这里

--with-win32libdir=/usr/lib/wincodes/ \ #指定win32代码目录

make

make install

时间较长

cd etc

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

cp codecs.conf /usr/local/mplayer/etc/

3.安装字体
#cd ---/mplayer-pre7

tar xjvf gb2312-ming.tar.bz2

mv gb2312-ming /usr/local/mplayer/share/mplayer/font/

cd /usr/local/mplayer/share/mplayer/font/

ln -s gb2312-ming font

4.安装皮肤

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

命令令: /usr/local/mplayer/bin/gmplayer

然后选择一个你喜欢的图标.

也可以在终端用/usr/local/mplayer/bin/gmplayer 启动.

补充.............................................
测试环境为 redhat 9.0

TAG标签 : 安装 tar mv cd /usr/lib/wincodes/ /usr/lib/codes/

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表
网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.