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 http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

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

sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

Installing the FFmpeg

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

sudo yum install ffmpeg ffmpeg-devel -y

Testing

Finally, test the installation of FFMPEG by running the command

ffmpeg

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)
Requires: libudev.so.0()(64bit)
Error: Package: libavdevice-2.6.8-3.el7.nux.x86_64 (forensics)
Requires: libopenal.so.1()(64bit)
Error: Package: ffmpeg-libs-2.6.8-3.el7.nux.x86_64 (forensics)
Requires: libass.so.5()(64bit)

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 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

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

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

Conclusion

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.