您的位置:首页 > 运维架构 > Linux

(OK) CentOS7—mp4—avi—视频播放—SMPlayer

2016-05-18 23:30 375 查看


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}

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.

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.

SMPlayer
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: