欢迎来到天天文库
浏览记录
ID:12688362
大小:37.50 KB
页数:9页
时间:2018-07-18
《安装mplayer详细过程_ok》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、安装mplayer详细过程_OK第1步:下载以下文件到桌面,并且解压1)MPlayer-1.0rc2.tar(http://www.mplayerhq.hu/MPlayer/releases/)2)all-20071007.tar.bz23)windows-all-20071007.zip(http://www.mplayerhq.hu/MPlayer/releases/codecs/)4)皮肤:Abyss-1.6.tar.bz2(http://www.mplayerhq.hu/MPlayer/skins/)第2步:选
2、择“应用程序->系统工具->终端”,执行[root@localhostdesktop]#mkdir/usr/lib/wincodecs/[root@localhostdesktop]#mkdir/usr/lib/codecs/[root@localhostdesktop]#mvall-20071007/*/usr/lib/codecs/[root@localhostdesktop]#mvwindows-all-20071007/*/usr/lib/wincodecs/第3步:安装MPlayer[root@localho
3、stdesktop]#mkdir/usr/local/MPlayer[root@localhostdesktop]#cdMPlayer-1.0rc2[root@localhostMPlayer-1.0rc2]#./configure--prefix=/usr/local/MPlayer--enable-gui--enable-freetype--codecsdir=/usr/lib/codecs/--win32codecsdir=/usr/lib/wincodecs/--language=zh_CN[root@loca
4、lhostMPlayer-1.0rc2]#make[root@localhostMPlayer-1.0rc2]#makeinstall注:--prefix=/usr/local/MPlayer为安装路径--enable-gui为安装图形化用户界面--enable-freetype为调节字体--codecsdir=/usr/local/codecs/--win32codecsdir=/usr/lib/wincodecs/为指定解码位置,与MPlayer-1.0rc2不同--language=zh_CN为中文语言##万一出
5、现问题,执行makeclean命令,重新第3步提示,编译时间比较长,而且比较消耗硬盘空间,所以要保证硬盘空间够,否则报出奇怪的错误,无法查证。第4步:安装皮肤#cd/root/desktop#mvAbyss/usr/local/MPlayer/share/mplayer/skins/#cd/usr/local/MPlayer/share/mplayer/skins/#mvAbyssdefault第5步:安装字体####RHEL5.2#cp/usr/share/fonts/chinese/TrueType/uming.t
6、tf/root/.mplayer/####Fedora9.0#cp/usr/share/fonts/zh_CN/TrueType/zysong.ttf/root/.mplayer/#cd/root/.mplayer/#mvzysong.ttfsubfont.ttf第6步:安装成功,应用程序MPlayer路径:“/usr/local/MPlayer/bin/gmplayer”++++++++++++++++++++++++++++++++下面是执行makeinstall命令的输出:++++++++++++++++++++
7、++++++++++++[root@localhostMPlayer-1.0rc2]#makeinstallinstall-d/usr/local/MPlayer/bininstall-d/usr/local/MPlayer/share/mplayerinstall-d/usr/local/MPlayer/share/man/man1install-d/usr/local/MPlayer/etc/mplayeriftest-f/usr/local/MPlayer/etc/mplayer/codecs.conf;then
8、mv-f/usr/local/MPlayer/etc/mplayer/codecs.conf/usr/local/MPlayer/etc/mplayer/codecs.conf.old;fimake-Clibvolibvo.amake[1]:Enteringdirectory`/root/桌面/MPlayer-1.0rc2/lib
此文档下载收益归作者所有