Changes between Version 132 and Version 133 of CompilationGuide/Ubuntu


Ignore:
Timestamp:
May 31, 2017, 12:30:24 PM (2 years ago)
Author:
slhck
Comment:

remove yasm, add nasm install guide

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Ubuntu

    v132 v133  
    2424sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \
    2525  libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \
    26   libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev
     26  libxcb-xfixes0-dev pkg-config texinfo wget zlib1g-dev
    2727}}}
    2828
     
    4848* `ffmpeg_sources` – Where the source files will be downloaded. This can be deleted if desired when finished with the guide.
    4949* `ffmpeg_build` – Where the files will be built and libraries installed. This can be deleted if desired when finished with the guide.
    50 * `bin` – Where the resulting binaries (`ffmpeg`, `ffplay`, `ffserver`, `x264`, and `yasm`) will be installed.
     50* `bin` – Where the resulting binaries (`ffmpeg`, `ffplay`, `ffserver`, `x264`, `x265`) will be installed.
    5151
    5252You can easily undo any of this as shown in [#RevertingChangesMadebyThisGuide Reverting Changes Made by This Guide].
    5353
    54 === Yasm ===
    55 
    56 An assembler for x86 optimizations used by x264 and FFmpeg. Highly recommended or your resulting build may be very slow.
    57 
    58 If your repository provides `yasm` version ≥ 1.2.0 then you can install that instead of compiling:
    59 
    60 {{{
    61 sudo apt-get install yasm
    62 }}}
    63 
    64 Otherwise you can compile:
    65 
    66 {{{
    67 cd ~/ffmpeg_sources
    68 wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
    69 tar xzvf yasm-1.3.0.tar.gz
    70 cd yasm-1.3.0
    71 ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
    72 make
     54=== nasm ===
     55
     56NASM assembler. Required for compilation of x264 and other tools.
     57
     58{{{
     59cd ~/ffmpeg_sources
     60wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.01/nasm-2.13.01.tar.bz2
     61tar xjvf nasm-2.13.01.tar.bz2
     62cd nasm-2.13.01
     63./autogen.sh
     64PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
     65PATH="$HOME/bin:$PATH" make
    7366make install
    7467}}}
     
    160153
    161154{{{
    162 sudo apt-get install nasm
    163155cd ~/ffmpeg_sources
    164156wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
     
    298290
    299291{{{
    300 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver,vsyasm,x264,x265,yasm,ytasm}
     292rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver,x264,x265}
    301293}}}
    302294
     
    308300
    309301{{{
    310 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver,vsyasm,x264,x265,yasm,ytasm}
     302rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver,x264,x265,nasm}
    311303sudo apt-get autoremove autoconf automake build-essential cmake libass-dev libfreetype6-dev \
    312304  libmp3lame-dev libopus-dev libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev \