Brad Smith wrote: > Here is an update to libavif 0.9.3. > > > ## [0.9.3] - 2021-10-20 > > ### Added > * Support for progressive AVIFs and operating point selection > * Add automatic tile scaling to the item's ispe or track's dims > * Add diagnostic messages for AV1 decode failures > * avifdec: Add PNG compression level arg > * Make image size limit configurable, expose to avifdec > * Add the AVIF_STRICT_ALPHA_ISPE_REQUIRED flag > > ### Changed > * Mandate ispe and disallow zero width or height (#640). > * Re-map libavif speed 7-10 to libaom speed 7-9 (#682) > * Refer to https://aomedia-review.googlesource.com/c/aom/+/140624 > * If you were using libaom with the following avif speed setting: > * - speed 0-6: no change is needed > * - speed 7: change to speed 6 for the same results > * - speed 8-9: re-test and re-adjust speed according to your app needs > * Update aom.cmd: v3.2.0 > * Update dav1d.cmd: 0.9.2 > * Pass TestCase's minQuantizer, maxQuantizer, speed to encoder. > * Regenerate tests.json > * Disable JSON-based tests for now, the metrics are inconsistent/unreliable > * Set diagnostic message for aom_codec_set_option() > * Re-map libavif-libaom speed settings (#682) > * Bump of version in CMakeLists.txt was forgotten > * avifdec: Better message for unsupported file extension > * Do not copy input image when encoding with libaom unless width or height is > 1 > * Fix the comment for AVIF_STRICT_PIXI_REQUIRED > * Update libavif.pc.cmake (#692) > * In 32-bit builds set dav1d's frame_size_limit setting to 8192*8192 > * Allocate alpha alongside YUV (if necessary) during y4m decode to avoid > incorrect alphaRowBytes math > * Change avif_decode_fuzzer to be more like Chrome > * Update codec_dav1d.c for the new threading model > * Generalized ipco property deduplication > * Rename avifParseMoovBox to avifParseMovieBox for consistency > * Simplify idat storage for avifMeta structure (#756) > * Fix oss-fuzz coverage build failure of dav1d > * Redesign AVIF_DECODER_SOURCE_AUTO to honor the FileTypeBox's major brand > * Use "C420" as default Y4M color space parametee
Hi Brad, When I run the test target on the previous version, I get: Complete. 18 tests ran, 90 skipped, 0 failed. On this version, I get: Complete. 18 tests ran, 90 skipped, 6 failed. I assume this is not expected. I attached the two test logs. Best regards, Stefan
/home/dpb/usr/ports/pobj/libavif-0.9.2/build-amd64/aviftest /home/dpb/usr/ports/pobj/libavif-0.9.2/libavif-0.9.2/tests/data Codec Versions: dav1d [dec]:0.9.2, aom [enc]:v3.1.3 Test Data Dir : /home/dpb/usr/ports/pobj/libavif-0.9.2/libavif-0.9.2/tests/data AVIF Test Suite: Running IO Tests... File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 274 / 37451 bytes, Persistent, IgnoreMetadata] parse returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 37451 / 37451 bytes, Persistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 37169] returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 274 / 37451 bytes, NonPersistent, IgnoreMetadata] parse returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 37451 / 37451 bytes, NonPersistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 37169] returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 274 / 37451 bytes, Persistent, Metadata] parse returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 37451 / 37451 bytes, Persistent, Metadata] nextImage [MaxExtent off 282, size 37169] returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 274 / 37451 bytes, NonPersistent, Metadata] parse returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 37451 / 37451 bytes, NonPersistent, Metadata] nextImage [MaxExtent off 282, size 37169] returned: OK File: [kodim03_yuv420_8bpc.avif @ 274 / 25430 bytes, Persistent, IgnoreMetadata] parse returned: OK File: [kodim03_yuv420_8bpc.avif @ 25430 / 25430 bytes, Persistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 25148] returned: OK File: [kodim03_yuv420_8bpc.avif @ 274 / 25430 bytes, NonPersistent, IgnoreMetadata] parse returned: OK File: [kodim03_yuv420_8bpc.avif @ 25430 / 25430 bytes, NonPersistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 25148] returned: OK File: [kodim03_yuv420_8bpc.avif @ 274 / 25430 bytes, Persistent, Metadata] parse returned: OK File: [kodim03_yuv420_8bpc.avif @ 25430 / 25430 bytes, Persistent, Metadata] nextImage [MaxExtent off 282, size 25148] returned: OK File: [kodim03_yuv420_8bpc.avif @ 274 / 25430 bytes, NonPersistent, Metadata] parse returned: OK File: [kodim03_yuv420_8bpc.avif @ 25430 / 25430 bytes, NonPersistent, Metadata] nextImage [MaxExtent off 282, size 25148] returned: OK File: [kodim23_yuv420_8bpc.avif @ 274 / 21032 bytes, Persistent, IgnoreMetadata] parse returned: OK File: [kodim23_yuv420_8bpc.avif @ 21032 / 21032 bytes, Persistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 20750] returned: OK File: [kodim23_yuv420_8bpc.avif @ 274 / 21032 bytes, NonPersistent, IgnoreMetadata] parse returned: OK File: [kodim23_yuv420_8bpc.avif @ 21032 / 21032 bytes, NonPersistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 20750] returned: OK File: [kodim23_yuv420_8bpc.avif @ 274 / 21032 bytes, Persistent, Metadata] parse returned: OK File: [kodim23_yuv420_8bpc.avif @ 21032 / 21032 bytes, Persistent, Metadata] nextImage [MaxExtent off 282, size 20750] returned: OK File: [kodim23_yuv420_8bpc.avif @ 274 / 21032 bytes, NonPersistent, Metadata] parse returned: OK File: [kodim23_yuv420_8bpc.avif @ 21032 / 21032 bytes, NonPersistent, Metadata] nextImage [MaxExtent off 282, size 20750] returned: OK AVIF Test Suite: Running Encode/Decode Tests... OK[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp0_0_speed-1] OK[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp0_0_speed10] OK[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp4_40_speed-1] OK[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp4_40_speed10] OK[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp24_60_speed-1] OK[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp24_60_speed10] OK[kodim03_yuv420_8bpc_aom_to_dav1d_qp0_0_speed-1] OK[kodim03_yuv420_8bpc_aom_to_dav1d_qp0_0_speed10] OK[kodim03_yuv420_8bpc_aom_to_dav1d_qp4_40_speed-1] OK[kodim03_yuv420_8bpc_aom_to_dav1d_qp4_40_speed10] OK[kodim03_yuv420_8bpc_aom_to_dav1d_qp24_60_speed-1] OK[kodim03_yuv420_8bpc_aom_to_dav1d_qp24_60_speed10] OK[kodim23_yuv420_8bpc_aom_to_dav1d_qp0_0_speed-1] OK[kodim23_yuv420_8bpc_aom_to_dav1d_qp0_0_speed10] OK[kodim23_yuv420_8bpc_aom_to_dav1d_qp4_40_speed-1] OK[kodim23_yuv420_8bpc_aom_to_dav1d_qp4_40_speed10] OK[kodim23_yuv420_8bpc_aom_to_dav1d_qp24_60_speed-1] OK[kodim23_yuv420_8bpc_aom_to_dav1d_qp24_60_speed10] Complete. 18 tests ran, 90 skipped, 0 failed. AVIF Test Suite: Complete.
/home/dpb/usr/ports/pobj/libavif-0.9.3/build-amd64/aviftest /home/dpb/usr/ports/pobj/libavif-0.9.3/libavif-0.9.3/tests/data Codec Versions: dav1d [dec]:0.9.2, aom [enc]:v3.1.3 Test Data Dir : /home/dpb/usr/ports/pobj/libavif-0.9.3/libavif-0.9.3/tests/data AVIF Test Suite: Running IO Tests... File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 274 / 37451 bytes, Persistent, IgnoreMetadata] parse returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 37451 / 37451 bytes, Persistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 37169] returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 274 / 37451 bytes, NonPersistent, IgnoreMetadata] parse returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 37451 / 37451 bytes, NonPersistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 37169] returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 274 / 37451 bytes, Persistent, Metadata] parse returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 37451 / 37451 bytes, Persistent, Metadata] nextImage [MaxExtent off 282, size 37169] returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 274 / 37451 bytes, NonPersistent, Metadata] parse returned: OK File: [cosmos1650_yuv444_10bpc_p3pq.avif @ 37451 / 37451 bytes, NonPersistent, Metadata] nextImage [MaxExtent off 282, size 37169] returned: OK File: [kodim03_yuv420_8bpc.avif @ 274 / 25430 bytes, Persistent, IgnoreMetadata] parse returned: OK File: [kodim03_yuv420_8bpc.avif @ 25430 / 25430 bytes, Persistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 25148] returned: OK File: [kodim03_yuv420_8bpc.avif @ 274 / 25430 bytes, NonPersistent, IgnoreMetadata] parse returned: OK File: [kodim03_yuv420_8bpc.avif @ 25430 / 25430 bytes, NonPersistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 25148] returned: OK File: [kodim03_yuv420_8bpc.avif @ 274 / 25430 bytes, Persistent, Metadata] parse returned: OK File: [kodim03_yuv420_8bpc.avif @ 25430 / 25430 bytes, Persistent, Metadata] nextImage [MaxExtent off 282, size 25148] returned: OK File: [kodim03_yuv420_8bpc.avif @ 274 / 25430 bytes, NonPersistent, Metadata] parse returned: OK File: [kodim03_yuv420_8bpc.avif @ 25430 / 25430 bytes, NonPersistent, Metadata] nextImage [MaxExtent off 282, size 25148] returned: OK File: [kodim23_yuv420_8bpc.avif @ 274 / 21032 bytes, Persistent, IgnoreMetadata] parse returned: OK File: [kodim23_yuv420_8bpc.avif @ 21032 / 21032 bytes, Persistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 20750] returned: OK File: [kodim23_yuv420_8bpc.avif @ 274 / 21032 bytes, NonPersistent, IgnoreMetadata] parse returned: OK File: [kodim23_yuv420_8bpc.avif @ 21032 / 21032 bytes, NonPersistent, IgnoreMetadata] nextImage [MaxExtent off 282, size 20750] returned: OK File: [kodim23_yuv420_8bpc.avif @ 274 / 21032 bytes, Persistent, Metadata] parse returned: OK File: [kodim23_yuv420_8bpc.avif @ 21032 / 21032 bytes, Persistent, Metadata] nextImage [MaxExtent off 282, size 20750] returned: OK File: [kodim23_yuv420_8bpc.avif @ 274 / 21032 bytes, NonPersistent, Metadata] parse returned: OK File: [kodim23_yuv420_8bpc.avif @ 21032 / 21032 bytes, NonPersistent, Metadata] nextImage [MaxExtent off 282, size 20750] returned: OK AVIF Test Suite: Running Encode/Decode Tests... OK[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp0_0_speed-1] OK[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp0_0_speed10] OK[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp4_40_speed-1] OK[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp4_40_speed10] ERROR[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp24_60_speed-1]: max diff threshold exceeded: 177 > 79 ERROR[cosmos1650_yuv444_10bpc_p3pq_aom_to_dav1d_qp24_60_speed10]: max diff threshold exceeded: 88 > 79 OK[kodim03_yuv420_8bpc_aom_to_dav1d_qp0_0_speed-1] OK[kodim03_yuv420_8bpc_aom_to_dav1d_qp0_0_speed10] OK[kodim03_yuv420_8bpc_aom_to_dav1d_qp4_40_speed-1] OK[kodim03_yuv420_8bpc_aom_to_dav1d_qp4_40_speed10] ERROR[kodim03_yuv420_8bpc_aom_to_dav1d_qp24_60_speed-1]: max diff threshold exceeded: 48 > 18 OK[kodim03_yuv420_8bpc_aom_to_dav1d_qp24_60_speed10] OK[kodim23_yuv420_8bpc_aom_to_dav1d_qp0_0_speed-1] OK[kodim23_yuv420_8bpc_aom_to_dav1d_qp0_0_speed10] OK[kodim23_yuv420_8bpc_aom_to_dav1d_qp4_40_speed-1] ERROR[kodim23_yuv420_8bpc_aom_to_dav1d_qp4_40_speed10]: max diff threshold exceeded: 19 > 9 ERROR[kodim23_yuv420_8bpc_aom_to_dav1d_qp24_60_speed-1]: max diff threshold exceeded: 51 > 18 ERROR[kodim23_yuv420_8bpc_aom_to_dav1d_qp24_60_speed10]: max diff threshold exceeded: 45 > 37 Complete. 18 tests ran, 90 skipped, 6 failed. AVIF Test Suite: Failed. *** Error 1 in . (Makefile:37 'do-test')