Changes between Version 132 and Version 133 of CompilationGuide/Ubuntu
- Timestamp:
- May 31, 2017, 9:30:24 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/Ubuntu
v132 v133 24 24 sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \ 25 25 libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \ 26 libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev26 libxcb-xfixes0-dev pkg-config texinfo wget zlib1g-dev 27 27 }}} 28 28 … … 48 48 * `ffmpeg_sources` – Where the source files will be downloaded. This can be deleted if desired when finished with the guide. 49 49 * `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. 51 51 52 52 You can easily undo any of this as shown in [#RevertingChangesMadebyThisGuide Reverting Changes Made by This Guide]. 53 53 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 56 NASM assembler. Required for compilation of x264 and other tools. 57 58 {{{ 59 cd ~/ffmpeg_sources 60 wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.01/nasm-2.13.01.tar.bz2 61 tar xjvf nasm-2.13.01.tar.bz2 62 cd nasm-2.13.01 63 ./autogen.sh 64 PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" 65 PATH="$HOME/bin:$PATH" make 73 66 make install 74 67 }}} … … 160 153 161 154 {{{ 162 sudo apt-get install nasm163 155 cd ~/ffmpeg_sources 164 156 wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz … … 298 290 299 291 {{{ 300 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver, vsyasm,x264,x265,yasm,ytasm}292 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver,x264,x265} 301 293 }}} 302 294 … … 308 300 309 301 {{{ 310 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver, vsyasm,x264,x265,yasm,ytasm}302 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,ffserver,x264,x265,nasm} 311 303 sudo apt-get autoremove autoconf automake build-essential cmake libass-dev libfreetype6-dev \ 312 304 libmp3lame-dev libopus-dev libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev \
