大佬教程收集整理的这篇文章主要介绍了CentOS 6.5 安装 Mplayer!,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
实验环境:CentOS 6.5 x86_64
Mplayer官网:http://www.mplayerhq.hu/
RPM Fusion官网:http://rpmfusion.org/
EPEL网址:http://fedoraproject.org/wiki/EPEL/zh-cn
1.准备yum源。
[root@gxh ~]# wget http://download1.rpmfusion.org/free/el/updates/6/x86_64/rpmfusion-free-release-6-1.noarch.rpm
[root@gxh ~]# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@gxh ~]# yum -y install rpmfusion-free-release-6-1.noarch.rpm
[root@gxh ~]# yum -y install epel-release-6-8.noarch.rpm
2.安装mplayer。
[root@gxh ~]# yum list | grep mplayer
mplayer.x86_64 1.0-0.140.20120205svn.el6.1 @rpmfusion-free-updates
mplayer-common.x86_64 1.0-0.140.20120205svn.el6.1 @rpmfusion-free-updates
mplayer-doc.x86_64 1.0-0.140.20120205svn.el6.1 rpmfusion-free-updates
mplayer-gui.x86_64 1.0-0.140.20120205svn.el6.1 rpmfusion-free-updates
mplayer-tools.x86_64 1.0-0.140.20120205svn.el6.1 rpmfusion-free-updates
[root@gxh ~]# yum -y install mplayer
3.安装视频解码器。
首先到mplayer官网下载解码器,我下的是all-20110131.tar.bz2
[root@gxh ~]# tar -jxvf all-20110131.tar.bz2
*默认解码器的安装目录是/usr/local/lib/codecs/,没有的话新建:
[root@gxh ~]# mkdir /usr/local/lib/codecs/
[root@gxh ~]# mv all-20110131/* /usr/local/lib/codecs/
4.安装mplayer图形化界面。
[root@gxh ~]# yum -y install mplayer-gui
现在就大功告成了,赶快去体验一下你的视频播放器吧!
以上是大佬教程为你收集整理的CentOS 6.5 安装 Mplayer!全部内容,希望文章能够帮你解决CentOS 6.5 安装 Mplayer!所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。