AVCONV Upgrade

This document covers how to build, compile, and install avconv with WebM support.
*log in as root user*
mkdir ~/git
cd ~/git
git clone git://dev.entermediasoftware.com/installer_centos.git
cd installer_centos/installer/misc
chown 775 install_avconv.sh
./install_avconv.sh
The install_avconv.sh script does the following: #Shutdown EnterMedia /opt/entermedia/tomcat/bin/shutdown.sh #Remove old programs and create a workspace yum remove ffmpeg x264 libx264-dev cd /tmp mkdir avconvupgrade cd avconvupgrade sudo yum install gcc yasm make libvorbis-devel faac-devel lame-devel #Use this guide if you want Orbis support. curl -O http://downloads.xiph.org/releases/ogg/libogg-1.3.1.tar.gz tar xzvf libogg-1.3.1.tar.gz cd libogg-1.3.1 ./configure --prefix="/usr" --disable-shared make make install make distclean # Vorbis audio encoder. Requires libogg. curl -O http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.gz tar xzvf libvorbis-1.3.3.tar.gz cd libvorbis-1.3.3 ./configure --prefix="/usr" --with-ogg="/usr" --disable-shared make make install #Upgrade x264 wget ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2 tar jxvf last_x264.tar.bz2 cd x264-snapshot-* ./configure --enable-shared --prefix=/usr make sudo make install x264 --version ldconfig cd .. #Install libvpx (for WebM) git clone http://git.chromium.org/webm/libvpx.git cd libvpx* ./configure make sudo make install vpxenc cd .. #Install avconv curl "http://git.libav.org/?p=libav.git;a=snapshot;h=HEAD;sf=tgz" | tar zxv cd libav-HEAD-* ./configure --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvpx --enable-libvorbis make make install avconv cd .. #Remove workspace rm -Rf avconvupgrade