Due to possible patent issues CloudLinux does not provide FFmpeg libraries (https://ffmpeg.org/legal.html). We highly recommend researching if you can legally install FFmpeg extension on your server. This might differ based on where you and your servers are located. More information can be found on the link: https://ffmpeg.org/legal.html
For your convenience we provide FFMPEG PHP binding. For them to work, you need to install FFmpeg package from the “Nux Dextop” repository following the instructions.
Once FFmpeg is installed you can install PHP bindings, by running:
yum install alt-php*ffmpeg
Enable PHP-FFmpeg extension via PHP Selector:
selectorctl --enable-extensions=ffmpeg --user USERNAME --version X.Y