频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

Linux系统下安装Mplayer播放器方法

来源: 作者:佚名 出处:巧巧读书 2008-01-23 进入讨论组
 STEP 1. 下载必要的文件:
 
  下载主程序:
 
  MPlayer-1.0pre8.tar.bz2
 
  官方解码器:
 
  essential-20071007.tar.bz2
 
  官方win32_CODES-all:
 
  windows-essential-20071007.zip
 
  皮肤:
 
  Orange-1.3.tar.bz2
 
  上面的那几样东西都在官方网站找到并顺利下载
 
  下载网址: http://www.mplayerhq.hu/homepage/design7/dload.html
 
  STEP2. 安装codecs:
 
 
tar vjxf essential-20071007.tar.bz2
mv essential-20071007 /usr/lib/codes(or /usr/lib/codecs,this is used for.
/configure --with-codecsdir=/usr/lib/codecs/,
you must make the direct is correct,or you cant install the codes.)
chmod 644 /usr/lib/codes/*(or 777)
chown root.root /usr/lib/codes/*

unzip windows-essential-20071007.zip
mv windows-essential-20071007 /usr/lib/wincodes
(or /usr/lib/wincodecs,
this is usedfor ./configure --with-win32libdir=/usr/lib/wincodecs/,
you must make thedirect is correct,or you cant install the codes.)
chmod 644 /usr/lib/wincodes/*(or 777)
chown root.root /usr/lib/wincodes/*


  STEP 3.安装MPlayer:
 
  

tar vjxf MPlayer-1.0pre8.tar.bz2
cd MPlayer-1.0pre8
./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

  回车后,它会让你确认是否真的愿意disable-gcc-checking ,回车就行了。
 
  make
 
  make的时间可能比较长。建议你可以先去干别的事。接下来我们就可以make install了。
 
  make install
 
  
cd etc
cp example.conf /usr/local/mplayer/etc/config
cp codecs.conf /usr/local/mplayer/etc/
 
  STEP 4.安装字体
 
  把你想用的字体(如 simsun.ttf ,windows系统的字体目录下就有c:\windows\font\)放到/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
 
  (如 果不做这一步运行时会报错:New_Face failed. Maybe the font path is wrong.please supply teh text font ~/.mplayer/subfont.ttf.如果没有~/.mplayer,只需要点菜单栏的查看 ,选择,显示隐藏文件即可。)
 
  STEP 5.安装皮肤
 
  tar vjxf Orange-1.3.tar.bz2
 
  mv Orange /usr/local/mplayer/share/mplayer/skins/
 
  cd /usr/local/mplayer/share/mplayer/skins/
 
  ln -s Orange default
 
  官方网站有很多皮肤,下载以后,解压,然后放到/usr/local/mplayer/share/mplayer/skins/ 下,然后右击mplayer,选皮肤浏览,就可以看到你刚放进去的皮肤了。
 
  STEP 6.运行
 
  /usr/local/mplayer/bin/gmplayer
 
  就可以运行程序了。你就可以在linux下听歌看电影了。
 

本U R L:http://www.qqread.com/linux/2008/01/y394002.html 更多文章 更多内容请看Windows操作系统安装系统优化大全系统安全设置专题,或进入讨论组讨论。
收藏此文】【 】【打印】【关闭
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
讨论组问题推荐
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
巧巧电脑频道编辑信箱  告诉我们您想看的专题或文章