Sunday, September 4, 2011

// // Leave a Comment

How To Install FFmpeg Latest Version at CentOS5.5

This tutorial will guide you on how to install FFmpeg at CentOS5.5 with all the common errors that you may face. Before installing FFmpeg lets do some tests and make the system ready for FFmpeg installation.

Step 1) First of all open the directory /etc/yum.repos.d and create a new file dag.repo then paste the below code and save.


[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

Step 2) Run the below command and the ffmpeg installation should run fine.

yum install ffmpeg ffmpeg-devel

Got some public key error ? Dont worry run below command to fix it and try again:


rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install ffmpeg ffmpeg-devel

Now FFmpeg should be installed without any problem, you can
test the installation by running the below command.

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

But Wait !
Would you like to install the FFmpeg-php extension ?
Install FFmpeg php extension.