Comment 0 for bug 1943658

Revision history for this message
Pierre (pierre-php) wrote :

Using an install of libavif as below, codecs are not found or not setup properly. Is there options or other packages that should be installed to have these codecs enabled?

libavif-bin/hirsute,now 0.8.4-2 amd64 [installed]
  Library for handling .avif files (utilities)

libavif9/hirsute,now 0.8.4-2 amd64 [installed]
  Library for handling .avif files

libavif-dev/hirsute,now 0.8.4-2 amd64 [installed]
  Library for handling .avif files (development files)

libaom-dev/hirsute,now 1.0.0.errata1-3build1 amd64 [installed]
  AV1 Video Codec Library -- Development Files

libaom0/hirsute,now 1.0.0.errata1-3build1 amd64 [installed]
  AV1 Video Codec Library

libdav1d-dev/hirsute,now 0.7.1-3 amd64 [installed]
  fast and small AV1 video stream decoder (development files)

libdav1d4/hirsute,now 0.7.1-3 amd64 [installed,automatic]
  fast and small AV1 video stream decoder (shared library)

libgav1-0/hirsute,now 0.16.0-5 amd64 [installed,automatic]
  AV1 decoder developed by Google -- runtime library

libgav1-dev/hirsute,now 0.16.0-5 amd64 [installed]
  AV1 decoder developed by Google -- development kit

➜ builds git:(master) ✗ avifenc ../test/gdtest.png out.avif
Successfully loaded: ../test/gdtest.png
AVIF to be written: (Lossy)
 * Resolution : 565x424
 * Bit Depth : 8
 * Format : YUV444
 * Alpha : Present
 * Range : Full
 * Color Primaries: 1
 * Transfer Char. : 13
 * Matrix Coeffs. : 6
 * ICC Profile : Absent (0 bytes)
 * XMP Metadata : Absent (0 bytes)
 * EXIF Metadata : Absent (0 bytes)
 * Transformations: None
Encoding with AV1 codec '(null)' speed [8], color QP [0 (Lossless) <-> 10 (High)], alpha QP [0 (Lossless) <-> 0 (Lossless)], tileRowsLog2 [0], tileColsLog2 [0], 1 worker thread(s), please wait...
ERROR: Failed to encode image: No codec available