Changes between Version 53 and Version 54 of CompilationGuide/Centos


Ignore:
Timestamp:
Jun 1, 2017, 11:18:35 AM (4 months ago)
Author:
slhck
Comment:

add yasm again, apparently needed for libvpx

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Centos

    v53 v54  
    3232#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;" 
    3333'''Note:''' If you do not require certain encoders you may skip the relevant section and then remove the appropriate `./configure` option in FFmpeg. For example, if libvorbis is not needed, then skip that section and then remove `--enable-libvorbis` from the [#FFmpeg Install FFmpeg] section. 
     34}}} 
     35 
     36=== Yasm === 
     37 
     38An assembler for x86 optimizations used by some libraries. Highly recommended or your resulting build may be very slow. 
     39 
     40{{{ 
     41cd ~/ffmpeg_sources 
     42curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz 
     43tar xzvf yasm-1.3.0.tar.gz 
     44cd yasm-1.3.0 
     45./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" 
     46make 
     47make install 
    3448}}} 
    3549 
     
    108122{{{ 
    109123cd ~/ffmpeg_sources 
    110 git clone http://git.opus-codec.org/opus.git 
    111 cd opus 
    112 autoreconf -fiv 
    113 PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --disable-shared 
    114 make 
    115 make install 
    116 echo 
     124curl -O https://archive.mozilla.org/pub/opus/opus-1.1.5.tar.gz 
     125tar xzvf opus-1.1.5.tar.gz 
     126cd opus-1.1.5 
     127./configure --prefix="$HOME/ffmpeg_build" --disable-shared 
     128make 
     129make install 
    117130}}} 
    118131 
     
    159172git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git 
    160173cd libvpx 
    161 ./configure --prefix="$HOME/ffmpeg_build" --disable-examples 
    162 make 
     174./configure --prefix="$HOME/ffmpeg_build" --disable-examples  --as=yasm 
     175PATH="$HOME/bin:$PATH" make 
    163176make install 
    164177echo