How to install ffmpeg on CentOS or Redhat Enteprirse Linux the easy way

Zurück

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:

[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:

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: http://ffmpeg-php.sourceforge.net/