Changes between Version 20 and Version 21 of CompilationGuide/Centos


Ignore:
Timestamp:
Feb 27, 2013, 9:57:43 PM (6 years ago)
Author:
llogan
Comment:

fix/cleanup fdk-aac and theora additions

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Centos

    v20 v21  
    1313Get the dependencies: 
    1414{{{ 
    15 # yum install gcc git make nasm pkgconfig wget zlib-devel libtheora-devel 
     15# yum install autoconf automake gcc git libtool make nasm pkgconfig wget zlib-devel 
    1616}}} 
    1717 
     
    5656./configure --disable-shared 
    5757make 
    58 # checkinstall --pkgname=fdk-aac --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \ 
    59 --deldoc=yes --fstrans=no --default 
     58# make install 
    6059}}} 
    6160 
     
    7372 
    7473=== libogg === 
    75 Required for libvorbis. 
     74Required for libtheora and libvorbis. 
    7675{{{ 
    7776cd ~/ffmpeg-source 
     
    7978tar xzvf libogg-1.3.0.tar.gz 
    8079cd libogg-1.3.0 
     80./configure --disable-shared 
     81make 
     82# make install 
     83}}} 
     84 
     85=== libtheora === 
     86Theora video encoder. 
     87{{{ 
     88cd ~/ffmpeg-source 
     89wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz 
     90tar xzvf libtheora-1.1.1.tar.gz 
     91cd libtheora-1.1.1 
    8192./configure --disable-shared 
    8293make 
     
    112123git clone git://source.ffmpeg.org/ffmpeg 
    113124cd ffmpeg 
    114 ./configure --enable-gpl --enable-libfdk_aac --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libtheora 
     125./configure --enable-gpl --enable-libfdk_aac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 
    115126make 
    116127# make install 
     
    137148git pull 
    138149}}} 
    139 Then run ./configure, make, and make install as shown in the [#x264 Install x264] section. 
     150Then run `./configure`, `make`, and `make install` as shown in the [#x264 Install x264] section. 
    140151 
    141152=== Update libvpx === 
     
    145156git pull 
    146157}}} 
    147 Then run ./configure, make, and make install as shown in the [#libvpx Install libvpx] section. 
     158Then run `./configure`, `make`, and `make install` as shown in the [#libvpx Install libvpx] section. 
    148159 
    149160=== Update FFmpeg === 
     
    153164git pull 
    154165}}} 
    155 Then run ./configure, make, and make install as shown in the [#ffmpeg Install FFmpeg] section. 
     166Then run `./configure`, `make`, and `make install` as shown in the [#ffmpeg Install FFmpeg] section. 
    156167 
    157168== Reverting changes made by this guide == 
     
    167178cd ../libvorbis-1.3.3 
    168179# make uninstall 
     180cd ../libvorbis-1.3.3 
     181# make uninstall 
    169182cd ../libvpx 
    170183# make uninstall 
     
    172185# make uninstall 
    173186rm -rf ~/ffmpeg-source 
    174 # yum erase gcc git make nasm pkgconfig wget 
     187# yum erase autoconf automake gcc git libtool make nasm pkgconfig wget zlib-devel 
    175188}}} 
    176189 
     
    178191#!comment 
    179192Todo: 
    180 Integrate installation via package management system instead of "make install" or install in home directory. Ignoring checkinstall as it is too much of a bitch to compile on CentOS 6.0. 
     193Change guide to local "install" (no more system install) 
    181194}}}