Here is instructions on installing ffmpeg-php on linux dedicated server.

Run following command user root.

Before you install, make sure GD module is available in your PHP installation. ffmpeg-php need GD to work properly.

Code:
cd /usr/local/src
wget http://internap.dl.sourceforge.net/s...php-0.5.0.tbz2
tar -xjf ffmpeg-php-0.5.0.tbz2
cd ffmpeg-php-0.5.0
make clean
make distclean
phpize
./configure
make
make install