Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 922543

Summary: media-video/ffmpeg some ebuilds have media-libs/libjxl slot operator missing
Product: Gentoo Linux Reporter: jospezial <jospezial>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: UNCONFIRMED ---    
Severity: normal CC: gentoo.wayne, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: libjxl-0.9.1 support for ffmpeg-6.0.1-r2

Description jospezial 2024-01-20 15:08:13 UTC
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)
Comment 1 Patrice Levesque 2024-02-04 00:53:27 UTC
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
Comment 2 Patrice Levesque 2024-02-04 00:54:25 UTC
Created attachment 884159 [details, diff]
libjxl-0.9.1 support for ffmpeg-6.0.1-r2