How to install ffmpeg in CentOS

Every now and then you will be required to read or analyse video files on a server that is running on CentOS or you may be using it docker container. Here are the steps to install ffmpeg on your linux machine:
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-5.el7.nux.noarch.rpm
sudo yum update -y
sudo yum install ffmpeg ffmpeg-devel -y

Leave a Reply

Your email address will not be published. Required fields are marked *