Installing FFmpeg & FFmpeg2Theora

FFmpeg is required to be able to process the video into different sizes and formats for viewing, in most cases configuring and building from the source code is a best route to take. FFmpeg2Theora is used specifically to encode and resize video to Ogg Vorbis and Theora.

To install FFmpeg2Theora either install using apt-get, yum or follow the how to on the ffmpeg2theora website.

Ubuntu Jaunty

$ apt-get install ffmpeg libavcodec-unstripped-52

Debian Sid

$ apt-get install libfaad-dev libfaac-dev libtheora-dev libvorbis-dev libx264-dev libxvidcore4-dev libdc1394-22-dev

$ svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg

$ cd ffmpeg

$ ./configure --enable-gpl  --enable-postproc --enable-nonfree --enable-postproc --enable-libfaad --enable-avfilter --enable-pthreads --enable-libxvid --enable-libx264 --enable -libmp3lame --enable-libdc1394 --enable-libfaac --disable-ffserver --disable-ffplay --enable-libvorbis --enable-libtheora --prefix=/usr

$ make && make install

CentOS 5.2

More details coming soon. I based part of my configuration and build from Gregory Tomlinson’s, “A Robust FFmpeg install for CentOS 5”. Although there is a fair amount of things not detailed that I needed to figure out, which I will run through again and add here.