Please add the := to the ffmpeg ebuilds where that media-libs/libjxl slot operator is missing. media-libs/libjxl-0.9.1 has now SLOT="0/$(ver_cut 1-2)" !!! existing preserved libs: >>> package: media-libs/libjxl-0.9.1 * - /usr/lib/libjxl.so.0.8 * - /usr/lib/libjxl.so.0.8.2 * used by /usr/lib/libavcodec.so.60.37.100 (media-video/ffmpeg-9999) * - /usr/lib/libjxl_threads.so.0.8 * - /usr/lib/libjxl_threads.so.0.8.2 * used by /usr/lib/libavcodec.so.60.37.100 (media-video/ffmpeg-9999) * - /usr/lib64/libjxl.so.0.8 * - /usr/lib64/libjxl.so.0.8.2 * used by /usr/lib64/gimp/2.99/plug-ins/gimp-org-file-jpegxl/gimp-org-file-jpegxl (media-gfx/gimp-9999) * used by /usr/lib64/libavcodec.so.60.37.100 (media-video/ffmpeg-9999) * used by /usr/lib64/qt5/plugins/imageformats/kimg_jxl.so (kde-frameworks/kimageformats-5.114.0) * - /usr/lib64/libjxl_threads.so.0.8 * - /usr/lib64/libjxl_threads.so.0.8.2 * used by /usr/lib64/gimp/2.99/plug-ins/gimp-org-file-jpegxl/gimp-org-file-jpegxl (media-gfx/gimp-9999) * used by /usr/lib64/libavcodec.so.60.37.100 (media-video/ffmpeg-9999) * used by /usr/lib64/qt5/plugins/imageformats/kimg_jxl.so (kde-frameworks/kimageformats-5.114.0)
Meanwhile, here is a patch that adds =media-libs/libjxl-0.91 support to =media-video/ffmpeg-6.0.1-r2, inspired by https://patchwork.ffmpeg.org/project/ffmpeg/patch/fd749008-1aff-bb2a-3d7f-97928f96c148@reflexion.tv/ Quickly tested that decoding/encoding works with: ffmpeg -i file1.jpg file1.jxl ffmpeg -i file2.jxl file2.jpg
Created attachment 884159 [details, diff] libjxl-0.9.1 support for ffmpeg-6.0.1-r2