The FFmpeg module has strict licensing terms; hence, we do not provide it in our repositories. We advise you to review the FFmpeg's Licensing page to ensure you're eligible for installing it.
Check the following page for more details on how to install FFmpeg on CloudLinux OS:
Note that we rely on the FFmpeg package installed from the "Nux Dextop" repository. Having it installed from someplace else will usually result in yum conflicts.
Yum conflicts while installing/updating CloudLinux OS
The popular source of RPM packages on CentOS/RHEL systems is the RPM Fusion repository. Unfortunately, packages installed from those repos can lead to errors like:
Error: Package: libheif-1.3.2-2.el7.x86_64 (cloudlinux-x86_64-server-7)
Available: x265-libs-1.9-1.el7.x86_64 (cloudlinux-x86_64-server-7)
Installed: x265-libs-2.9-3.el7.x86_64 (@rpmfusion-free-updates)
You could try using --skip-broken to work around the problem
If that happens, try to remove the packages in question via rpm -e manually.
rpm -e --nodeps --justdb libheif
rpm -e --nodeps --justdb x265-libs
Once done, install the main FFmpeg packages via yum; the packages listed above should get installed as dependencies:
yum install ffmpeg ffmpeg-devel ffmpeg-libs
yum install alt-php*ffmpeg
All done, the FFmpeg is installed on your system!
Add FFmpeg to CageFS
Another popular option is to include FFmpeg into CageFS so that individual users can use the module. To achieve that, you need to add it to CageFS via:
cagefsctl --addrpm ffmpeg