Centos 5 ffmpeg Kurulumu,FlvTool Kurulumu
I recently had the need to install FfMpeg for a project I am working on. After Googling for some time I learned a little bit about the ffmpeg project. The most interesting thing I learned was their are no formal releases of the project. So I just downloaded it from SVN using the following command:
svn export svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
Then I just ran
./configure
In the directory I downloaded ffmpeg too, and finally
make && make install
That’s it, it was up and running in a few minutes. I have added this here because so many of the blogs
First
nano -w /etc/yum.repos.d/dag.repo
Insert
[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
Then yum update and search for ffmpeg and install all ffmpeg packages including devel.
Seems there is some lib problems along the way so in /etc/ld.so.conf
add
/usr/local/lib
then
ldconfig -v
To install the php extension follow the simple directions on http://ffmpeg-php.sourceforge.net/
Then you should be all set!
Tried and tested on 2 different centos server, works fine.
with information regarding Ffmpeg and CentOS 5 were out of date or wrong. It also helps that my version of CentOS already had gcc and gcc-c++ installed, both of which are needed to compile these from their sources.




