How to Install FFmpeg on Centos 6 and 7

FFmpeg is a name of a free software project for the multimedia handling. the most popular part of the project is FFmpeg command line tool for video and audio encoding/decoding and its main features are the high speed, quality of output and small file sizes.

In this guide, I will explain how to install FFmpeg on CentOS (if you are using Debian, please check out this tutorial).

Note: FFmpeg is not available for Centos, fortunately, it is now available as a 3rd-party YUM repo.


Update the package list

sudo yum install epel-release -y
sudo yum update -y
sudo shutdown -r now

Install the Nux Dextop YUM repo

Centos 7

sudo rpm --import
sudo rpm -Uvh

Centos 6

sudo rpm --import
sudo rpm -Uvh

Now FFmpeg is available to be installed with yum:

sudo yum install ffmpeg ffmpeg-devel -y

Once the installation complete, confirm the installation of FFmpeg with the following command:

ffmpeg -version


Published by


Codecs Lover

Leave a Reply