Install the following packages using Homebrew:
pkgconfiglibtoolglibautoconfautomakecmake
The glib will be linked dynamically because it is discouraged linking statically.
-
Clone this repository.
-
Clone the repository and fetch submodules:
git submodule update --depth 1 --recursive --init
-
Fetch non-submodule dependencies.
./fetch_release.sh
-
Build 3rd-party dependencies.
./build_contrib.sh
-
Build FFmpeg.
./build_ffmpeg.sh