SVN and FFMPEG on RHEL3

We need to install the latest ffmpeg code built from source on a RedHat EL3 server.

First we need to get and install some dependancies.

mp3lame – http://www.mp3dev.org/mp3/

wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97b3_.tar.gz
tar -xvzf lame-3.97b3_.tar.gz
cd lame-3.97
./configure
make
make install

libogg – http://www.vorbis.com

up2date -i libogg

libvorbis – http://www.vorbis.com

up2date -i libvorbis

libfaad – http://www.audiocoding.com

wget http://superb-west.dl.sourceforge.net/sourceforge/faac/faad2-2.5.tar.gz
tar -xvzf faad2-2.5.tar.gz
cd faad2

Modify configure.in, plugins/xmms/src/Makefile.am and plugins/Makefile.am to remove references to BMP and enable CXX.

autoreconf -vif
make
make install

The ffmpeg source is maintained in Subversion so we had to first install subversion on the server as follows:

wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/\
subversion/latest/rhel-3/bin/neon-0.24.7-1.i386.rpm

rpm -i neon-0.24.7-1.i386.rpm

wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/\
subversion/latest/rhel-3/bin/subversion-1.3.2-1.rhel3.i386.rpm

rpm -i subversion-1.3.2-1.rhel3.i386.rpm

Next we fetch the ffmpeg source:

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

cd ffmpeg

./configure --enable-mp3lame --enable-faad --enable-gpl

make

make install
blog comments powered by Disqus