Bobcares

WeSupport

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 11.06 minutes in March 2021 to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

Steps for – FFmpeg install CentOS

by | Feb 23, 2021

Are you looking for steps to install FFmpeg in CentOS? Take a peek at this blog. 

FFmpeg is a tool that can record, convert, and stream audio and video files.

Here at Bobcares, we often receive requests to install FFmpeg and fix its errors as a part of our Server Management Services.

Today, let’s see how our Support Engineers enable this on the server and fix its related errors.

 

What is FFmpeg?

FFMPEG is one of the most leading multimedia frameworks. It easily decodes and encodes images and videos.

Also, it supports almost all audio and video formats. Moreover, it supports all streaming protocols as well.

For instance, to convert an MP3 file to an OGG file we run the below command:

ffmpeg -i input.mp3 output.ogg

And to convert MP4 to WebM we run the below command:

ffmpeg -i input.mp4 output.webm

 

Install FFmpeg on CentOS

Now, let’s get into the installation part and see how our Support Engineers install FFMPEG in CentOS.

 

Step 1: Updating the system

Initially, we update the system using the command:

sudo yum update -y

sudo shutdown -r now

 

Step 2: Enabling the Nux repository

Actually, there are no FFMPEG rpm packages for CentOS. Instead, we can use any third-party YUM repo like NUX Dextop for that.

Nux repository depends on the EPEL software repository. So, to enable it we run the below command:

sudo yum install epel-release -y

Then, we import the GPG key and install the NUX repo. For that, we run the below command to import GPG key.

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

Then, we install the NUX dextop release repo using the below command

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

 

Steps 3: Install FFmpeg

Next, we install FFMPEG and FFMPEG packages using the command:

sudo yum install ffmpeg ffmpeg-devel -y

 

Step 4: Testing

Finally, we test the installation of FFMPEG using the command

ffmpeg

 

Common errors with FFmpeg install CentOS

Recently, one of our customers approached us telling us that he was not able to install FFmpeg in his server CentOS 7.

The customer used the below command for installing FFMPEG

yum install ffmpeg -y

But he received an error relating to some missing libraries in the server.

The error was as below

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)

Here, the command which customer was using was all correct. However, those libraries were missing in the server. And we can install those libraries from EPEL repository.

So, our Support Engineers suggested installing it using the below command:

sudo yum install epel-release

And then run the below commands to import the GPG key and then 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

Then lastly, run yum, enabling the EPEL and Nux desktop repo, and install FFmpeg

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

Finally, this fixed the error.

[Need any assistance with FFMPEG? – We’ll help you]

 

Conclusion

In short, FFmpeg is a powerful tool that can do almost anything with multimedia files. Today we saw how our Support Engineers install FFMPEG on CentOS and fix its related errors.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

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

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF