Changes between Version 60 and Version 61 of CompilationGuide/Centos


Ignore:
Timestamp:
Oct 16, 2017, 11:25:57 AM (23 months ago)
Author:
slhck
Comment:

Reverted to version 58, just noticed that x265 needs yasm

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Centos

    v60 v61  
    3434}}}
    3535
    36 
    37 === Nasm ===
    38 
    39 An assembler for x86 optimizations used by some libraries. Not using an assembler will result in much slower program function.
    40 
    41 {{{
    42 cd /etc/yum.repo.d/
    43 wget http://nasm.us/nasm.repo
    44 sudo yum install nasm
    45 }}}
    46 
    47 Alternatively you could [[http://www.linuxfromscratch.org/blfs/view/svn/general/nasm.html|install nasm from source.]]
     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
     48}}}
    4849
    4950=== libx264 ===
     
    171172git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git
    172173cd libvpx
    173 ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as=nasm
     174./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as=yasm
    174175PATH="$HOME/bin:$PATH" make
    175176make install
     
    264265
    265266{{{
    266 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,lame,nasm,x264}
     267rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,lame,vsyasm,x264,yasm,ytasm}
    267268# yum erase autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool mercurial nasm pkgconfig zlib-devel
    268269hash -r