Changes between Version 30 and Version 31 of CompilationGuide/MacOSX


Ignore:
Timestamp:
Nov 18, 2014, 10:17:36 PM (4 years ago)
Author:
llogan
Comment:

removed less useful options from brew example since users are blindly copying

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/MacOSX

    v30 v31  
    22 
    33Compiling on Mac OS X is as easy as any other *nix machine, there are just a few caveats. The general procedure is {{{./configure <flags>; make && sudo make install}}}, but some use a different configuration scheme, or none at all.  You can also install the latest stable version of `ffmpeg` without the need to compile it yourself, which saves you a bit of time. Just follow this guide. 
     4 
     5Alternatively, if you are unable to compile, you can simply [https://ffmpeg.org/download.html download a static build for OS X], but it may not contain the features you want. 
    46 
    57== ffmpeg through Homebrew == 
     
    1113}}} 
    1214 
    13 Follow the on-screen instructions. This will take a few minutes while it's installing the necessary developer tools for OS X. Then, run: 
     15Follow the on-screen instructions. This will take a few minutes while it's installing the necessary developer tools for OS X. Then run: 
    1416 
    1517{{{ 
     
    1719}}}  
    1820 
    19 to get the latest stable version with minimal configuration options. These versions are packaged as Homebrew formulas and will take care of all the dependencies and the installation itself. You can run {{{brew info ffmpeg}}} to see additional configuration options, e.g. in order to enable {{{libfdk_aac}}} or {{{libvpx}}}, which is highly recommended. If you want all the extras there are, run: 
     21to get the latest stable version with minimal configuration options. These versions are packaged as Homebrew formulas and will take care of all the dependencies and the installation itself. You can run {{{brew info ffmpeg}}} to see additional configuration options, e.g. in order to enable {{{libfdk_aac}}} or {{{libvpx}}}, which is highly recommended. Example with some additional options: 
    2022 
    2123{{{ 
    22 brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libbluray --with-libcaca --with-libfrei0r --with-libquvi --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools --with-x265 
     24brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265 
    2325}}} 
    2426 
    25 If you don't know how to configure and compile a binary, you will find using Homebrew quite easy. To later upgrade your ffmpeg version, simply run: 
     27If you don't know how to configure and compile a binary, you will find using Homebrew quite easy. To later upgrade your `ffmpeg` version, simply run: 
    2628 
    2729{{{ 
     
    7476These are just some examples. Run {{{./configure --help}}} for all available options. 
    7577 
    76 * FAAC (AAC) is available at [http://www.audiocoding.com audiocoding.com]. Enabling support in ffmpeg requires the `--enable-libfaac --enable-nonfree` configure options.  
    77 * Lame (MP3) is available at [http://sourceforge.net/projects/lame/files/lame/], and adds MP3 encoding to FFmpeg. Enabling support in ffmpeg requires `--enable-libmp3lame`.  
    78 * Libass (Subtitle) is available at [http://code.google.com/p/libass/]. In order to compile with `--enable-libass` you need Freetype installed.  
    79 * OpenJPEG (Jpeg 2000) is available at [http://code.google.com/p/openjpeg/downloads/list] . Compile with `--enable-libopenjpeg`. 
    80 * Schroedinger, which adds Dirac codec support, is available from [http://diracvideo.org/ diracvideo.org]. To compile schroedinger, you need ORC, available from [http://code.entropywave.com/download/orc/ entropywave.com]. Compile orc with the standard procedure, making sure you delete the "testsuite" folder, which won't compile. When compiling schroedinger, make sure pkg-config and yasm are already installed.  
    81 * Speex is available at [http://downloads.xiph.org/releases/speex/ xiph.org]. Compile with `--enable-libspeex`. 
    82 * Theora, Ogg and Vorbis  are available at [http://theora.org/ theora.org]. Compile with `--enable-libtheora`. 
    83 * VPX is available at [http://code.google.com/p/webm/downloads/list]. Compile with `--enable-libvpx`. 
    84 * x264 is available at [http://www.videolan.org/developers/x264.html]. FFmpeg depends on x264 when compiled with `--enable-libx264` and x264 depends on FFmpeg when compiled with `--enable-lavf-input`. The best way to handle it is to install x264 first without `--enable-lavf-input`, then compile FFmpeg with `--enable-libx264` and finally compile x264 again with `--enable-lavf-input`. 
    85 * XviD is available from [http://www.xvid.org xvid.org]. Compile with --enable-libxvid. 
     78* [http://www.videolan.org/developers/x264.html x264] encodes H.264 video. Use `--enable-gpl --enable-libx264`. 
     79* [http://sourceforge.net/projects/opencore-amr/files/fdk-aac/ fdk-aac] encodes AAC audio. Use `--enable-libfdk-aac`. 
     80* [https://code.google.com/p/webm/downloads/list libvpx] is a VP8 and VP9 encoder. Use `--enable-libvpx`. 
     81* [http://downloads.xiph.org/releases/vorbis/ libvorbis] encodes Vorbis audio . Requires [http://downloads.xiph.org/releases/ogg/ libogg]. Use `--enable-libvorbis`. 
     82* [http://www.opus-codec.org/downloads/ libopus] encodes Opus audio. 
     83* [http://sourceforge.net/projects/lame/files/lame/ LAME] encodes MP3 audio. Use `--enable-libmp3lame`. 
     84* [https://github.com/libass/libass libass] is a subtitle renderer. Use `--enable-libass`. 
    8685 
    8786=== Compiling ===