Changes between Version 21 and Version 22 of CompilationGuide/macOS
- Timestamp:
- Feb 1, 2022, 5:23:57 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/macOS
v21 v22 3 3 There are a few ways to get FFmpeg on macOS: 4 4 5 1. Use a package manager like [https://brew.sh/ Homebrew] or [https://www.macports.org/ MacPorts] to install `ffmpeg`. These will automatically keep your FFmpeg installation up-to-date. See [#ffmpegthroughHomebrew the Homebrew section] below for more info.5 1. Use a package manager like [https://brew.sh/ Homebrew] or [https://www.macports.org/ MacPorts] to install `ffmpeg`. These will automatically keep your FFmpeg installation up-to-date. See [#ffmpegthroughHomebrew the Homebrew section] and [#ffmpegthroughMacPorts the MacPorts section] below for more info. 6 6 7 7 2. Download a [https://ffmpeg.org/download.html static build for macOS]. This is as easy as extracting and running the downloaded binary. One disadvantage with static builds is that updates have to be performed manually. Also, they may not contain all encoders or filters you want. 8 8 9 9 3. Build it yourself. Compiling on macOS is as easy as on any other *nix machine. Download the source, then run {{{./configure}}} with the needed flags, {{{make}}} and {{{make install}}}. However, the configuration options have to be set manually, and you will need to install third-party libraries yourself. See [#CompilingFFmpegyourself the compilation section] below for more info. 10 11 == ffmpeg through !MacPorts == 12 13 [https://www.macports.org] is a command-line package manager, which is similar to `apt-get` on popular Linux distributions. In order to use it, you need to install `port` first, if you haven't already. For the installation follow the [https://guide.macports.org MacPorts documentation]. 14 15 Installation will take a few minutes. Then, run: 16 17 {{{ 18 sudo port install ffmpeg 19 }}} 20 21 For an overview of the FFmpeg variants available through !MacPorts look [https://ports.macports.org/port/ffmpeg/details here]. 10 22 11 23 == ffmpeg through Homebrew ==
