wget http://oratoronline.com/how2/video_share_modules/source_directory/ffmpeg/ffmpeg-php-0.5.1.tbz2
tar -xjvf ffmpeg-php-0.5.1.tbz2 ; cd ffmpeg-php-0.5.1 ;
/usr/local/bin/phpize
./configure
make
make install
NOTE: After make install it will show you the path to the ffmpeg.so file, copy
ffmpeg.so to the folder where you need to run the php scripts which need ffmpeg-php.
For testing, inside the source folder, there will be a folder call tests which has
the required test php scripts. You may test if you wish to or if need arises :)
After Installation do below steps :
Edit /usr/local/lib/php.ini
Change
extension_dir = "./"
to
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20020429"
where ffmpeg.so was installed, and add
extension=ffmpeg.so
under
;extension=php_zip.dll
This will load the FFmpeg-PHP into php by default.
==================
Error:
if phpize not found than run
yum install php-devel
Related Articles
How to install ffmpeg
ffmpeg Before installing ffmpeg, I suppose you have already installed Lame on your server. FFMPEG: wget http://oratoronline.com/how2/ffmpeg/ffmpeg-export-snapshot.tar.bz2 tar -xjvf ffmpeg-export-snapshot.tar.bz2 ; cd ffmpeg-export-2008-07-18 ; ...
Howto Install FLv2Tool
yum install ruby* wget http://oratoronline.com/how2/video_share_modules/source_directory/flvtool2/flvtool2_1.0.5_rc6.tgz tar -xvf flvtool2_1.0.5_rc6.tgz cd flvtool2_1.0.5_rc6 ruby setup.rb config ruby setup.rb setup sudo ruby setup.rb install Verify: ...
Howto Install LAME
wget http://oratoronline.com/how2/video_share_modules/source_directory/lame/lame-3.96.1.tar.gz tar -xvf lame-3.96.1.tar.gz ./configure --prefix=/usr make make install Verify: You can test lame by running 'lame' from shell, it wil show you the version ...
Howto Install MPLAYER+MENCODER
Mplayer includes mencoder in the same package. Dependencies: Mplayer has a few dependencies: 1. xvidcore: wget http://oratoronline.com/how2/video_share_modules/source_directory/mplayer_mencoder/xvidcore-1.1.0-0.lvn.1.3.i386.rpm rpm -Uvh 2. libXvMCW: ...
PHP API Integration Library
Learn more about how to download and implement our PHP API Integration Library to your own project. Overview - what this Library is? We want to provide our clients a way to use our system however they like. That is why we have introduced the ...