libavif
brew install libavifLibrary 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 days | 402,093 |
|---|---|
| Downloads | 23,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 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 22,390 | 52,748 | 390,448 |
Installs (--HEAD) | 5 | 7 | 61 |
| Installs on Request | 2,313 | 5,301 | 46,296 |
Installs on Request (--HEAD) | 4 | 6 | 55 |
| Build Errors | 5 |