CentosControl PanelCWPHestia CPLinuxUbuntuVesta CP

How to Install Latest FFMPEG 5.0 in CentOS 8/7 Ubuntu 20.04/18.04 CWP/Cpanel/Plesk/Ispconfig

In this tutorial we’ll install latest version of FFmpeg 5.0 “Lorentz” in Centos server it will work in CWP, Cpanel and ispconfig and other centos supported control panel. I’ve gotten many requests and mails upon how to install ffmpeg and here is the guide.

FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge.

Its pretty simple to Install Latest version of FFMPEG Just follow this steps :

Ensurer you’re running kernel 3.2.x and above. Check kernel version via this command “uname -sr

Supported operating systems :

EL/Centos 7/8

Ubuntu 18.04/20.4

Debian 9/10/11

and linux running kernel 3.2.x or above

Move/backup currently installed FFMPEG :

mv /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg.bak
mv /usr/local/bin/ffprobe /usr/local/bin/ffprobe.bak
mv /usr/bin/ffmpeg /usr/bin/ffmpeg.bak
mv /usr/bin/ffprobe /usr/bin/ffprobe.bak

Download Latest version of FFMPEG :

cd /usr/local
rm -rf  ffmpeg
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
tar xf ffmpeg-release-amd64-static.tar.xz
rm -rf ffmpeg-release-amd64-static.tar.xz
mv ffmpeg-* ffmpeg

Now create symlinks for ffmpeg and ffprobe bin file :

ln -s /usr/local/ffmpeg/ffmpeg /usr/local/bin/ffmpeg
ln -s /usr/local/ffmpeg/ffprobe /usr/local/bin/ffprobe
ln -s /usr/local/ffmpeg/qt-faststart /usr/local/bin/qt-faststart ln -s /usr/local/ffmpeg/ffmpeg /usr/bin/ffmpeg ln -s /usr/local/ffmpeg/ffprobe /usr/bin/ffprobe
ln -s /usr/local/ffmpeg/qt-faststart /usr/bin/qt-faststart

Change the permission for the files :

chmod 755 /usr/local/ffmpeg/ffmpeg
chmod 755 /usr/local/ffmpeg/ffprobe
chmod 755 /usr/local/ffmpeg/qt-faststart

Use this FFMPEG and FFPROBE path in your script/application :

FFMPEG path :


FFPROBE path :


Thats it you can now use FFMPEG and ffprobe Latest version, check version by typing “ffmpeg” :

root@mysterydata# ffmpeg
ffmpeg version 5.0-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
libavutil 57. 17.100 / 57. 17.100
libavcodec 59. 18.100 / 59. 18.100
libavformat 59. 16.100 / 59. 16.100
libavdevice 59. 4.100 / 59. 4.100
libavfilter 8. 24.100 / 8. 24.100
libswscale 6. 4.100 / 6. 4.100
libswresample 4. 3.100 / 4. 3.100
libpostproc 56. 3.100 / 56. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Sandeep B.

I'm a system admin and php developer and currently working as System Admin In CWP Control panel, expertise in Linux and Windows administration RHEL certified admin.

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button