Hi! 

Today we’re going to be installing FFMPEG onto our CentOS 7 server.
Are ya ready kids!

ok lets go… SSH into your VPS as root 
(if you login as a sudoer, su up to your root user using the
sudo su -
command.

Next, let’s enter the command to install the epel repository
sudo yum install epel-release -y

Now, let’s run a yum update 
sudo yum update -y

Time to reboot!
sudo shutdown -r now

Now, ssh back into the server and then enable the Nux Dextop YUM repo to install ffmpeg.

sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

This imports the gpg key for the repo

now, enter the command
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

Ok, time to install the ffmpeg package
yum install ffmpeg ffmpeg-devel -y

Let’s confirm the ffmpeg install: 
rpm -qa | grep ffmpeg
or just 
ffmpeg

voila! Done.