Changes between Version 134 and Version 135 of CompilationGuide/Ubuntu


Ignore:
Timestamp:
Jun 1, 2017, 12:54:26 PM (2 years ago)
Author:
slhck
Comment:

some more updates, re-include yasm because apparently it's needed by other tools that don't work with nasm

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Ubuntu

    v134 v135  
    1111{{{
    1212#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"
    13 '''Note:''' FFmpeg has returned in Ubuntu 15.04 Vivid Vervet. You may still wish to compile if you experience a bug or want to customize your build, and it will not interfere with the ''ffmpeg'' package in the repository.
     13'''Note:''' FFmpeg has returned in Ubuntu 15.04 Vivid Vervet and can be installed via `apt-get install ffmpeg`. You may still wish to compile if you experience a bug or want to customize your build, and it will not interfere with the ''ffmpeg'' package in the repository.
    1414}}}
    1515
     
    5151
    5252You can easily undo any of this as shown in [#RevertingChangesMadebyThisGuide Reverting Changes Made by This Guide].
     53
     54=== Yasm ===
     55
     56An assembler for x86 optimizations used by x264 and FFmpeg. Highly recommended or your resulting build may be very slow.
     57
     58If your repository provides yasm version ≥ 1.2.0 then you can install that instead of compiling:
     59
     60{{{
     61sudo apt-get install yasm
     62}}}
     63
     64Otherwise you can compile:
     65
     66{{{
     67cd ~/ffmpeg_sources
     68wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
     69tar xzvf yasm-1.3.0.tar.gz
     70cd yasm-1.3.0
     71./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
     72make
     73make install
     74}}}
    5375
    5476=== nasm ===
     
    201223
    202224{{{
    203 cd ~/ffmpeg_sources
    204 wget http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.6.1.tar.bz2
    205 tar xjvf libvpx-1.6.1.tar.bz2
    206 cd libvpx-1.6.1
     225sudo apt-get install git
     226cd ~/ffmpeg_sources
     227git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git
     228cd libvpx
    207229PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests
    208230PATH="$HOME/bin:$PATH" make