Knowledgebase: Dedicated Servers & Colocation
Installing FFMPEG and FFMPEG-PHP
Posted by Kevin Stange, Last modified by Kevin Stange on 24 July 2009 05:36 PM
|
|
This article explains how to install FFMPEG and FFMPEG-PHP on your server. It assumes you are running CentOS or Fedora.
Installing FFMPEG and related packages
FFMPEG should now be installed. The programs for mplayer, mencoder, ffmpeg, flv2tool and lame should be located in /usr/bin. Installing FFMPEG-PHPThis process varies by control panel and requires that you complete the section above first. Please find the correct section for your control panel. Plesk or InterWorx
cPanel or DirectAdmin
Your installation should be complete. You should now be able to use FFMPEG-PHP via your PHP scripts. Please note that if you ever upgrade PHP to a newer version in which the major and minor numbers change, you must repeat this step. For example, if you were using PHP 4.4.7 and you upgrade to 4.4.8 you do not need to do anything, but if you upgrade from 4.4.7 to 4.5.0 or to 5.0.0, you would need to reinstall the PHP module. | |
|
Comments (1)
Scott Shepherd
08 March 2008 08:47 AM
Note: for minimal CentOS install you may need to install gcc, gcc-c++, in order to compile ffmpeg-php.
yum -y install gcc gcc-c++
yum -y install gcc gcc-c++