OSXExperts.NET

ffmpeg static build for macOS

Download ffmpeg 9.0.2 (Apple Silicon)


SHA256 checksum of FFmpeg file : 762f16b2913b8d3b8fdb8092df12b691053b035b13ae9b88205513c55cb8e71e
Source used to compile : here

Download ffmpeg 8.0 (Intel)


SHA256 checksum of FFmpeg file: df3f1e3facdc1ae0ad0bd898cdfb072fbc9641bf47b11f172844525a05db8d11

ffprobe static build for macOS

Download ffprobe 9.0.2 (Apple Silicon)


SHA256 checksum of ffprobe file : e9d3ad989b11d1ff4e3b0d140df170a6b38f194f83ac77f0e05a127a0f3a0ae4
Source used to compile : here


Download ffprobe 8.0 (Intel)


SHA256 checksum of ffprobe file: 5228e651e2bd67bb55819b27f6138351587b16d2b87446007bf35b7cf930d891

ffplay static build for macOS

Download ffplay 9.0.2 (Apple Silicon)


SHA256 checksum of ffplay file : 2ae89497e2f638de7fc96ea5015dfaff3caafd9ab980e2e767cb4f70a2e22017
Source used to compile : here


codesign -s - <pathtotheffmpegfile> 

Note:
The provided ffmpeg, ffplay and ffprobe files are for educational purposes only.


Download ffplay 8.0 (Intel)


SHA256 checksum of ffplay file:
6db4421b3e3ef051175c4ead722c15e833949a642e97b53d7bbe35b90ac1e50b

Compile your own FFmpeg with
FFmpeg Maker for macOS

Use FFmpeg Maker for macOS to compile your personal tailormade ffmpeg for macOS Apple Silicon or Intel.
Everything is prepared and compiled in a sandboxed RAM disk so nothing is changed on your system. FFmpeg Maker for macOS is provided free of charge and on an “as-is” basis. We do not offer support, assistance or accept any responsibility or liability.

Download FFmpeg Maker


for macOS 14 and newer (Apple Silicon only)

Note: After downloading you need to remove the file from quarantine.
You can do this in the Terminal:
xattr -dr com.apple.quarantine <pathtoffmpegmaker>

How to compile a real static FFmpeg file for macOS

There are several ways to compile FFmpeg. Homebrew is an easy way to compile FFmpeg files but sadly they are not static.
Static means you can copy the FFmpeg file anywere you want. It has no dependencies compared to a dynamically build like Homebrew does.

The below script will build a real static FFmpeg file. It does not cover all possible external libraries but it will give you a headstart. You can of course add more libs like Theora, Vorbis, VPX, .. yourself.
First download all source files:

- x264           git clone https://code.videolan.org/videolan/x264.git
- x265           https://bitbucket.org/multicoreware/x265/downloads/
- cmake   
- enca.          https://dl.cihar.com/enca/enca-1.19.tar.gz
- expat          https://github.com/libexpat/libexpat/releases/download/R_2_2_10/expat-2.2.10.tar.gz
- lame           git clone https://github.com/rbrito/lame.git
- fribidi          https://github.com/fribidi/fribidi/releases/download/
- freetype      https://download.savannah.gnu.org/releases/freetype/
- fontconfig    https://www.freedesktop.org/software/fontconfig/release/
- libiconv.      https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.16.tar.gz
- libass          https://github.com/libass/libass/releases/download/
- nasm.         https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.gz
- yasm          http://www.tortall.net/projects/yasm/releases/
- pkg-config  https://pkg-config.freedesktop.org/releases/

And of course FFmpeg :-)    git clone git://git.ffmpeg.org/ffmpeg.git

You also need to install Apple Xcode.