View on GitHub and download the scripts
ffmpeg on macOS 10.15 Catalina (without Homebrew)
🇪🇸 Versión en español
Status: ✅ works via MacPorts (ffmpeg 9.0.2). Homebrew isn’t available (and no longer supports Catalina), and modern static builds need macOS 12.
| Â | Â |
|---|---|
| Works | ffmpeg @9.0.2_2+gpl2+vmaf from MacPorts (/opt/local/bin/ffmpeg, ffprobe) |
| MacPorts | 2.12.7 in /opt/local |
| Disk | /opt/local is 1.1 GB (ffmpeg pulls ~435 dependencies) |
What didn’t work
| Attempt | Error |
|---|---|
brew install ffmpeg |
brew: command not found |
https://evermeet.cx/ffmpeg/getrelease/zip |
{"status":"error","message":"API endpoint removed due to exorbitant abuse","code":410} |
https://evermeet.cx/ffmpeg/ffmpeg-9.0.2.zip |
curl: (35) error:1400442E:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version — the mirror needs TLS 1.3; Catalina’s curl 7.64.1 (LibreSSL 2.8.3) and Python don’t have it |
https://ffmpeg.martin-riedl.de/ (snapshot and 9.0.2) |
SHA-256 OK, but dyld: Symbol not found: __ZTTNSt3__114basic_ifstreamIcNS_11char_traitsIcEEEE (minos 12.0) |
The solution: MacPorts
Install MacPorts for 10.15 from macports.org, then:
sudo port install ffmpeg
The installer appends to ~/.profile:
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
Check:
port installed ffmpeg # ffmpeg @9.0.2_2+gpl2+vmaf (active)
port -q rdeps ffmpeg | wc -l # 435
du -sh /opt/local # 1.1G
ffmpeg -version | head -1 # ffmpeg version 9.0.2
Example: one frame every 5 seconds + CSV index
mkdir -p frames
/opt/local/bin/ffmpeg -hide_banner -loglevel error -i "video.mp4" -vf "fps=1/5,scale=640:-1" -q:v 4 frames/f_%04d.jpg
cd frames
{ echo "archivo,segundo"; for f in f_*.jpg; do n=${f#f_}; n=$((10#${n%.jpg})); echo "$f,$(( (n-1)*5 ))"; done; } > indice.csv
A 93-minute video gave 1116 frames (32 MB).