Changes between Version 52 and Version 53 of CompilationGuide/Centos
- Timestamp:
- May 31, 2017, 9:03:34 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/Centos
v52 v53 16 16 Get the dependencies. These are required for compiling, but you can remove them when you are done if you prefer (except `make`; it should be installed by default and many things depend on it). 17 17 {{{ 18 # yum-config-manager --add-repo http://www.nasm.us/nasm.repo 18 19 # yum install autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel 19 20 }}} … … 32 33 '''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. 33 34 }}} 34 35 === Yasm ===36 37 Yasm is an assembler used by x264 and FFmpeg.38 39 {{{40 cd ~/ffmpeg_sources41 git clone --depth 1 git://github.com/yasm/yasm.git42 cd yasm43 autoreconf -fiv44 ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"45 make46 make install47 echo48 }}}49 50 51 {{{52 #!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"53 '''Note:''' The `echo` at the end is just a sacrificial command because some users are forgetting to manually execute the last command when copying and pasting each code block.54 }}}55 56 35 57 36 === libx264 === … … 213 192 214 193 {{{ 215 rm -rf ~/ffmpeg_build ~/bin/{ffmpeg,ffprobe,ffserver,lame, vsyasm,x264,x265,yasm,ytasm}194 rm -rf ~/ffmpeg_build ~/bin/{ffmpeg,ffprobe,ffserver,lame,x264,x265} 216 195 # yum install autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel 217 196 }}} 218 219 === Update Yasm ===220 {{{221 cd ~/ffmpeg_sources/yasm222 make distclean223 git pull224 }}}225 Then run `./configure`, `make`, and `make install` as shown in the [#yasm Install yasm] section.226 197 227 198 === Update x264 ===
