Tuesday, November 1, 2011

FFmpeg installation on Centos cpanel server

Sponsored Links
First you have to install the following repositories for yum. [check your system architecture]


rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm

Install ffmpeg, mplayer and mencoder

yum install ffmpeg mplayer mencoder

Install ruby using cpanel script
/scripts/installruby

Install flvtool
gem install flvtool2

Install MP4Box
yum install gpac gpac-libs

Install development packages for ffmpeg
yum install ffmpeg-devel

Install ffmpeg-php
wget http://downloads.sourceforge.net/ffmpeg-php/ffmpeg-php-0.6.0.tbz2
tar xjf ffmpeg-php-0.6.0.tbz2
cd ffmpeg-php-0.6.0
phpize
./configure
make
make install
Sponsored Links

No comments:

Post a Comment

Be nice. That's all.