howto install ffmpeg-php

According to the official ffmpeg-php website: ffmpeg-php is an extension for PHP that adds an easy to use, object-oriented API for accessing and retrieving information from video and audio files. It has methods for returning frames from movie files as images that can be manipulated using PHP’s image functions

Inodder to use this extension;you must first install ffmpeg http://gnusys.net/install-ffmpeg-with-amr-nb-and-amr-wb-support/

and after that

1.Download ffmpeg-php from http://ffmpeg-php.sourceforge.net/

2.Untar the source package and run the following commands in the source directory

phpize

./configure && make

make install

You must also ensure that the extension is loaded correctly in the php configuration file

php –ini

will show the location of the php.ini file .You must ensure that the following line is present in your php.ini

extension=ffmpeg.so

Thats it.If you are using php as a DSO of apache ;then you may have to restart apache for the change to take effect

Posted under ffmpeg, php

This post was written by Anoop Alias on July 12, 2008

Tags: ,

Leave a Comment

Name (required)

Email (required)

Website

Comments

More Blog Post