centos7安装多媒体播放器SMPlayer

转自:https://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7
http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=14735472&id=5577373

How to setup multimedia on CentOS 7

You will need to also install the EPEL repository as nux-dextop depends on this for some of its packages.

Step 1: Install the nux-dextop repository

Run this command to install the nux-dextop repository.

yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

Step 2: Install the adobe repository

Run this command to install the adobe repository.

yum -y install http://linuxdownload.adobe.com/linux/x86_64/adobe-release-x86_64-1.0-1.noarch.rpm 

Step 3: Install the desired packages

This command will download the flash plugin for Firefox.

yum install flash-plugin

This command will download the java plugin for Firefox.

yum install icedtea-web

This command will install Handbrake, VLC and smplayer.

yum install vlc smplayer ffmpeg HandBrake-{gui,cli}

安装到这里已经安装上handbrake VLC 和smplayer了,下面都没有执行。

The following command installs a decoder and codecs which are required to play certain types of media. Their usage may be legally restricted in some areas. Obtain legal advice if you are uncertain about the laws in your locality.

此句wiki上没有
rpm -ivh http://mirror.centos.org/centos/7/os/x86_64/Packages/fribidi-0.19.4-6.el7.x86_64.rpm yum install libdvdcss gstreamer{,1}-plugins-ugly gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-freeworld

Final note

Notice that you have the CentOS, Nux-Dextop and Adobe repos enabled by default and there should be no issues with running "yum update" or "yum upgrade" in the future.

上一篇:CMake实践(3)


下一篇:angular4-常用指令