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.
If 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:
./configure --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 --enable-avfilter-lavf
Here I've removed --enable-pp as it is no longer recognised. And I've added --enable-swscale, --enable-avfilter, --enable-avfilter-lavf and --enable-postproc
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.
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.
If 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:
./configure --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 --enable-avfilter-lavf
Here I've removed --enable-pp as it is no longer recognised. And I've added --enable-swscale, --enable-avfilter, --enable-avfilter-lavf and --enable-postproc
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.
You may be interested in my tutorial I recently wrote on compiling ffmpeg and x264 from source on Ubuntu Hardy Heron:
HOWTO: Compile the latest ffmpeg and x264 from source
I'd appreciate any suggestions, comments, or questions.