Changes between Version 31 and Version 32 of CompilationGuide/Centos
- Timestamp:
- Mar 14, 2014, 10:52:48 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/Centos
v31 v32 9 9 == Get the Dependencies == 10 10 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 }}} 12 15 13 16 Get the dependencies: … … 25 28 == Compilation & Installation == 26 29 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 }}} 28 34 29 35 === Yasm === … … 42 48 43 49 === libx264 === 44 H.264 video encoder. '''NOTE:''' FFmpeg's ./configure requires --enable-libx264 and --extra-libs="-ldl". 50 H.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 45 57 {{{ 46 58 cd ~/ffmpeg_sources … … 137 149 PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" 138 150 export 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-libx264151 ./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 140 152 make 141 153 make install … … 147 159 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. 148 160 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 }}} 150 165 151 166 ----
