[100 % works] How to Install FFmpeg latest version on any web panels with Centos 7.x


#1

Step 1: Install REPOs

Code:
yum -y install epel-release
rpm -ivh http://download1.rpmfusion.org/free/el/updates/7/x86_64/r/rpmfusion-free-release-7-1.noarch.rpm

Step 2: Install ffmpeg and ffmpeg devel

Code:
yum install ffmpeg ffmpeg-compat ffmpeg-compat-devel ffmpeg-devel ffmpeg-libs -y

Step 3: Move the ffmpeg folder to /usr/include

Code:
cp -r /usr/include/ffmpeg/* /usr/include

Step 4: Install GIT, php Devel, GCC

Code:
yum install git php-devel gcc -y

Step 5: Install ffmpeg-PHP

Code:
git clone https://github.com/tony2001/ffmpeg-php.git
cd ffmpeg-php
phpize
./configure
make
make install

Step 6: Edit php ini to add ffmpeg extension

nano /etc/php.ini

Code:
and then add line extension=ffmpeg.so

Step 7: Restart http server

Code:
service httpd restart

SOURCE : https://www.cybernetwebdesign.com/community/Thread-100-works-How-to-Install-FFmpeg-latest-version-on-any-web-panels-with-Centos-7-x