Changes between Version 130 and Version 131 of CompilationGuide/Ubuntu
- Timestamp:
- Feb 16, 2017, 7:21:39 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/Ubuntu
v130 v131 23 23 sudo apt-get update 24 24 sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \ 25 libsdl 1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \25 libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \ 26 26 libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev 27 27 }}} … … 29 29 {{{ 30 30 #!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;" 31 '''Note:''' Server users can omit the `ffplay` and x11grab dependencies: `libsdl 1.2-dev libva-dev libvdpau-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev`.31 '''Note:''' Server users can omit the `ffplay` and x11grab dependencies: `libsdl2-dev libva-dev libvdpau-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev`. 32 32 }}} 33 33 … … 46 46 This guide is designed to be non-intrusive and will create several directories in your home directory: 47 47 48 * `ffmpeg_sources` – Where the source files will be downloaded. 49 * `ffmpeg_build` – Where the files will be built and libraries installed. 48 * `ffmpeg_sources` – Where the source files will be downloaded. This can be deleted if desired when finished with the guide. 49 * `ffmpeg_build` – Where the files will be built and libraries installed. This can be deleted if desired when finished with the guide. 50 50 * `bin` – Where the resulting binaries (`ffmpeg`, `ffplay`, `ffserver`, `x264`, and `yasm`) will be installed. 51 51 … … 56 56 An assembler for x86 optimizations used by x264 and FFmpeg. Highly recommended or your resulting build may be very slow. 57 57 58 If your repository offers a `yasm` package≥ 1.2.0 then you can install that instead of compiling:58 If your repository provides `yasm` version ≥ 1.2.0 then you can install that instead of compiling: 59 59 60 60 {{{ … … 81 81 Requires `ffmpeg` to be configured with `--enable-gpl` `--enable-libx264`. 82 82 83 If your repository offers a `libx264-dev` package ≥ 0.118 then you can install that instead of compiling:83 If your repository provides `libx264-dev` version ≥ 118 then you can install that instead of compiling: 84 84 85 85 {{{ … … 104 104 H.265/HEVC video encoder. See the [[Encode/H.265|H.265 Encoding Guide]] for more information and usage examples. 105 105 106 If your repository offers a `libx265-dev` packagethen you can install that instead of compiling:106 If your repository provides `libx265-dev` version ≥ 68 then you can install that instead of compiling: 107 107 108 108 {{{ … … 129 129 Requires `ffmpeg` to be configured with `--enable-libfdk-aac` (and `--enable-nonfree` if you also included `--enable-gpl`). 130 130 131 If your repository offers a libfdk-aac-dev packagethen you can install that instead of compiling:131 If your repository provides `libfdk-aac-dev` then you can install that instead of compiling: 132 132 133 133 {{{ … … 136 136 137 137 Otherwise you can compile: 138 139 The error "error: Libtool library used but 'LIBTOOL' is undefined" after running "autoreconf -fiv" can be resolved by running the command: libtoolize.140 138 141 139 {{{ … … 157 155 Requires `ffmpeg` to be configured with `--enable-libmp3lame`. 158 156 159 If your repository offers a `libmp3lame-dev` package≥ 3.98.3 then you can install that instead of compiling:157 If your repository provides `libmp3lame-dev` version ≥ 3.98.3 then you can install that instead of compiling: 160 158 161 159 {{{ … … 183 181 Requires `ffmpeg` to be configured with `--enable-libopus`. 184 182 185 If your repository offers a `libopus-dev` package≥ 1.1 then you can install that instead of compiling:183 If your repository provides `libopus-dev` version ≥ 1.1 then you can install that instead of compiling: 186 184 187 185 {{{ … … 193 191 {{{ 194 192 cd ~/ffmpeg_sources 195 wget http://downloads.xiph.org/releases/opus/opus-1.1. 3.tar.gz196 tar xzvf opus-1.1. 3.tar.gz197 cd opus-1.1. 3193 wget http://downloads.xiph.org/releases/opus/opus-1.1.4.tar.gz 194 tar xzvf opus-1.1.4.tar.gz 195 cd opus-1.1.4 198 196 ./configure --prefix="$HOME/ffmpeg_build" --disable-shared 199 197 make … … 208 206 Requires `ffmpeg` to be configured with `--enable-libvpx`. 209 207 210 If your repository offers a `libvpx-dev` packagethen you can install that instead of compiling:208 If your repository provides `libvpx-dev` version ≥ 0.9.7 then you can install that instead of compiling: 211 209 212 210 {{{ … … 218 216 {{{ 219 217 cd ~/ffmpeg_sources 220 wget http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.6. 0.tar.bz2221 tar xjvf libvpx-1.6. 0.tar.bz2222 cd l ibvpx-1.6.0218 wget http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.6.1.tar.bz2 219 tar xjvf libvpx-1.6.1.tar.bz2 220 cd llibvpx-1.6.1 223 221 PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests 224 222 PATH="$HOME/bin:$PATH" make … … 320 318 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver,vsyasm,x264,x265,yasm,ytasm} 321 319 sudo apt-get autoremove autoconf automake build-essential cmake libass-dev libfreetype6-dev \ 322 libmp3lame-dev libopus-dev libsdl 1.2-dev libtheora-dev libtool libva-dev libvdpau-dev \320 libmp3lame-dev libopus-dev libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev \ 323 321 libvorbis-dev libvpx-dev libx264-dev libxcb1-dev libxcb-shm0-dev ibxcb-xfixes0-dev mercurial texinfo zlib1g-dev 324 322 sed -i '/ffmpeg_build/c\' ~/.manpath
