登陆论坛
|
论坛注册
|
加入收藏
|
设为首页
|
RSS
首页
Linux频道
软件下载
开发语言
技术论坛
嵌入式频道
|
安装与配置
|
上网与多媒体
|
使用与技巧
|
输入您的搜索字词
提交搜索表单
您当前的位置:
首页
>
Linux频道
>
Linux入门与提高
>
安装与配置
FC6下Mplayer安装
时间:2007-04-25 11:43:38 来源:
Linux联盟收集整理
作者:
安装mplayer需要三个包的安装:主程序,皮肤,codecs。可以从mplayer官方网站下载:www.mplayerhq.hu
NGdLinux联盟
src: MPlayer-1.0rc1.tar.bz2
NGdLinux联盟
skin: Blue-1.4.tar.bz2
NGdLinux联盟
codecs: all-20061022.tar.bz2
NGdLinux联盟
把它放在/usr/software/mplayer目录下.
NGdLinux联盟
安装时先安装编码包,mplayer的编码包须安装在/usr/lib/codecs/或/usr/local/lib/win32中。
NGdLinux联盟
[root@localhost /]# cd /usr/software/mplayer
NGdLinux联盟
[root@localhost mplayer]# tar vjxf all-20061022.tar.bz2
NGdLinux联盟
[root@localhost mplayer]#cd all-20061022
NGdLinux联盟
[root@localhost all-20061022]#cp * /usr/lib/codecs
NGdLinux联盟
NGdLinux联盟
NGdLinux联盟
下面开始安装mplayer主程序
NGdLinux联盟
[root@localhost mplayer]# tar vjxf MPlayer-1.0rc1.tar.bz2
NGdLinux联盟
[root@localhost mplayer]# cd MPlayer-1.0rc1
NGdLinux联盟
[root@localhost MPlayer-1.0rc1]#./configure --enable-gui
NGdLinux联盟
NGdLinux联盟
[root@localhost MPlayer-1.0rc1]# make
NGdLinux联盟
[root@localhost MPlayer-1.0rc1]# make install
NGdLinux联盟
如果前面的设置等都正确,这里就不会再有错误了。现在mplayer已经装到了你的linux里,下面要安装皮肤即图形界面。
NGdLinux联盟
然后回到原来的目录。
NGdLinux联盟
[root@localhost MPlayer-1.0rc1]# cd ..
NGdLinux联盟
[root@localhost mplayer]# bzip2 -cd Blue-1.4.tar.bz2 tar xvf - -C /usr/share/mplayer/Skin/
NGdLinux联盟
[root@localhost mplayer]# mv /usr/share/mplayer/Skin/Blue/ /usr/share/mplayer/Skin/default/
NGdLinux联盟
这里安装了刚刚的那个blue皮肤并将它设为默认的,安装完以后你也可以找到各种mplayer的皮肤,不用解压直接放到/usr/share/mplayer/Skin/下就可以 在mplayer的界面上修改皮肤了。
NGdLinux联盟
NGdLinux联盟
NGdLinux联盟
安装完后,我们启动MPlayer,有可能会出现如下这样的错误:
NGdLinux联盟
"New_Face faild. Maybe the font path is wrong. please supply the text font file. ( ~/.mplayer/subfont.ttf )."
NGdLinux联盟
这时候我们用系统自带的字体来代替.
NGdLinux联盟
[root@localhost mplayer]# cd /usr/share/fonts/zh_CN/TrueType/
NGdLinux联盟
找其中一个字体文件复制到当前用户目录的 .mplayer/ 目录下
NGdLinux联盟
mplayer 播放rmvb,rm没有图像只有声音
NGdLinux联盟
把selinux设置一下就好了
NGdLinux联盟
chcon -t textrel_shlib_t /usr/lib/codecs/drvc.so
NGdLinux联盟
chcon -t textrel_shlib_t /usr/lib/codecs/drv4.so.6.0
NGdLinux联盟
NGdLinux联盟
播放rm , rmvb,弹出:错误:打不开所需的DirectShow 编解码器:drvc.so ,但能放,为了消去这讨厌的东东你可以执行如下:
NGdLinux联盟
NGdLinux联盟
cd /usr/lib/codecs/
NGdLinux联盟
ldd drvc.so
NGdLinux联盟
输出结果:
NGdLinux联盟
linux-gate.so.1 => (0xffffe000)
NGdLinux联盟
libstdc++.so.5 => not found
NGdLinux联盟
libc.so.6 => /lib/libc.so.6 (0xb7dd1000)
NGdLinux联盟
/lib/ld-linux.so.2 (0x80000000)
NGdLinux联盟
你得去网上找过或从其它系统cp libstdc++.so.5.0.6 到/usr/lib
NGdLinux联盟
然后 ln -s libstdc++.so.5.0.6 libstdc++.so.5 再执行ldconfig
NGdLinux联盟
来顶一下
返回首页
发表评论
共有
条评论
用户名:
密码:
验证码:
匿名发表
相关文章
让MPlayer成为Linux下的万能播放
Linux上音乐荡漾 MPlayer的完美安
FC6中在线安装电影播放机
linux mplayer 安装
关于教育网配置FC6 yum 源的问题
在 Fedora 中编译安装 Mplayer 的
硬盘安装fc6详细步骤及双系统下重
使用mplayer播放,声影不同步解决
FC6安装lumaqq_2006 M2nojre
FC6 Linux下如何写NTFS分区文件
栏目更新
栏目热门
站内搜索:
Linux频道
下载频道
图库
商品
嵌入式频道
高级搜索
网站首页
|
关于我们
|
服务条款
|
广告服务
|
联系我们
|
网站大全
|
免责声明
|
返回顶部
Copyright © 2007-2008 xxlinux.com, All rights reserved.
Powered by linux联盟
京ICP备05012402号