Need Assistance?

In only two hours, with an average response time of 15 minutes, our expert will have your problem sorted out.

Server Trouble?

For a single, all-inclusive fee, we guarantee the continuous reliability, safety, and blazing speed of your servers.

How to Install FFmpeg on centos 8


The FFmpeg is a free and open-source solution that collect tools to handle multiple-media such as record, convert, stream audio and video.

With the help of FFmpeg, where you can convert various video into the audio format, set sample rates, capture streaming audio/video.

From this blog, you will get an apparent view regarding the Installation and configuration of FFmpeg on centos 8, as it is part of our server management plan. You can also take assistance from our technical team support 24/7 for further Migration and configuration.

The FFmpeg will support almost all the audio and video formats. For the instance, if you want to convert an mp3 file to an OGG file by running the following commands.

ffmpeg -i input.mp3 output.ogg

Run the following to convert MP4 to WebM.

ffmpeg -i input.mp4 output.webm

Install FFmpeg on CentOS 

Before installing the FFmpeg you need to update the system.

Updating the system

Run the command to update the system.

sudo yum update -y
sudo shutdown -r now

Enabling the Nux repository

There is no FFmpeg rpm package for the centos. Instead, you can use any third party yum repo. (Like NUX Dextop)

Nux depends upon the EPEL software repository. Run the command to enable the EPEL repository.

sudo yum install epel-release -y

Then import the GPG key and install the NUX repo. Run the command.

sudo rpm --import

By running the following commands install the NUX dextop release repo.

sudo rpm -Uvh

Installing the FFmpeg

To install the FFmpeg and FFmpeg packages. Run the command.

sudo yum install ffmpeg ffmpeg-devel -y


Finally, test the installation of FFMPEG by running the command


A common error with the FFmpeg while installing on centOS

One of our clients has faced some common error while he is trying to install the FFmpeg on centos 7.

The client has used the following command to install the FFmpeg.

yum install ffmpeg -y

The error message was pop-up relating to some missing libraries in the server.

The error.
Error: Package: libva-1.0.16-3.el6.x86_64 (linuxtech)
Error: Package: libavdevice-2.6.8-3.el7.nux.x86_64 (forensics)
Error: Package: ffmpeg-libs-2.6.8-3.el7.nux.x86_64 (forensics)

Installing the FFmpeg from the EPEL repository. Suggested to run the following command.

sudo yum install epel-release

Run the command to import the GPG key and try to install the NUX desktop

sudo rpm --import

sudo rpm -Uvh

Enabling the EPEL and NUX desktop repo and install the FFmpeg.

yum - y -- enablerepo=epel,nux-dextop install ffmpeg


This article will describe to you how to install the FFmpeg on centos 8. The FFmpeg is a powerful tool that can do anything with multimedia files.

Liked!! Share the post.

Get Support right now!

Start server management with our 24x7 monitoring and active support team

Can't get what you are looking for?

Available 24x7 for emergency support.