AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Install ffmpeg centos 62/21/2023 ![]() This entry was posted in cPanel, Linux, PHP and tagged cpanel, ffmpeg.ffmpegphp on Decemby LinuxTech. Now go ahead and add extension=ffmpeg.so to php.ini for the PHP version you need and restart apache Mv /usr/include/libavutil/time.h_ /usr/include/libavutil/time.hįfmpeg modules will be installed in below ffmpeg-php]# ls -al /opt/cpanel/ea-php56/root/usr/lib64/php/modules/ĭrwxr-xr-x 2 root root 4096 Dec 7 07:07. Mv /usr/include/libavutil/time.h /usr/include/libavutil/time.h_ Now before making make and make install few things need to be modified. opt/cpanel/ea-php70/root/usr/bin/php-config Now that we have the repository installed for our version of CentOS, we can now install FFMpeg. Step 2: Install FFmpeg on CentOS 8 / RHEL 8 Linux. opt/cpanel/ea-php56/root/usr/bin/php-config opt/cpanel/ea-php55/root/usr/bin/php-config configure –with-php-config=/opt/cpanel/ea-php56/root/usr/bin/php-config ![]() Scp -r /usr/include/ffmpeg/* /usr/include/ When you install ffmpeg and ffmpeg-devel files get stored in /usr/include/ffmpeg however ffmpeg while compiling looks for files in /usr/include/ so need to copy files to /usr/include using below command Need to make sure all need files are in /usr/include You can find path using find ffmpeg-php]# find / -iname phpizeĭo not use path. opt/cpanel/ ea-php70/root/usr/bin/php-conf ig If you are using PHP 7 path will be /opt/cpanel/ea-php70/root/usr/bin/phpize and ![]() The path would changes based on php version ![]() Now as there are multiple version of PHP there is need to phpize from above path. ![]()
0 Comments
Read More
Leave a Reply. |