Changes between Version 52 and Version 53 of CompilationGuide/Centos


Ignore:
Timestamp:
May 31, 2017, 12:03:34 PM (2 years ago)
Author:
slhck
Comment:

remove yasm, update nasm version

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Centos

    v52 v53  
    1616Get 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).
    1717{{{
     18# yum-config-manager --add-repo http://www.nasm.us/nasm.repo
    1819# yum install autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel
    1920}}}
     
    3233'''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.
    3334}}}
    34 
    35 === Yasm ===
    36 
    37 Yasm is an assembler used by x264 and FFmpeg.
    38 
    39 {{{
    40 cd ~/ffmpeg_sources
    41 git clone --depth 1 git://github.com/yasm/yasm.git
    42 cd yasm
    43 autoreconf -fiv
    44 ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
    45 make
    46 make install
    47 echo
    48 }}}
    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 
    5635
    5736=== libx264 ===
     
    213192
    214193{{{
    215 rm -rf ~/ffmpeg_build ~/bin/{ffmpeg,ffprobe,ffserver,lame,vsyasm,x264,x265,yasm,ytasm}
     194rm -rf ~/ffmpeg_build ~/bin/{ffmpeg,ffprobe,ffserver,lame,x264,x265}
    216195# yum install autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel
    217196}}}
    218 
    219 === Update Yasm ===
    220 {{{
    221 cd ~/ffmpeg_sources/yasm
    222 make distclean
    223 git pull
    224 }}}
    225 Then run `./configure`, `make`, and `make install` as shown in the [#yasm Install yasm] section.
    226197
    227198=== Update x264 ===