%general-entities; ]> libavif-&libavif-version; libavif Introduction to libavif The libavif package contains a library used for encoding and decoding AVIF files. &lfs120_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &libavif-md5sum; Download size: &libavif-size; Estimated disk space required: &libavif-buildsize; Estimated build time: &libavif-time; libavif Dependencies Required Recommended Optional gtest, libdav1d, libyuv, rav1e, and svt-av1 Installation of libavif Install libavif by running the following commands: mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DAVIF_CODEC_AOM=ON \ -DAVIF_BUILD_GDK_PIXBUF=ON \ -G Ninja .. && ninja This package does come with a test suite, but it requires gtest, which is not part of BLFS. Now, as the root user: ninja install The AV1 format needs to be added to the loaders cache. As the &root; user: gdk-pixbuf-query-loaders --update-cache Command Explanations -DAVIF_CODEC_AOM=ON: This switch enables using the AOM codec. This package is useless without at least one codec built in. -DAVIF_BUILD_GDK_PIXBUF=ON: This switch builds the AVIF loader for applications which use gdk-pixbuf. Remove it if you have not installed . : Use this switch if you have installed libdav1d and wish to use it as a codec. : Use this switch if you have installed rav1e and wish to use it as a codec. : Use this switch if you have installed svt-av1 and wish to use it as a codec. Contents Installed Programs Installed Libraries Installed Directories None libavif.so and libpixbbufloader-avif.so (in /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders) /usr/include/avif Short Descriptions libavif.so contains functions that provide a portable C implementation of the AV1 Image Format libavif.so libpixbufloader-avif.so allows applications which use gdk-pixbuf to read AVIF images libpixbufloader-avif.so