Changes between Version 31 and Version 32 of CompilationGuide/Centos


Ignore:
Timestamp:
Mar 15, 2014, 12:52:48 AM (5 years ago)
Author:
llogan
Comment:

fancy notes

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Centos

    v31 v32  
    99== Get the Dependencies ==
    1010
    11   '''Note:''' The # indicates that the command should be executed as superuser or root.
     11{{{
     12#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"
     13'''Note:''' The `#` indicates that the command should be executed as superuser or root.
     14}}}
    1215
    1316Get the dependencies:
     
    2528== Compilation & Installation ==
    2629
    27   '''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.
     30{{{
     31#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"
     32'''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}}}
    2834
    2935=== Yasm ===
     
    4248
    4349=== libx264 ===
    44 H.264 video encoder. '''NOTE:''' FFmpeg's ./configure requires --enable-libx264 and --extra-libs="-ldl".
     50H.264 video encoder.
     51
     52{{{
     53#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"
     54'''Note:''' `ffmpeg`'s `./configure` requires `--enable-gpl`, `--enable-libx264`, and `--extra-libs=-ldl` for this library.
     55}}}
     56
    4557{{{
    4658cd ~/ffmpeg_sources
     
    137149PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
    138150export PKG_CONFIG_PATH
    139 ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --extra-libs="-ldl" --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
     151./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
    140152make
    141153make install
     
    147159Compilation 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.
    148160
    149   '''Note:''' Keep the `ffmpeg_sources` directory and all contents if you intend to update or uninstall as shown below.
     161{{{
     162#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"
     163'''Note:''' Keep the `ffmpeg_sources` directory and all contents if you intend to update or uninstall as shown below.
     164}}}
    150165
    151166----