Changes between Version 24 and Version 25 of CompilationGuide/Ubuntu


Ignore:
Timestamp:
Sep 2, 2012, 11:29:56 PM (7 years ago)
Author:
llogan
Comment:

add disable-shared to fdk-aac configure; add fdk-aac upgrade info

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Ubuntu

    v24 v25  
    33[[PageOutline(2, Contents)]]
    44
    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]).
     5This 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]).
    66
    77  '''Note:''' Copy and paste the whole code box for each step.
     
    4646  '''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`.
    4747
    48 === libfdk-aac ===#libfdk-aac
     48=== fdk-aac ===#fdk-aac
    4949AAC audio encoder.
    5050{{{
     
    5353cd fdk-aac
    5454autoreconf -fiv
    55 ./configure
     55./configure --disable-shared
    5656make
    5757sudo checkinstall --pkgname=fdk-aac --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \
    5858  --deldoc=yes --fstrans=no --default
    59 sudo ldconfig
    6059}}}
    6160
     
    9594== Finish ==
    9695Installation 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 
    10396
    10497----
     
    148141Now run `./configure`, `make`, and `make install` as shown in the [#x264 Install x264] section.
    149142
     143=== fdk-aac ===
     144{{{
     145cd ~/fdk-aac
     146make distclean
     147git pull
     148}}}
     149Now run `./configure`, `make`, and `make install` as shown in the [#fdk-aac Install fdk-aac] section.
     150
    150151=== libvpx ===
    151152{{{
     
    167168
    168169== Reverting Changes Made by This Guide ==
    169 To remove FFmpeg/x264 and other packages added for this guide:
     170To remove FFmpeg, x264, and other packages installed for this guide:
    170171{{{
    171172sudo apt-get -y autoremove autoconf build-essential checkinstall fdk-aac ffmpeg git libfaac-dev libgpac-dev \