libavif

Install command:
brew install libavif

Library for encoding and decoding .avif files

https://github.com/AOMediaCodec/libavif

License: BSD-2-Clause

Development: Pull requests

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

Formula code: libavif.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.4.2

Depends on:

aom 3.15.3 Codec library for encoding and decoding AV1 video streams
dav1d 1.5.5 AV1 decoder targeted to be small and fast
jpeg-turbo 3.2.1 JPEG image codec that aids compression and decompression
libpng 1.6.59 Library for manipulating PNG images

Depends on when building from source:

cmake 4.5.1 Cross-platform make

Binaries: avifdec, avifenc, avifgainmaputil

GitHub Packages downloads:

Last 30 days363,089
Downloads23,498,187
Analytics install events (30 days)19,989
Downloads / install events (30 days)18.2×

Source: GitHub Packages, fetched 2026-12-02T00:59:31Z. Analytics dates: 2026-11-02 to 2026-12-02. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs19,98653,354385,155
Installs (--HEAD)3758
Installs on Request1,7034,85345,375
Installs on Request (--HEAD)1551
Build Errors2