Changes between Version 162 and Version 163 of CompilationGuide/Ubuntu


Ignore:
Timestamp:
May 12, 2020, 8:44:55 PM (15 months ago)
Author:
llogan
Comment:

added https support via gnutls. yasm is dead enough that repo versions are up to date so no more compiling it.

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Ubuntu

    v162 v163  
    1212You may also refer to the [[GenericCompilationGuide|Generic Compilation Guide]] for additional information about compiling software.
    1313
    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.
     14Recent [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.
    1515
    1616{{{
     
    2626
    2727You can easily undo any of this as shown in [#RevertingChangesmadebythisGuide Reverting Changes Made by This Guide].
    28 
    2928
    3029----
     
    4443  libass-dev \
    4544  libfreetype6-dev \
     45  libgnutls28-dev \
    4646  libsdl2-dev \
    4747  libtool \
     
    5555  texinfo \
    5656  wget \
     57  yasm \
    5758  zlib1g-dev
    5859}}}
     
    105106./autogen.sh && \
    106107PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" && \
    107 make && \
    108 make install
    109 }}}
    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 #!sh
    119 sudo apt-get install yasm
    120 }}}
    121 
    122 Otherwise you can compile:
    123 
    124 {{{
    125 #!sh
    126 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" && \
    131108make && \
    132109make install
     
    323300  --bindir="$HOME/bin" \
    324301  --enable-gpl \
     302  --enable-gnutls \
    325303  --enable-libaom \
    326304  --enable-libass \
     
    390368{{{
    391369#!sh
    392 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,x264,x265,nasm,vsyasm,yasm,ytasm}
     370rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffplay,x264,x265,nasm}
    393371sed -i '/ffmpeg_build/d' ~/.manpath
    394372hash -r
     
    399377{{{
    400378#!sh
    401 sudo apt-get autoremove autoconf automake build-essential cmake git-core libass-dev libfreetype6-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 zlib1g-dev
     379sudo 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
    402380}}}
    403381