首页 > 代码库 > centos7下安装MPlayer

centos7下安装MPlayer


一、配置安装yum源

   1、Mplayer相关

        http://download1.rpmfusion.org/free/el/updates/7/x86_64/r/rpmfusion-free-release-7-1.noarch.rpm

       rpm -ivh rpmfusion-free-release-7-1.noarch.rpm

       或者将上述两步合一步。rpm -ivh http://download1.rpmfusion.org/free/el/updates/7/x86_64/r/rpmfusion-free-release-7-1.noarch.rpm

   2、配置epel源

       rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/rpmfusion-free-release-7-1.noarch.rpm

二、安装MPlayer

    yum -y install mplayer

三、安装解码器

    下载 http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2

    tar -xvf essential-20071007.tar.bz2

    mv essential-20071007 /usr/local/lib/codecs

四、安装图形界面

    yum -y install mplayer-gui

五、设置

    Applications -> Sound&Viedo->Mplayer

    右键“Preferences”打开设置界面,点击Video.选择x11.

    技术分享

    

    

    

    

    

本文出自 “小小知识库” 博客,请务必保留此出处http://babyhanggege.blog.51cto.com/11741640/1909087

centos7下安装MPlayer