step1:安装Nux-Dextop源
sudo rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.rosudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
step2:检测repo是否安装完成
yum repolist
step3.安装ffmpeg
yum install -y ffmpeg
step4.检测ffmpeg是否安装成功
ffmpeg -version