Install ffmpeg, flv2tool, ffmpeg-php

Follow each of these commands and proceed with installation instructions thru yum

Installing FFMpeg

shaunak@netlynx.com[/]# yum install ffmpeg ffmpeg-devel
or
shaunak@netlynx.com[/]# yum install ffmpeg.i386

Check the installation by:-
shaunak@netlynx.com[/]# ffmpeg -formats

Installing FFmpeg-PHP extension

Get the latest copy of extension from http://ffmpeg-php.sourceforge.net/

shaunak@netlynx.com[/]#wget http://biznetnetworks.dl.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2

shaunak@netlynx.com[/]# tar -xjf ffmpeg-php-0.6.0.tbz2

shaunak@netlynx.com[/]# cd ffmpeg-php-0.6.0

shaunak@netlynx.com[/]# phpize
shaunak@netlynx.com[/]#./configure
shaunak@netlynx.com[/]# make
shaunak@netlynx.com[/]# make install

Then add the .so extension in your php.ini file.
[ffmpeg]
extension=ffmpeg.so

Installing Mplayer + Mencoder

shaunak@netlynx.com[/]# yum install mplayer
shaunak@netlynx.com[/]# yum install mencoder

Installing LAME MP3 Encoder

shaunak@netlynx.com[/]# yum install lame

Installing flv2tool

For installing this you would probably need ruby to be installed.
shaunak@netlynx.com[/]# yum install ruby

Then get the latest gem from :- http://rubyforge.org/frs/?group_id=1096&release_id=9694

shaunak@netlynx.com[/]# wget http://rubyforge.org/frs/download.php/17496/flvtool2-1.0.6.gem
shaunak@netlynx.com[/]# gem install flvtool2-1.0.6.gem