Tech:AVIF
by ChenQi
AVIF
AV1 Image File Format.
libavif
Library for encoding and decoding .avif files.
C语言编写,目前最新版本是 V0.8.2(2020.10.15)。
已经实现对所有AOM支持的YUV格式和位深度(带alpha通道)进行编码和解码。
默认未开启任何编解码器,可以通过CMake参数指定启用以下几种。
- AVIF_CODEC_AOM
- AVIF_CODEC_DAV1D
- AVIF_CODEC_LIBGAV1
- AVIF_CODEC_RAV1E
- AVIF_CODEC_SVT (master branch, work-in-progress)
编解码器
codec | function | language | toolchain |
---|---|---|---|
AOM | encoder decoder | C | CMake, NASM |
DAV1D | decoder | C | Meson, Ninja, NASM |
LIBGAV1 | decoder | C++ | CMake, Ninja |
RAV1E | encoder | ASM, Rust | cargo (Rust), NASM |
SVT-AV1 | encoder decoder | C, C++ | CMake YASM |
AOM
AV1 Codec Library
DAV1D
dav1d is an AV1 decoder :) Targeted to be small and fast.
dav1d is a new AV1 cross-platform decoder, open-source, and focused on speed and correctness.
LIBGAV1
libgav1 is a Main profile (0) & High profile (1) compliant AV1 decoder.
RAV1E
The fastest and safest AV1 encoder.
rav1e is an AV1 video encoder. It is designed to eventually cover all use cases, though in its current form it is most suitable for cases where libaom (the reference encoder) is too slow.
SVT-AV1
Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)
It is an AV1-compliant encoder/decoder library core. The SVT-AV1 encoder development is a work-in-progress targeting performance levels applicable to both VOD and Live encoding / transcoding video applications. The SVT-AV1 decoder implementation is targeting future codec research activities.
https://android.googlesource.com/platform/external/libaom/
https://android.googlesource.com/platform/external/libgav1/
已支持:
- Chrome 85 Desktop
- Squoosh.app