Jean - 记录成长历程

  • 关于
  • Language
  • RSS Feed
  • 微博
  • 豆瓣
20
Jun

fedora11下安装mplayer最新版(适用于常见linux发行版)

By admin|Linux系统|19 Comments

参考了不知名作者的安装步骤,编译安装时根据MPlayer v1.0rc2的./configure –help做了相应修改。

下面是很黄很暴力的效果图

(一) 下载的相关包

下载路径:http://www.mplayerhq.hu/MPlayer/releases/

src: MPlayer v1.0rc2

skin: Blue-1.7.tar.bz2

font: gb2312-ming.tar.bz2

codecs:all-20071007.tar.bz2 essential-20071007.tar.bz2

(二) 安装codec

[root@jeantoe Download]#tar jxvf all-20071007.tar.bz2

[root@jeantoe Download]#mv all-20071007 /usr/lib/codecs

[root@jeantoe Download]#tar jxvf essential-20071007.tar.bz2

[root@jeantoe Download]#mv essential-20071007 /usr/lib/wincodecs

(三) 安装MPlayer

[root@jeantoe Download]#yum install -y gtk2-devel glib2-devel zlib* gcc

[root@jeantoe Download]#tar jxvf MPlayer-1.0rc2.tar.bz2

[root@jeantoe Download]#cd MPlayer-1.0rc2

[root@jeantoe Download]# ./configure –enable-gui –enable-largefiles –enable-menu –prefix=/usr/local/mplayer –codecsdir=/usr/lib/codecs –win32codecsdir=/usr/lib/wincodecs/ –confdir=/etc/mplayer –cc=gcc3 –disable-ivtv

[root@jeantoe Download]# make
[root@jeantoe Download]# make install

(四) 安装字体、皮肤等用于美化界面

[root@jeantoe Download]# tar xjvf gb2312-ming.tar.bz2
[root@jeantoe Download]# mv gb2312-ming /usr/local/mplayer/share/mplayer/font/
[root@jeantoe Download]#cd /usr/local/mplayer/share/mplayer/font/
[root@jeantoe Download]#ln -s gb2312-ming font

安装皮肤

[root@jeantoe Download]# mv Blue /usr/local/mplayer/share/mplayer/skins/
[root@jeantoe Download]# cd /usr/local/mplayer/share/mplayer/skins/
[root@jeantoe skins]# ln -s Blue default

(五)桌面启动/创建启动器

名称: MPlayer
命令:  /usr/local/mplayer/bin/gmplayer

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

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

(六) 故障分析及其解决
安装完后,我们启动MPlayer,有可能会出现如下这样的错误:  ”New_Face faild. Maybe the font path is wrong.   please supply the text font file. ( ~/.mplayer/subfont.ttf ).”
这时候我们用系统自带的字体来代替.

[root@jeantoe Download]# cd /usr/share/fonts/chinese/TrueType
[root@jeantoe Download]# cp gbsn00lp.ttf ~/.mplayer/subfont.ttf 这样就解决了字体问题了.

无觅相关文章插件,快速提升流量

Tagged as: 入门, 基础, 软件安装
Add your comment →

19 Comments

  1. 我自己编译安装了svn版,除了下载的慢一点,其他的问题不太难解决

    [回复]

    By: penguin
    2010-05-06 at 10:38
  2. make不通过ibvo/libvo.a(video_out.o):(.data+0×44): undefined reference to `video_out_ivtv’
    collect2: ld returned 1 exit status
    make: *** [mplayer] 错误 1

    [回复]

    admin 回复:
    05月 4th, 2010 at 21:03

    @penguin, configure的时候有问题吗?

    [回复]

    penguin 回复:
    05月 4th, 2010 at 22:06

    编译的时候没有问题,网上貌似还有人和我一样的情况

    [回复]

    admin 回复:
    05月 5th, 2010 at 21:34

    @penguin, 这个就不清楚了,可以试试用yum安装

    By: penguin
    2010-05-04 at 15:47
  3. 还是make不过,出现问题libvo/libvo.a(video_out.o):(.data+0×44): undefined reference to `video_out_ivtv’
    collect2: ld returned 1 exit status

    [回复]

    By: penguin
    2010-05-04 at 15:45
  4. 这个怎么像是东热风格

    [回复]

    admin 回复:
    06月 28th, 2009 at 22:14

    babyent

    [回复]

    By: young001
    2009-06-28 at 17:58
  5. 编译本身都没有通过,何谈安装?

    [回复]

    cainia0 回复:
    07月 1st, 2009 at 11:57

    步骤都按文章的,但是为什么编译不过呢?
    应该怎样解决?

    [回复]

    admin 回复:
    07月 2nd, 2009 at 21:52

    吧编译时候的错误发上来看看

    [回复]

    cainia0 回复:
    07月 4th, 2009 at 17:36

    [root@www MPlayer-1.0rc2]# make
    Makefile:7: config.mak: 没有那个文件或目录
    ############################################################
    ####### Please run ./configure again – it’s changed! #######
    ############################################################
    make: Nothing to be done for `all’.

    就这样 没了。

    admin 回复:
    07月 4th, 2009 at 23:46

    需要的是./configure的报错

    By: admin Author
    2009-06-26 at 22:03
  6. 请问,MPlayer v1.0rc2 是下哪个?
    没找到… T_T

    [回复]

    admin 回复:
    06月 24th, 2009 at 16:56

    http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2

    [回复]

    cainia0 回复:
    06月 25th, 2009 at 14:55

    J大,skin、font也没找到…
    麻烦给个链接。

    谢谢了,T_T

    [回复]

    admin 回复:
    06月 26th, 2009 at 01:03

    你好,在http://www.mplayerhq.hu/design7/dload.html这里可以全部找到。

    cainia0 回复:
    06月 26th, 2009 at 09:56

    Makefile:7: config.mak: 没有那个文件或目录
    ############################################################
    ####### Please run ./configure again – it’s changed! #######
    ############################################################
    make: Nothing to be done for `all’.

    不明白,请教怎样解决?

    By: cainia0
    2009-06-24 at 09:18
  7. 毛 啊, 那是什么片啊。。。。

    [回复]

    By: 摇滚帮 ROCK BUNCH
    2009-06-22 at 19:52

Leave your comment below! Cancel Reply

点击取消回复

View More Posts:
  • ←
  • →

分类

  • Linux系统 (61)
  • Linux集群 (4)
  • Web服务器 (26)
  • 创业相关 (6)
  • 工作笔记 (34)
  • 我爱折腾 (16)
  • 日记 (46)
  • 网络 (3)
  • 脚本编程 (49)

最新日志

  • 使用w3 total cache给wordpress提速
  • 从零开始,我的创业感悟
  • 为大众创造更美好的日常生活
  • 我的站立式工作平台
  • 阿里云计算使用简评

最新评论

  • admin on 从零开始,我的创业感悟
  • Kovlala on 从零开始,我的创业感悟
  • jean on 从零开始,我的创业感悟
  • Kovlala on 从零开始,我的创业感悟
  • ElmaByrd35 on 解决Fedora 11中文字体难看问题

博客互联

  • HackLog
  • leapsoul
  • Myredhat
  • Ninth element
  • Ti’blog
  • William Hua
  • young001
  • 懒人运维
  • 曙光博客
  • 月夜
  • 月影
  • 杂货店一号铺
  • 王先进’s blog
  • 疯中舞步
  • 菜鸟的技术站
  • 运维进行时

技术

  • DBA BLOG
  • 回忆未来[张宴]
  • 扶凯
  • 王炜's Blog
  • 百变贝贝

Powered by the inLine Minimal WordPress Theme