1. I installed some packages that are important for FFMPEG autoinstaller via SSH Client:
# yum install libcurl libcurl-devel
# yum install git
# yum install git-all.noarch
2. You need to find this file (depending of server architecture) on the Internet (http://rpmfind.net/linux/rpm2html/search.php?query=perl(ByteLoader)):
In my configuration, I used this file:
perl-5.8.8-42.el5.x86_64
3. You need to upload downloaded file from official repository to this location (you can use WinSCP):
/usr/local/lib64/perl5
4. Under WHM – Service settings – PHP configuration click on advanced settings, you need to set desired values for max upload size and max post size, and memory limit to be in parent with upload and post size. Than you need to save changes under PHP.
5. Restart Apache
6. Access your server via SSH as root
7. mkdir ~/ffmpeg-packages
8. cd ~/ffmpeg-packages
9. wget http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg8/ffmpeginstaller.8.0.tar.gz
10. tar -xvzf ffmpeginstaller.8.0.tar.gz
11. cd ffmpeginstaller.8.0
12. ./install.sh
Please wait until installation finish.
When installation finish, you will get in the end this message:
The ffmpeg and dependency package installation has been completed. You can use the following
paths for the major binary locations. Make sure to configure it in your conversion scripts too.
/usr/local/bin/ffmpeg
/usr/local/bin/mplayer
/usr/local/bin/mencoder
/usr/bin/flvtool2
/usr/local/bin/MP4Box
/usr/local/bin/yamdi
13. Restart Apache
So, save 50$ and enjoy.
FFMPEG is also not available in the official repository of CentOS so, we’ll need to install NUX Dextop Release and EPEL “Extra Packages for Enterprise Linux” repository in our CentOS machine as its available in it.
# rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
# yum install epel-release
After the repositories are added in our machine, we’ll now go for the installation of FFMPEG in our machine by running the following yum package manager.
# yum install ffmpeg
Quick, Easy and Updated FFMPEG Installation
For current version in December / 2016 is FFMPEG version 2.6.8.
Execute commands for CenTOS 7:
# yum install epel-release -y
# yum update -y
# shutdown -r now
After restarting the server:
# rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
# rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
# yum install ffmpeg ffmpeg-devel -y
Ready. Just type ffmpeg to test
I hope I have helped!
Is this work for CENTOS 7.3? FFMPEG Auto Installer do all packages will install automatically with FFmpeg-PHP Extension? If we get any issue with this install then How to Uninstall FFmpeg auto installer?
Yes it’s work on centos 7.3 but you need to separate install ffmpeg-php