Install command:
brew install ffmpeg@4

Play, record, convert, and stream audio and video


License: GPL-2.0-or-later

Formula JSON API: /api/formula/ffmpeg@4.json

Formula code: ffmpeg@4.rb on GitHub

Bottle (binary package) installation support provided for:

Intel ventura
big sur
64-bit linux
Apple Silicon ventura
big sur

Current versions:

stable 4.4.4

Other versions:

ffmpeg@5 5.1.3 Play, record, convert, and stream audio and video
ffmpeg@2.8 2.8.21 Play, record, convert, and stream audio and video


Depends on:

aom 3.6.1 Codec library for encoding and decoding AV1 video streams
dav1d 1.2.0 AV1 decoder targeted to be small and fast
fontconfig 2.14.2 XML-based font configuration API for X Windows
freetype 2.13.0 Software library to render fonts
frei0r 1.8.0 Minimalistic plugin API for video effects
gnutls 3.8.0 GNU Transport Layer Security (TLS) Library
lame 3.100 High quality MPEG Audio Layer III (MP3) encoder
libass 0.17.1 Subtitle renderer for the ASS/SSA subtitle format
libbluray 1.3.4 Blu-Ray disc playback library for media players like VLC
librist 0.2.7 Reliable Internet Stream Transport (RIST)
libsoxr 0.1.3 High quality, one-dimensional sample-rate conversion library
libvidstab 1.1.1 Transcode video stabilization plugin
libvmaf 2.3.1 Perceptual video quality assessment based on multi-method fusion
libvorbis 1.3.7 Vorbis General Audio Compression Codec
libvpx 1.13.0 VP8/VP9 video codec
opencore-amr 0.1.6 Audio codecs extracted from Android open source project
openjpeg 2.5.0 Library for JPEG-2000 image manipulation
opus 1.3.1 Audio codec
rav1e 0.6.6 Fastest and safest AV1 video encoder
rubberband 3.2.1 Audio time stretcher tool and library
sdl2 2.26.5 Low-level access to audio, keyboard, mouse, joystick, and graphics
snappy 1.1.10 Compression/decompression library aiming for high speed
speex 1.2.1 Audio codec designed for speech
srt 1.5.1 Secure Reliable Transport
tesseract 5.3.1 OCR (Optical Character Recognition) engine
theora 1.1.1 Open video compression format
webp 1.3.0 Image format providing lossless and lossy compression for web images
x264 r3095 H.264/AVC encoder
x265 3.5 H.265/HEVC encoder
xvid 1.3.7 High-performance, high-quality MPEG-4 video library
xz 5.4.3 General-purpose data compression with high compression ratio
zeromq 4.3.4 High-performance, asynchronous messaging library
zimg 3.0.4 Scaling, colorspace conversion, and dithering library

Depends on when building from source:

nasm 2.16.01 Netwide Assembler (NASM) is an 80x86 assembler
pkg-config 0.29.2 Manage compile and link flags for libraries


Installs (30 days)
ffmpeg@4 11,815
Installs on Request (30 days)
ffmpeg@4 3,872
Build Errors (30 days)
ffmpeg@4 0

Analytics (macOS):

Installs (90 days)
ffmpeg@4 800
Installs on Request (90 days)
ffmpeg@4 488
Installs (365 days)
ffmpeg@4 225,215
ffmpeg@4 --without-tesseract 1
Installs on Request (365 days)
ffmpeg@4 104,074

Analytics (Linux):

Installs (90 days)
ffmpeg@4 2
Installs on Request (90 days)
ffmpeg@4 0
Installs (365 days)
ffmpeg@4 657
Installs on Request (365 days)
ffmpeg@4 127
Fork me on GitHub