Changes between Version 24 and Version 25 of UbuntuCompilationGuide
- Timestamp:
- 09/02/2012 10:29:56 PM (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UbuntuCompilationGuide
v24 v25 3 3 [[PageOutline(2, Contents)]] 4 4 5 This guide supports '''Ubuntu Precise Pangolin 12.04''', '''Ubuntu Oneiric Ocelot 11.10''', '''Ubuntu Natty Narwhal 11.04''', and '''Ubuntu Maverick Meerkat 10.10'''. Separate guides are available for [wiki:UbuntuCompilationGuideLucid Ubuntu Lucid Lynx 10.04] and [wiki:UbuntuCompilationGuideHardy Ubuntu Hardy Heron 8.04]. This guide will enable several external encoding and decoding libraries: '' libfaac'' (AAC encoder), ''libfdk-aac'' (AAC encoder), ''libmp3lame'' (MP3 encoder), ''libopencore-amr'' (AMR encoder/decoder), ''librtmp'' (for additional RTMP protocols), ''libtheora'' (Theora encoder), ''libvorbis'' (Vorbis encoder), ''libvpx'' (VP8 encoder/decoder), and ''libx264'' (H.264 encoder). These are optional and may be omitted if desired. This guide will also install many filters (see the filter list in the [wiki:FilteringGuide#ListofFilters Filtering Guide]).5 This guide supports '''Ubuntu Precise Pangolin 12.04''', '''Ubuntu Oneiric Ocelot 11.10''', '''Ubuntu Natty Narwhal 11.04''', and '''Ubuntu Maverick Meerkat 10.10'''. Separate guides are available for [wiki:UbuntuCompilationGuideLucid Ubuntu Lucid Lynx 10.04] and [wiki:UbuntuCompilationGuideHardy Ubuntu Hardy Heron 8.04]. This guide will enable several external encoding and decoding libraries: ''fdk-aac'' (AAC encoder), ''libfaac'' (AAC encoder), ''libmp3lame'' (MP3 encoder), ''libopencore-amr'' (AMR encoder/decoder), ''librtmp'' (for additional RTMP protocols), ''libtheora'' (Theora encoder), ''libvorbis'' (Vorbis encoder), ''libvpx'' (VP8 encoder/decoder), and ''libx264'' (H.264 encoder). These are optional and may be omitted if desired. This guide will also install many filters (see the filter list in the [wiki:FilteringGuide#ListofFilters Filtering Guide]). 6 6 7 7 '''Note:''' Copy and paste the whole code box for each step. … … 46 46 '''Note:''' You can download the nightly [ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2 x264 source snapshot] as an alternative to using `git`. 47 47 48 === libfdk-aac ===#libfdk-aac48 === fdk-aac ===#fdk-aac 49 49 AAC audio encoder. 50 50 {{{ … … 53 53 cd fdk-aac 54 54 autoreconf -fiv 55 ./configure 55 ./configure --disable-shared 56 56 make 57 57 sudo checkinstall --pkgname=fdk-aac --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \ 58 58 --deldoc=yes --fstrans=no --default 59 sudo ldconfig60 59 }}} 61 60 … … 95 94 == Finish == 96 95 Installation is now complete and FFmpeg is now ready for use. You can keep the x264, libvpx, and ffmpeg directories in your home directory if you plan on updating later. See [#update Updating FFmpeg] below for more details. Some optional steps are next followed by instructions on updating FFmpeg and finally instructions on reverting all changes made by this guide. 97 98 '''Note:''' It may happen that ffmpeg outputs the following message: ''ffmpeg: error while loading shared libraries: libfdk-aac.so.0: cannot open shared object file: No such file or directory''. In this case set the following environment variable: ''export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH''. The line can be put into the file .bashrc in your home directory such that the variable is always set when starting a shell or terminal.99 100 101 102 103 96 104 97 ---- … … 148 141 Now run `./configure`, `make`, and `make install` as shown in the [#x264 Install x264] section. 149 142 143 === fdk-aac === 144 {{{ 145 cd ~/fdk-aac 146 make distclean 147 git pull 148 }}} 149 Now run `./configure`, `make`, and `make install` as shown in the [#fdk-aac Install fdk-aac] section. 150 150 151 === libvpx === 151 152 {{{ … … 167 168 168 169 == Reverting Changes Made by This Guide == 169 To remove FFmpeg /x264 and other packages added for this guide:170 To remove FFmpeg, x264, and other packages installed for this guide: 170 171 {{{ 171 172 sudo apt-get -y autoremove autoconf build-essential checkinstall fdk-aac ffmpeg git libfaac-dev libgpac-dev \


