Changes between Version 130 and Version 131 of CompilationGuide/Ubuntu


Ignore:
Timestamp:
Feb 16, 2017, 9:21:39 PM (2 years ago)
Author:
llogan
Comment:

switched to sdl2 for ffplay. various nits.

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Ubuntu

    v130 v131  
    2323sudo apt-get update
    2424sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \
    25   libsdl1.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 \
    2626  libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev
    2727}}}
     
    2929{{{
    3030#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"
    31 '''Note:''' Server users can omit the `ffplay` and x11grab dependencies: `libsdl1.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`.
    3232}}}
    3333
     
    4646This guide is designed to be non-intrusive and will create several directories in your home directory:
    4747
    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.
    5050* `bin` – Where the resulting binaries (`ffmpeg`, `ffplay`, `ffserver`, `x264`, and `yasm`) will be installed.
    5151
     
    5656An assembler for x86 optimizations used by x264 and FFmpeg. Highly recommended or your resulting build may be very slow.
    5757
    58 If your repository offers a `yasm` package ≥ 1.2.0 then you can install that instead of compiling:
     58If your repository provides `yasm` version ≥ 1.2.0 then you can install that instead of compiling:
    5959
    6060{{{
     
    8181Requires `ffmpeg` to be configured with `--enable-gpl` `--enable-libx264`.
    8282
    83 If your repository offers a `libx264-dev` package ≥ 0.118 then you can install that instead of compiling:
     83If your repository provides `libx264-dev` version ≥ 118 then you can install that instead of compiling:
    8484
    8585{{{
     
    104104H.265/HEVC video encoder. See the [[Encode/H.265|H.265 Encoding Guide]] for more information and usage examples.
    105105
    106 If your repository offers a `libx265-dev` package then you can install that instead of compiling:
     106If your repository provides `libx265-dev` version ≥ 68 then you can install that instead of compiling:
    107107
    108108{{{
     
    129129Requires `ffmpeg` to be configured with `--enable-libfdk-aac` (and `--enable-nonfree` if you also included `--enable-gpl`).
    130130
    131 If your repository offers a libfdk-aac-dev package then you can install that instead of compiling:
     131If your repository provides `libfdk-aac-dev` then you can install that instead of compiling:
    132132
    133133{{{
     
    136136
    137137Otherwise 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.
    140138
    141139{{{
     
    157155Requires `ffmpeg` to be configured with `--enable-libmp3lame`.
    158156
    159 If your repository offers a `libmp3lame-dev` package ≥ 3.98.3 then you can install that instead of compiling:
     157If your repository provides `libmp3lame-dev` version ≥ 3.98.3 then you can install that instead of compiling:
    160158
    161159{{{
     
    183181Requires `ffmpeg` to be configured with `--enable-libopus`.
    184182
    185 If your repository offers a `libopus-dev` package ≥ 1.1 then you can install that instead of compiling:
     183If your repository provides `libopus-dev` version ≥ 1.1 then you can install that instead of compiling:
    186184
    187185{{{
     
    193191{{{
    194192cd ~/ffmpeg_sources
    195 wget http://downloads.xiph.org/releases/opus/opus-1.1.3.tar.gz
    196 tar xzvf opus-1.1.3.tar.gz
    197 cd opus-1.1.3
     193wget http://downloads.xiph.org/releases/opus/opus-1.1.4.tar.gz
     194tar xzvf opus-1.1.4.tar.gz
     195cd opus-1.1.4
    198196./configure --prefix="$HOME/ffmpeg_build" --disable-shared
    199197make
     
    208206Requires `ffmpeg` to be configured with `--enable-libvpx`.
    209207
    210 If your repository offers a `libvpx-dev` package then you can install that instead of compiling:
     208If your repository provides `libvpx-dev` version ≥ 0.9.7 then you can install that instead of compiling:
    211209
    212210{{{
     
    218216{{{
    219217cd ~/ffmpeg_sources
    220 wget http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.6.0.tar.bz2
    221 tar xjvf libvpx-1.6.0.tar.bz2
    222 cd libvpx-1.6.0
     218wget http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.6.1.tar.bz2
     219tar xjvf libvpx-1.6.1.tar.bz2
     220cd llibvpx-1.6.1
    223221PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests
    224222PATH="$HOME/bin:$PATH" make
     
    320318rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver,vsyasm,x264,x265,yasm,ytasm}
    321319sudo apt-get autoremove autoconf automake build-essential cmake libass-dev libfreetype6-dev \
    322   libmp3lame-dev libopus-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev \
     320  libmp3lame-dev libopus-dev libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev \
    323321  libvorbis-dev libvpx-dev libx264-dev libxcb1-dev libxcb-shm0-dev ibxcb-xfixes0-dev mercurial texinfo zlib1g-dev
    324322sed -i '/ffmpeg_build/c\' ~/.manpath