Abhishek Singh Bailoo

Weblog

Oct 4

Install ffmpeg centos

Source: http://www.boonex.com/n/How_to_install_ffmpeg_on_centos_5

The most easy way to install ffmpeg in CentOS is with yum.
First of all, edit /etc/yum.repos.d/CentOS-Base.repo and add those lines at bottm of file:
[dag]
name=Dag RPM Repository for Centos
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag

gpgcheck=0

enabled=1


Then, run command:
yum install ffmpeg

Or, you can install from svn:

svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg

cd ffmpeg
./configure —help

add some parameters, like —enable-gpl, —enable-libmp3lame, etc..

make && make install

(if svn command not found, type yum install subversion)