Archive

Archive for the ‘php’ Category

Quickly install ffmpeg-php library in CentOS

June 15th, 2009

ffmpeg-php is a PHP extension that adds functions for accessing and retrieving information from movies and audio files.

Here’s quick steps which worked for me and you can try to install this library in a RedHat based distro (I’ve checked in a fresh CentOS 5).

Step 1. Install standard ffmpeg and its dependencies using yum:

# yum install ffmpeg ffmpeg-devel php-devel

Step 2. Download and install ffmpeg-php:

# cd /usr/src
# wget http://biznetnetworks.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.6.0.tbz2
# tar xjf ffmpeg-php-0.6.0.tbz2
# cd ffmpeg-php-0.6.0
# phpize
# ./configure –enable-shared –prefix=/usr
# make
# make install

Here, we used phpize to create config files. You should check installation docs to enable more libraries through configure command.

php

Get Adobe Flash playerPlugin by wpburn.com wordpress themes