Automic VaultAutomic Vault

brew

Install libavif with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

Library for encoding and decoding .avif files. Version 1.4.2 via Homebrew; verified 2026-05-27.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libavif

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libavif

MacPorts ports tree · multimedia/libavif/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add libavif

Alpine Linux edge package indexes · libavif · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libavif-bin

Debian stable package indexes · libavif-bin · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libavif

Fedora Rawhide package metadata · libavif · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libavif

nixpkgs package indexes · pkgs/by-name/li/libavif/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S libavif

Arch Linux sync databases · libavif · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install avif-tools

openSUSE Tumbleweed package metadata · avif-tools · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/libavif

Scoop official bucket manifest trees · bucket/libavif.json · source: api.github.com

overview

Package summary

Library for encoding and decoding .avif files

Commands and aliases

  • avifdec
  • avifenc
  • avifgainmaputil

history

Project history and usage

libavif is AOMedia's portable C implementation of the AV1 Image File Format. It provides the library API plus the `avifenc` and `avifdec` command-line tools used to encode, decode, inspect, and test AVIF images.

Project history

The project was created around the AVIF specification, which maps AV1 image payloads into an ISO base media file format container. The repository copyright text names Joe Drago in 2019, and the codebase grew into an AOMedia-hosted implementation with codec back ends for libaom, dav1d, libgav1, rav1e, and SVT-AV1.

The changelog shows the project moving from fast-moving 0.x releases into a 1.0.0 release on 2023-08-24, where the maintainers stated the ABI would be more stable from that point. Later releases added gain-map work, image-sequence handling, stricter parsing, and build/dependency refinements.

Adoption history

libavif became the practical Unix package for AVIF batch conversion because it ships simple tools and a small C API. Its README documents package-manager installation across Homebrew, MacPorts, Debian-style systems, Red Hat-style systems, MSYS2, and Windows via vcpkg or release binaries.

How it is used

Users commonly run `avifenc` to convert JPEG, PNG, or Y4M input to AVIF and `avifdec` to decode AVIF output back to common image formats. Developers link the library when they need AVIF support without embedding the full details of AV1 codec selection, metadata handling, tiling, alpha, gain maps, and color conversion.

Why package nerds care

libavif is the tiny command-line face of a much larger codec ecosystem. Package maintainers care about it because optional codec dependencies change feature coverage, performance, binary size, and patent-policy comfort while the same `avifenc` and `avifdec` commands appear in scripts and image pipelines.

Timeline

  • 2019: Repository license text records Joe Drago copyright for libavif.
  • 2020: Version 0.8.0 adds image sequence encoding and related codec-layer refactoring.
  • 2023: Version 1.0.0 marks a more stable ABI.
  • 2024: Version 1.1.0 adds experimental gain-map API work.
  • 2025: Version 1.2.0 installs `avifgainmaputil` and turns on gain-map API support.
  • 2026: Version 1.4.2 requires C11 for compilation while keeping public headers C99.

Related projects

  • AV1 Image File Format, libaom, dav1d, libgav1, rav1e, SVT-AV1, libyuv, libjpeg, libpng, and image conversion pipelines are the main adjacent projects.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 4 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
avifdeccliglobal executable
avifenccliglobal executable
avifgainmaputilcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.4.2
manager updated2026-05-27
local dataok
upstreamcurrent
latest detectedv1.4.2

https://github.com/AOMediaCodec/libavif

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:libavif
Version1.4.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libavif
Homepagehttps://github.com/AOMediaCodec/libavif
Repositoryhttps://github.com/AOMediaCodec/libavif
Upstream docshttps://github.com/AOMediaCodec/libavif#readme
LicenseBSD-2-Clause
Source archivehttps://github.com/AOMediaCodec/libavif/archive/refs/tags/v1.4.2.tar.gz
Last updated2026-05-27T03:16:24Z
Pulseupdated
Dependenciesaom, dav1d, jpeg-turbo, libpng
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibavif
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libavif-bin 1.2.1-1.2

Library for handling .avif files (utilities)

https://github.com/AOMediaCodec/libavif

sudo apt install libavif-bin
  • Section: utils
  • Architecture: amd64
  • Source Package: libavif
  • 6 dependencies
  • normalized package name match
  • Matched by: Libavif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavif-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavif-dev 1.2.1-1.2

Library for handling .avif files (development files)

https://github.com/AOMediaCodec/libavif

sudo apt install libavif-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libavif
  • 6 dependencies
  • normalized package name match
  • Matched by: Libavif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavif-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavif-gdk-pixbuf 1.2.1-1.2

Library for handling .avif files (GDK pixbuf plugin)

https://github.com/AOMediaCodec/libavif

sudo apt install libavif-gdk-pixbuf
  • Section: libs
  • Architecture: amd64
  • Source Package: libavif
  • 4 dependencies
  • normalized package name match
  • Matched by: Libavif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavif-gdk-pixbuf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libavif16 1.2.1-1.2

Library for handling .avif files

https://github.com/AOMediaCodec/libavif

sudo apt install libavif16
  • Section: libs
  • Architecture: amd64
  • Source Package: libavif
  • 7 dependencies
  • normalized package name match
  • Matched by: Libavif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libavif16 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libavif

nix profile install nixpkgs#libavif
  • normalized package name match
  • Matched by: Libavif
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libavif/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libavif-bin 1.0.4-1ubuntu3

Library for handling .avif files (utilities)

https://github.com/AOMediaCodec/libavif

sudo apt install libavif-bin
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libavif
  • 4 dependencies
  • normalized package name match
  • Matched by: Libavif
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libavif-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libavif-dev 1.0.4-1ubuntu3

Library for handling .avif files (development files)

https://github.com/AOMediaCodec/libavif

sudo apt install libavif-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libavif
  • 1 dependencies
  • normalized package name match
  • Matched by: Libavif
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libavif-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libavif-gdk-pixbuf 1.0.4-1ubuntu3

Library for handling .avif files (GDK pixbuf plugin)

https://github.com/AOMediaCodec/libavif

sudo apt install libavif-gdk-pixbuf
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libavif
  • 4 dependencies
  • normalized package name match
  • Matched by: Libavif
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libavif-gdk-pixbuf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libavif16 1.0.4-1ubuntu3

Library for handling .avif files

https://github.com/AOMediaCodec/libavif

sudo apt install libavif16
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libavif
  • 8 dependencies
  • normalized package name match
  • Matched by: Libavif
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libavif16 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libavif 1.4.1-r0

Library for encoding and decoding .avif files

https://aomediacodec.github.io/av1-avif/

sudo apk add libavif
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: libavif
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libavif
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libavif from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libavif-apps 1.4.1-r0

Library for encoding and decoding .avif files

https://aomediacodec.github.io/av1-avif/

sudo apk add libavif-apps
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: libavif
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libavif
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libavif-apps from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libavif-dev 1.4.1-r0

Library for encoding and decoding .avif files (development files)

https://aomediacodec.github.io/av1-avif/

sudo apk add libavif-dev
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: libavif
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libavif
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libavif-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libavif 1.3.0-4.fc44

Library for encoding and decoding .avif files

https://github.com/AOMediaCodec/libavif

sudo dnf install libavif
  • License: BSD-2-Clause AND IJG AND Apache-2.0 AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libavif
  • 10 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libavif
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libavif from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libavif-devel 1.3.0-4.fc44

Development files for libavif

https://github.com/AOMediaCodec/libavif

sudo dnf install libavif-devel
  • License: BSD-2-Clause AND IJG AND Apache-2.0 AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libavif
  • 5 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Libavif
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libavif-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libavif-tools 1.3.0-4.fc44

Tools to encode and decode AVIF files

https://github.com/AOMediaCodec/libavif

sudo dnf install libavif-tools
  • License: BSD-2-Clause AND IJG AND Apache-2.0 AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libavif
  • 9 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libavif
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libavif-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libavif 1.4.2-1

Library for encoding and decoding .avif files

https://github.com/AOMediaCodec/libavif

sudo pacman -S libavif
  • License: LicenseRef-libavif
  • Architecture: x86_64
  • 12 dependencies
  • normalized package name match
  • Matched by: Libavif
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libavif from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment