Changes between Version 73 and Version 74 of CompilationGuide/Ubuntu


Ignore:
Timestamp:
Jun 5, 2013, 3:22:07 AM (6 years ago)
Author:
llogan
Comment:

add Debian

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Ubuntu

    v73 v74  
    1 = Compile FFmpeg on Ubuntu =
     1= Compile FFmpeg on Ubuntu, Debian, or Mint =
    22
    33[[PageOutline(2, Contents)]]
    44
    5 This guide for '''Ubuntu 13.04 Raring Ringtail''' and '''Linux Mint 15 Olivia''' will provide a local install of the latest FFmpeg tools and libraries including several external encoding and decoding libraries (codecs). This will not provide a system installation and therefore will not interfere with anything such as repository packages. See [[UbuntuCompilationGuide?version=59|these instructions]] if you prefer a system installation, and recent [http://ffmpeg.org/download.html#LinuxBuilds static builds] are also available for lazy people or those who are unable to compile.
     5This guide for '''Ubuntu 13.04 Raring Ringtail''', '''Debian 7.0 Wheezy''', and '''Linux Mint 15 Olivia''' will provide a local install of the latest FFmpeg tools and libraries including several external encoding and decoding libraries (codecs). This will not provide a system installation and therefore will not interfere with anything such as repository packages. See [[UbuntuCompilationGuide?version=59|these instructions]] if you prefer a system installation, and recent [http://ffmpeg.org/download.html#LinuxBuilds static builds] are also available for lazy people or those who are unable to compile.
    66
    77Separate guides are available for:
     
    2222sudo apt-get -y install autoconf automake build-essential git libass-dev libgpac-dev libmp3lame-dev \
    2323  libopus-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libvpx-dev \
    24   libx11-dev libxext-dev libxfixes-dev pkg-config texi2html yasm zlib1g-dev
     24  libx11-dev libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev
     25mkdir ~/ffmpeg_sources
    2526}}}
    2627
    27 Ubuntu Server or headless users can omit: `libsdl1.2-dev libva-dev libvdpau-dev libx11-dev libxext-dev libxfixes-dev`.
     28Server or headless users can omit: `libsdl1.2-dev libva-dev libvdpau-dev libx11-dev libxext-dev libxfixes-dev`.
    2829
    2930----
    3031
    3132== Compilation & Installation ==
     33
     34=== Yasm ===
     35Yasm is an assembler used by x264 and FFmpeg. Ubuntu and Mint users can simply install it from the repository. Debian users need to compile Yasm because the version in the repository is too old.
     36
     37==== Ubuntu & Mint ====
     38{{{
     39sudo apt-get install yasm
     40}}}
     41
     42==== Debian ====
     43{{{
     44cd ~/ffmpeg_sources
     45wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
     46tar xzvf yasm-1.2.0.tar.gz
     47cd yasm-1.2.0
     48./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
     49make
     50make install
     51make distclean
     52. ~/.profile
     53}}}
    3254
    3355=== x264 ===
     
    3658
    3759{{{
    38 mkdir ~/ffmpeg_sources
    3960cd ~/ffmpeg_sources
    4061git clone --depth 1 git://git.videolan.org/x264.git
     
    6990=== ffmpeg ===
    7091
    71   '''Note:''' Ubuntu Server users should remove `--enable-x11grab` from the following command:
     92  '''Note:''' Server users should remove `--enable-x11grab` from the following command:
    7293
    7394{{{
     
    83104make distclean
    84105hash -r
    85 source ~/.profile
    86106}}}
    87107
     
    113133sudo apt-get -y install autoconf automake build-essential git libass-dev libgpac-dev libmp3lame-dev \
    114134  libopus-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libvpx-dev \
    115   libx11-dev libxext-dev libxfixes-dev pkg-config texi2html yasm zlib1g-dev
     135  libx11-dev libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev
    116136}}}
    117137
     
    151171To remove ffmpeg, x264, and dependencies installed for this guide:
    152172{{{
    153 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffplay,ffprobe,ffserver,x264}
     173rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,vsyasm,x264,yasm,ytasm}
    154174sudo apt-get autoremove autoconf automake build-essential git libass-dev libgpac-dev \
    155175  libmp3lame-dev libopus-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev \
    156   libvorbis-dev libvpx-dev libx11-dev libxext-dev libxfixes-dev texi2html yasm zlib1g-dev
     176  libvorbis-dev libvpx-dev libx11-dev libxext-dev libxfixes-dev texi2html zlib1g-dev
    157177hash -r
    158178}}}