AOMediaCodec/libavif
libavif - Library for encoding and decoding .avif files
Recommended between 2026-10-12 and 2026-10-16. Last pushed 2026-11-01.
▲ 2 recommend · ▼ 0 criticisms
What hackers say
“It's part of libavif. I've usually compiled it myself.”
— theandrewbailey, 2026-10-16 · strong recommendation · original comment on Hacker News ↗
show original comment
It's part of libavif. I've usually compiled it myself. https://github.com/aomediacodec/libavif avifenc supports args like enable-chroma-deltaq. I've used those but recently stopped, and nothing substantial changed.
“then running a avifenc ( https://github.com/AOMediaCodec/libavif ) to produce the avif, and trashing the PNG.”
— borland, 2026-10-12 · original comment on Hacker News ↗
show original comment
Odd, what are you using to create your avif's? I've done a bunch of work with them and the AVIF's were almost always significantly smaller than webp at equal or better quality. Encoding is a pain, to be sure; I ended up creating a workflow where my source would save things as PNG files (giant, but lossless) then running a avifenc ( https://github.com/AOMediaCodec/libavif ) to produce the avif, and trashing the PNG. Decoding though, all browsers have support, it's great.
Badge for your README
[](https://hackerrepos.org/repo/aomediacodec/libavif)