Steps To Install FFMPEG


Install rpmforge repo

rpm -Uvh

Install dependencies related to the ffmpeg package

yum install openjade

rpm -Uvh

Now Install ffmpeg package

yum install ffmpeg ffmpeg-devel mplayer mencoder

ffmpeg -version


Steps to install ffmpeg-php

cd /usr/local/src


mv ffmpeg-php-0.6.2.tbz2?r\= ffmpeg-php-0.6.2.tbz2

tar -xjf ffmpeg-php-0.6.2.tbz2

cd ffmpeg-php-0.6.2/




make install

echo ‘’ >> /usr/local/lib/php.ini

Usual errors noticed during installation are:

While Performing ‘make’ , at times ¬†you get the error “error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function)”,
then run following command in ffmpeg-php source directory and run ‘make’ command again:
sed -i ‘s/PIX_FMT_RGBA32/PIX_FMT_RGB32/g’ ffmpeg_frame.c