CentOs7安装ffmpeg
# 切换为root用户
sudo su root
# Nux Dextop库依赖于EPEL库(需要管理员权限)
yum install -y epel-release
# 检查是否安装成功
yum repolist
sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
# cenos6 安装这个源
rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
# centos7安装这个源
$ rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
# 检查是否安装成功
yum repolist
# 安装ffmpeg
yum install -y ffmpeg