Changes between Version 21 and Version 22 of CompilationGuide/macOS


Ignore:
Timestamp:
Feb 1, 2022, 5:23:57 PM (4 years ago)
Author:
Karl-Michael Schindler
Comment:

Add installation through MacPorts

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/macOS

    v21 v22  
    33There are a few ways to get FFmpeg on macOS:
    44
    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.
     51. 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.
    66
    772. 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.
    88
    993. 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
     15Installation will take a few minutes. Then, run:
     16
     17{{{
     18sudo port install ffmpeg
     19}}}
     20
     21For an overview of the FFmpeg variants available through !MacPorts look [https://ports.macports.org/port/ffmpeg/details here].
    1022
    1123== ffmpeg through Homebrew ==