deploy ffmpeg and mplayer in CentOS7
install EPEL Release
yum install -y epel-release
If there is a waring lack of code, you can execute following command.
sudo rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
sudo rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
install nux-dextop source
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
check whether epel source installed successfully or not.
yum repolist
install ffmpge
yum install -y ffmpeg
check version of ffmpeg
ffmpeg -version
you can also edit a shell script to instll ffmpeg and mplayer directly.
vi install-ffmpeg.sh
############the codes
yum install -y vim
yum install -y epel-release
sudo rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
yum repolist
sudo rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
yum repolist
yum install -y ffmpeg
yum install -y mplayer
ffmpeg -version
############end