Public bug reported: 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?
For cross reference, I was working on getting libgd 2.3.x and 2.4 branches run with 21.04 and avif, see https://github.com/libgd/libgd/issues/770 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 ** Affects: libavif (Ubuntu) Importance: Undecided Status: New ** Description changed: 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? + For cross reference, I was working on getting libgd 2.3.x and 2.4 + branches run with 21.04 and avif, see + https://github.com/libgd/libgd/issues/770 libavif-bin/hirsute,now 0.8.4-2 amd64 [installed] - Library for handling .avif files (utilities) + Library for handling .avif files (utilities) libavif9/hirsute,now 0.8.4-2 amd64 [installed] - Library for handling .avif files + Library for handling .avif files libavif-dev/hirsute,now 0.8.4-2 amd64 [installed] - Library for handling .avif files (development files) + Library for handling .avif files (development files) libaom-dev/hirsute,now 1.0.0.errata1-3build1 amd64 [installed] - AV1 Video Codec Library -- Development Files + AV1 Video Codec Library -- Development Files libaom0/hirsute,now 1.0.0.errata1-3build1 amd64 [installed] - AV1 Video Codec Library + AV1 Video Codec Library libdav1d-dev/hirsute,now 0.7.1-3 amd64 [installed] - fast and small AV1 video stream decoder (development files) + 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) + 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 + AV1 decoder developed by Google -- runtime library libgav1-dev/hirsute,now 0.16.0-5 amd64 [installed] - AV1 decoder developed by Google -- development kit - + 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 + * 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943658 Title: 21.04, missing codecs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libavif/+bug/1943658/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
