FFmpeg: Update Installing on Ubuntu Hardy
Having recently installed Xubuntu Hardy Heron on a laptop, I also
needed to install FFmpeg. This post is really just a couple of notes
for myself, updating my earlier How-To post regarding installation of
FFmpeg on Ubuntu Gutsy.
New apt-get install line:
sudo apt-get install liblame-dev libfaad2-dev libfaac-dev
libxvidcore4-dev liba52-0.7.4 liba52-0.7.4-dev libx264-dev libdts-dev
libswscale-dev checkinstall build-essential subversion
Here I’ve added the swscale development libraries. Swscale is used for scaling videos.
you are ever stuck behind a firewall or proxy, especially one that you
have no control over and which does not understand certain SVN
commands, there is a nightly Subversion snapshot available for download
from the FFmpeg website. This alleviates the need to checkout the
source with SVN.
New configure line:
–enable-gpl –enable-libvorbis –enable-libtheora –enable-liba52
–enable-libdc1394 –enable-libgsm –enable-libmp3lame –enable-libfaad
–enable-libfaac –enable-libxvid –enable-pthreads –enable-libx264
–enable-shared –enable-swscale –enable-avfilter –enable-postproc
Here I’ve removed –enable-pp as it is no longer recognised. And I’ve
added –enable-swscale, –enable-avfilter, –enable-avfilter-lavf and
Avfilter is the new FFmpeg library that replaces the deprecated vhook functionality.
One last note to self is to investigate the possibilities of AVIsynth scripting and FFmpeg.