Install command:
brew install ffmpeg

Also known as: ffmpeg@5

Play, record, convert, and stream audio and video


License: GPL-2.0-or-later

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

Formula code: ffmpeg.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 5.1.2
head ⚡️ HEAD

Other versions:

ffmpeg@4 4.4.3 Play, record, convert, and stream audio and video
ffmpeg@2.8 2.8.21 Play, record, convert, and stream audio and video

Revision: 6

Depends on:

aom 3.6.0 Codec library for encoding and decoding AV1 video streams
aribb24 1.0.4 Library for ARIB STD-B24, decoding JIS 8 bit characters and parsing MPEG-TS
dav1d 1.1.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.3 Fastest and safest AV1 video encoder
rubberband 3.2.0 Audio time stretcher tool and library
sdl2 2.26.4 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
svt-av1 1.4.1 AV1 encoder
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.2 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:

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

Analytics (macOS):

Installs (30 days)
ffmpeg 3,913
ffmpeg --HEAD 3
Installs on Request (30 days)
ffmpeg 3,369
ffmpeg --HEAD 3
Build Errors (30 days)
ffmpeg 7
Installs (90 days)
ffmpeg 368,490
ffmpeg --HEAD 249
Installs on Request (90 days)
ffmpeg 322,449
ffmpeg --HEAD 249
Installs (365 days)
ffmpeg 1,819,759
ffmpeg --HEAD 1,736
ffmpeg --with-fdk-aac --with-libass --with-libvpx --with-openssl 3
ffmpeg --without-tesseract 2
Ffmpeg 1
FFmpeg 1
ffmpeg --with-theora --with-libvorbis 1
Installs on Request (365 days)
ffmpeg 1,584,628
ffmpeg --HEAD 1,736

Analytics (Linux):

Installs (30 days)
ffmpeg 4
Installs on Request (30 days)
ffmpeg 3
Build Errors (30 days)
ffmpeg 0
Installs (90 days)
ffmpeg 1,762
Installs on Request (90 days)
ffmpeg 1,240
Installs (365 days)
ffmpeg 7,551
ffmpeg --HEAD 10
Installs on Request (365 days)
ffmpeg 5,915
ffmpeg --HEAD 11
Fork me on GitHub