This is the easy way to install ffmpeg on CentOS or RHEL/Redhat Enterprise Linux the easy way.

Code: 
vi /etc/yum.repos.d/dag.repo
Insert the following:

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
Add the

/usr/local/lib
to
/etc/ld.so.conf

Then run:

ldconfig -v
Then run the following:

Code: 
rpm -Uvh http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
yum update
yum install ffmpeg ffmpeg-devel
To install the PHP extension, use this webpage: ffmpeg-php
Areon Reviewed by Areon on . How to install ffmpeg on CentOS or Redhat Enteprirse Linux the easy way This is the easy way to install ffmpeg on CentOS or RHEL/Redhat Enterprise Linux the easy way. vi /etc/yum.repos.d/dag.repo Insert the following: Add the Rating: 5