FFMPEG is required to process audio and video files on your server, and it helps to stream any audio or video on your server. It is supported on all platforms and has cross-platform support out of the box. FFMPEG also comes with a PHP extension that allows users to use the PHP language to process their files via web pages.
Let's see how to install the FFMPEG application on a cPanel server via the WHM terminal.
Log into WHM as the 'root 'user and type 'terminal' in the search field. Click the Terminal link in the Server Configuration menu.
Install EPEL repo:
EPEL repo can be installed using the below simple command
yum install epel-release
In some rare cases above command may fail and will return "No package epel-release available" then you need to download the rpm of epel repo using the below steps:
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -ivh epel-release-latest-7.noarch.rpm
Once installed the EPEL repo, next you can download and install the NUX desktop repo. Use the following to install NUX desktop repo:
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
Install FFMPEG
yum -y install ffmpeg ffmpeg-devel
To confirm FFMPEG installation and to verify if it's operational, let's check the version.
ffmpeg -version
This is how you will successfully download and install the FFMPEG application with the WHM terminal on your cPanel server.