Changes between Version 92 and Version 93 of CompilationGuide/Centos


Ignore:
Timestamp:
Feb 6, 2019, 3:17:58 AM (2 months ago)
Author:
llogan
Comment:

removed legacy libogg & libvorbis. removed mentions of ffserver.

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Centos

    v92 v93  
    1313* `ffmpeg_sources` – Where the source files will be downloaded. This can be deleted if desired when finished with the guide.
    1414* `ffmpeg_build` – Where the files will be built and libraries installed. This can be deleted if desired when finished with the guide.
    15 * `bin` – Where the resulting binaries (`ffmpeg`, `ffplay`, `ffserver`, `x264`, `x265`) will be installed.
     15* `bin` – Where the resulting binaries (`ffmpeg`, `ffprobe`, `x264`, `x265`) will be installed.
    1616
    1717You can easily undo any of this as shown in [#RevertingChangesmadebythisGuide Reverting Changes Made by This Guide].
     
    2828Get 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).
    2929{{{
    30 # yum install autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel bzip2-devel
     30# yum install autoconf automake bzip2 bzip2-devel cmake freetype-devel gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel
    3131}}}
    3232
     
    4242{{{
    4343#!div style="border: 1px solid #c7e5c7; margin: 1em; background-color: #ddffdd;"
    44 '''Tip:''' 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.
     44'''Tip:''' 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 libvpx is not needed, then skip that section and then remove `--enable-libvpx` from the [#FFmpeg Install FFmpeg] section.
    4545}}}
    4646
     
    9191{{{
    9292#!div style="border: 1px solid #e5c7c7; margin: 1em; background-color: #fdd;"
    93 '''Warning:''' If you get `Found no assembler. Minimum version is nasm-2.13` or similar after running `./configure` then the outdated nasm package from the repo is installed. Run `yum remove nasm && hash -r` and x264 will then use your newly compiled nasm instead. Ensure environment is able to resolve path to nasm binary.
     93'''Warning:''' If you get `Found no assembler. Minimum version is nasm-2.13` or similar after running `./configure` then the outdated nasm package from the repo is installed. Run `yum remove nasm && hash -d nasm` and x264 will then use your newly compiled nasm instead. Ensure environment is able to resolve path to nasm binary.
    9494}}}
    9595
     
    133133{{{
    134134cd ~/ffmpeg_sources
    135 curl -O -L http://downloads.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz
     135curl -O -L https://downloads.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz
    136136tar xzvf lame-3.100.tar.gz
    137137cd lame-3.100
     
    153153cd opus-1.3
    154154./configure --prefix="$HOME/ffmpeg_build" --disable-shared
    155 make
    156 make install
    157 }}}
    158 
    159 === libogg ===
    160 
    161 Ogg bitstream library. Required by [#libvorbis libvorbis].
    162 
    163 {{{
    164 cd ~/ffmpeg_sources
    165 curl -O -L https://downloads.xiph.org/releases/ogg/libogg-1.3.3.tar.gz
    166 tar xzvf libogg-1.3.3.tar.gz
    167 cd libogg-1.3.3
    168 ./configure --prefix="$HOME/ffmpeg_build" --disable-shared
    169 make
    170 make install
    171 }}}
    172 
    173 === libvorbis ===
    174 
    175 Vorbis audio encoder. Requires [#libogg libogg].
    176 
    177 Requires `ffmpeg` to be configured with `--enable-libvorbis`.
    178 
    179 {{{
    180 cd ~/ffmpeg_sources
    181 curl -O -L https://downloads.xiph.org/releases/vorbis/libvorbis-1.3.6.tar.gz
    182 tar xzvf libvorbis-1.3.6.tar.gz
    183 cd libvorbis-1.3.6
    184 ./configure --prefix="$HOME/ffmpeg_build" --with-ogg="$HOME/ffmpeg_build" --disable-shared
    185155make
    186156make install
     
    222192  --enable-libmp3lame \
    223193  --enable-libopus \
    224   --enable-libvorbis \
    225194  --enable-libvpx \
    226195  --enable-libx264 \
     
    229198make
    230199make install
    231 hash -r
    232 }}}
    233 
    234 Compilation is now complete and `ffmpeg` (also `ffprobe`, `ffserver`, `lame`, and `x264`) should now be ready to use. The rest of this guide shows how to update or remove FFmpeg.
     200hash -d ffmpeg
     201}}}
     202
     203Compilation is now complete and `ffmpeg` (also `ffprobe`, `lame`, and `x264`) should now be ready to use. The rest of this guide shows how to update or remove FFmpeg.
    235204
    236205{{{
     
    246215
    247216{{{
    248 rm -rf ~/ffmpeg_build ~/bin/{ffmpeg,ffprobe,ffserver,lame,x264,x265}
    249 # yum install autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel
     217rm -rf ~/ffmpeg_build ~/bin/{ffmpeg,ffprobe,lame,x264,x265}
     218# yum install autoconf automake bzip2 bzip2-devel cmake freetype-devel gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel
    250219}}}
    251220
     
    294263
    295264{{{
    296 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,lame,nasm,vsyasm,x264,yasm,ytasm}
    297 # yum erase autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool mercurial zlib-devel
     265rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,lame,nasm,vsyasm,x264,yasm,ytasm}
     266# yum erase autoconf automake bzip2 bzip2-devel cmake freetype-devel gcc gcc-c++ git libtool mercurial zlib-devel
    298267hash -r
    299268}}}