| 1 | | 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. |
| 2 | | |
| 3 | | 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. |
| | 1 | 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. |
| 21 | | At this point, you could already run {{{brew install ffmpeg}}} to get the latest stable version. This version is packaged as a Homebrew Formula and will take care of all the dependencies and installation. Run {{{brew info ffmpeg}}} to see additional configuration options. If instead you want to manually compile the latest Git version of FFmpeg, continue with this guide. |
| | 19 | === Shortcut: Compile FFmpeg through Homebrew === |
| | 20 | |
| | 21 | If you want to use Homebrew for compiling, you can simply run |
| | 22 | |
| | 23 | {{{brew install ffmpeg}}} |
| | 24 | |
| | 25 | 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. |
| | 26 | |
| | 27 | You can run {{{brew info ffmpeg}}} to see additional configuration options, e.g. in order to enable {{{libfdk_aac}}} or {{{libvpx}}}. |