Go encoder/decoder for AV1 Image File Format (AVIF) with support for animated AVIF images.
Based on libavif with dav1d (decode) and aom (encode) compiled to WASM and used with wazero runtime (CGo-free).
The library will first try to use a dynamic/shared library (if installed) via purego and will fall back to WASM.
For a pure Go alternative, see gav1d, an AV1 and AVIF decoder and encoder with SIMD support, no CGo/WASM and no dependencies.
nodynamic - do not use dynamic/shared library (use only WASM)wasm2go - transpile the WASM to pure Go with wasm2go instead of running it with wazeroOverall
Maintained
Code review
Go module
Latest release
Releases this year
388 followers · starred Mar 2024
16,681 followers · starred Jul 2025
Go encoder/decoder for AV1 Image File Format (AVIF) with support for animated AVIF images.
Based on libavif with dav1d (decode) and aom (encode) compiled to WASM and used with wazero runtime (CGo-free).
The library will first try to use a dynamic/shared library (if installed) via purego and will fall back to WASM.
For a pure Go alternative, see gav1d, an AV1 and AVIF decoder and encoder with SIMD support, no CGo/WASM and no dependencies.
nodynamic - do not use dynamic/shared library (use only WASM)wasm2go - transpile the WASM to pure Go with wasm2go instead of running it with wazeroOverall
Maintained
Code review
Go module
Latest release
Releases this year
388 followers · starred Mar 2024
16,681 followers · starred Jul 2025