Changes between Version 59 and Version 60 of CompilationGuide/Centos
- Timestamp:
- Oct 16, 2017, 8:18:23 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/Centos
v59 v60 34 34 }}} 35 35 36 === ~~Yasm~~ ===37 38 ~~An assembler for x86 optimizations used by some libraries. Highly recommended or your resulting build may be very slow.~~39 40 Note: Yasm was last updated in 2014 and is insufficient for the latest version of x264. It's recommended to use Nasm instead (below), as that is still under active development and is also available now with the BSD license. (licensing was one of the original reasons Yasm was created).41 42 {{{43 cd ~/ffmpeg_sources44 curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz45 tar xzvf yasm-1.3.0.tar.gz46 cd yasm-1.3.047 ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"48 make49 make install50 }}}51 36 52 37 === Nasm === 53 38 54 An otherassembler for x86 optimizations used by some libraries. Not using an assembler will result in much slower program function.39 An assembler for x86 optimizations used by some libraries. Not using an assembler will result in much slower program function. 55 40 56 41 {{{ … … 186 171 git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git 187 172 cd libvpx 188 ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as= yasm173 ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as=nasm 189 174 PATH="$HOME/bin:$PATH" make 190 175 make install … … 279 264 280 265 {{{ 281 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,lame, vsyasm,x264,yasm,ytasm}266 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,lame,nasm,x264} 282 267 # yum erase autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool mercurial nasm pkgconfig zlib-devel 283 268 hash -r
