
FFmpeg is the free command-line tool behind most video and audio converters. macOS does not include it, so you need to install it yourself. There are two good ways: Homebrew, which installs and updates FFmpeg with one command and runs natively on both Apple Silicon and Intel Macs, and a manual install of a ready-made binary for when you cannot or do not want to use a package manager. FFmpeg 9.0, released in August 2026, is the current major version.
Quick answerOpen Terminal and run brew install ffmpeg (install Homebrew first if you do not have it), then check with ffmpeg -version. For a manual install, download a macOS build from the links on the official FFmpeg download page, unzip it, move ffmpeg to /usr/local/bin, and remove the download quarantine flag.
Method 1: install FFmpeg with Homebrew
Homebrew is the most common package manager on macOS. It installs FFmpeg together with the codec libraries it needs.
- Open Terminal (Applications → Utilities).
- If Homebrew is not installed, install it:
At the end, the installer prints two "Next steps" commands that add Homebrew to your PATH. Run them; on Apple Silicon Macs Homebrew lives in/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"/opt/homebrew. - Install FFmpeg:
brew install ffmpeg - Check that it works:
The first line shows the version, for exampleffmpeg -versionffmpeg version 9.0.
Update it later with brew upgrade ffmpeg, or remove it with brew uninstall ffmpeg.
Method 2: install FFmpeg manually
Use this when you are on a locked-down Mac, need a single static binary for a script, or want to avoid Homebrew.
- Open the official FFmpeg download page, click the Apple logo and choose one of the macOS static builds linked there. Download the
ffmpegzip (andffprobeif you need it). - Check which Mac you have (Apple menu → About This Mac). Make sure the build matches your chip; an Intel-only build needs Rosetta 2 on Apple Silicon, so prefer Homebrew there.
- Unzip the file. You get a single file called
ffmpeg. - Move it into a folder on your PATH:
sudo mkdir -p /usr/local/bin sudo mv ~/Downloads/ffmpeg /usr/local/bin/ sudo chmod +x /usr/local/bin/ffmpeg - Remove the quarantine flag that macOS adds to downloaded files, otherwise Gatekeeper blocks the first run:
If you prefer the graphical way, runsudo xattr -d com.apple.quarantine /usr/local/bin/ffmpegffmpegonce, then open System Settings → Privacy & Security and click Open Anyway. - Open a new Terminal window and run
ffmpeg -version.
To remove a manual install, delete the file: sudo rm /usr/local/bin/ffmpeg.
First commands to try
# convert a MOV from your iPhone or screen recording to MP4
ffmpeg -i input.mov -c:v libx264 -crf 23 -c:a aac output.mp4
# extract the audio as MP3
ffmpeg -i video.mp4 -vn -c:a libmp3lame -q:a 2 audio.mp3
# encode with the Mac's hardware encoder (much faster)
ffmpeg -i input.mov -c:v hevc_videotoolbox -b:v 6M -tag:v hvc1 output.mp4
The videotoolbox encoders use the Mac's built-in media engine. They are fast but give larger files than libx264 or libx265 at the same quality.
Fixing "command not found: ffmpeg"
- Homebrew install: Homebrew is not on your PATH. Run the two "Next steps" commands the installer printed, or add
eval "$(/opt/homebrew/bin/brew shellenv)"to~/.zprofile, then open a new Terminal window. - Manual install: make sure the file is in
/usr/local/binand is executable (ls -l /usr/local/bin/ffmpeg). - "cannot be opened because the developer cannot be verified": remove the quarantine flag as shown above.
Encoding big batches without tying up your Mac
FFmpeg uses every CPU core it can get, so long encodes make a laptop hot, loud and slow for hours. For large batches, many people run FFmpeg or HandBrake on a remote server instead: upload the files, start the queue, close the window and download the results later.
Frequently asked questions
What is the easiest way to install FFmpeg on a Mac?
With Homebrew: brew install ffmpeg. It works natively on Apple Silicon and Intel Macs and keeps FFmpeg up to date.
Does FFmpeg work on Apple Silicon (M1 to M5)?
Yes. Homebrew installs a native Apple Silicon build. Manual builds must match your chip, or run through Rosetta 2.
Where is FFmpeg installed on a Mac?
With Homebrew, in /opt/homebrew/bin/ffmpeg on Apple Silicon or /usr/local/bin/ffmpeg on Intel. Run which ffmpeg to see the path.
How do I update FFmpeg on macOS?
Run brew update && brew upgrade ffmpeg. For a manual install, download the new build and replace the file in /usr/local/bin.


