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.4 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.4.5 Cross-platform make

Binaries: avifdec, avifenc, avifgainmaputil

GitHub Packages downloads:

Last 30 days402,093
Downloads23,254,904
Analytics install events (30 days)22,395
Downloads / install events (30 days)18.0×

Source: GitHub Packages, fetched 2026-11-12T00:51:53Z. Analytics dates: 2026-10-13 to 2026-11-12. 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
Installs22,39052,748390,448
Installs (--HEAD)5761
Installs on Request2,3135,30146,296
Installs on Request (--HEAD)4655
Build Errors5