Changes between Version 28 and Version 29 of CompilationGuide/MacOSX
- Timestamp:
- Oct 19, 2014, 7:47:47 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/MacOSX
v28 v29 1 1 [[PageOutline(1-100, Contents)]] 2 2 3 Compiling 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 FFmpegwithout the need to compile it yourself, which saves you a bit of time. Just follow this guide.3 Compiling 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 4 5 == Shortcut: Compile FFmpeg through Homebrew ==5 == ffmpeg through Homebrew == 6 6 7 If you want to use Homebrew for compiling, you can simply run: 7 [http://brew.sh/ Homebrew] is a command-line package manager, which is quite similar to `apt-get` on popular Linux distributions. In order to use it, you need to install `brew` first: 8 9 {{{ 10 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 11 }}} 12 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: 8 14 9 15 {{{ … … 11 17 }}} 12 18 13 to get the latest stable 1.x version. Call {{{brew install ffmpeg --devel}}} to install the latest 2.x version. These versions are packaged as Homebrew formulae and will take care of all the dependencies and the installation itself. If you don't know how to configure and compile a binary, you will find using Homebrew much easier. If instead you want to manually compile the latest Git version of FFmpeg, just continue with this guide.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: 14 20 15 You can run {{{brew info ffmpeg}}} to see additional configuration options, e.g. in order to enable {{{libfdk_aac}}} or {{{libvpx}}}. 21 {{{ 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 23 }}} 24 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: 26 27 {{{ 28 brew update && brew upgrade ffmpeg 29 }}} 30 31 If instead you want to manually compile the latest Git version of FFmpeg, just continue with this guide. 32 16 33 17 34 == Compiling FFmpeg yourself == … … 23 40 === Homebrew === 24 41 25 To get FFmpeg for OS X, you first have to install [http://brew.sh/ Homebrew]. If you don't want to use Homebrew, see the section below.42 To get ffmpeg for OS X, you first have to install [http://brew.sh/ Homebrew]. If you don't want to use Homebrew, see the section below. 26 43 27 44 {{{ 28 ruby -e "$(curl -fsSL https://raw.github .com/Homebrew/homebrew/go/install)"45 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 29 46 }}} 30 47
