Changes between Version 162 and Version 163 of CompilationGuide/Ubuntu
- Timestamp:
- May 12, 2020, 5:44:55 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/Ubuntu
v162 v163 12 12 You may also refer to the [[GenericCompilationGuide|Generic Compilation Guide]] for additional information about compiling software. 13 13 14 Recent [https://ffmpeg.org/download.html#LinuxBuilds static builds] are also available for lazy people or those who are unable to compile. The static builds do not support non-free encoders.14 Recent [https://ffmpeg.org/download.html#LinuxBuilds static builds] are also available for lazy people or those who are unable to compile. The static builds do not support non-free libraries. 15 15 16 16 {{{ … … 26 26 27 27 You can easily undo any of this as shown in [#RevertingChangesmadebythisGuide Reverting Changes Made by This Guide]. 28 29 28 30 29 ---- … … 44 43 libass-dev \ 45 44 libfreetype6-dev \ 45 libgnutls28-dev \ 46 46 libsdl2-dev \ 47 47 libtool \ … … 55 55 texinfo \ 56 56 wget \ 57 yasm \ 57 58 zlib1g-dev 58 59 }}} … … 105 106 ./autogen.sh && \ 106 107 PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" && \ 107 make && \108 make install109 }}}110 111 == Yasm ==112 113 An assembler used by some libraries.114 115 If your repository provides yasm version ≥ 1.2.0 then you can install that instead of compiling:116 117 {{{118 #!sh119 sudo apt-get install yasm120 }}}121 122 Otherwise you can compile:123 124 {{{125 #!sh126 cd ~/ffmpeg_sources && \127 wget -O yasm-1.3.0.tar.gz https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz && \128 tar xzvf yasm-1.3.0.tar.gz && \129 cd yasm-1.3.0 && \130 ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" && \131 108 make && \ 132 109 make install … … 323 300 --bindir="$HOME/bin" \ 324 301 --enable-gpl \ 302 --enable-gnutls \ 325 303 --enable-libaom \ 326 304 --enable-libass \ … … 390 368 {{{ 391 369 #!sh 392 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,x264,x265,nasm ,vsyasm,yasm,ytasm}370 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,x264,x265,nasm} 393 371 sed -i '/ffmpeg_build/d' ~/.manpath 394 372 hash -r … … 399 377 {{{ 400 378 #!sh 401 sudo apt-get autoremove autoconf automake build-essential cmake git-core libass-dev libfreetype6-dev lib mp3lame-dev libnuma-dev libopus-dev libsdl2-dev libtool libva-dev libvdpau-dev libvorbis-dev libvpx-dev libx264-dev libx265-dev libxcb1-dev libxcb-shm0-dev ibxcb-xfixes0-dev mercurial texinfo wgetzlib1g-dev379 sudo apt-get autoremove autoconf automake build-essential cmake git-core libass-dev libfreetype6-dev libgnutls28-dev libmp3lame-dev libnuma-dev libopus-dev libsdl2-dev libtool libva-dev libvdpau-dev libvorbis-dev libvpx-dev libx264-dev libx265-dev libxcb1-dev libxcb-shm0-dev ibxcb-xfixes0-dev mercurial texinfo wget yasm zlib1g-dev 402 380 }}} 403 381
