FS#75830 - [ffmpeg] 5.1.1 doesn't come with jxl support
Attached to Project:
Arch Linux
Opened by Joop Kiefte (lapingvino) - Tuesday, 06 September 2022, 19:49 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 22 September 2022, 15:22 GMT
Opened by Joop Kiefte (lapingvino) - Tuesday, 06 September 2022, 19:49 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 22 September 2022, 15:22 GMT
|
Details
Description: Using ffmpeg 5.1.1, trying to view the example
image on the jpegxl website with ffplay or converting it
with ffmpeg it says codec jpegxl not found. Additionally, on
ARM64 it also segfaults when trying to use the jpegxl
functionality (unfortunately cannot find the right place to
report it for ArchlinuxARM rn, sorry!)
➜ ~ ffmpeg -i logo.jxl logo.png ... [jpegxl_pipe @ 0x5590c7f06a80] Could not find codec parameters for stream 0 (Video: jpegxl, none): unspecified size Decoder (codec jpegxl) not found for input stream #0:0 Additional info: * package version(s): 5.1.1 * package libjxl is installed Steps to reproduce: 1. install the latest version of ffmpeg 2. download https://jpegxl.info/logo.jxl 3. ffplay logo.jxl ; ffmpeg -i logo.jxl logo.png |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Thursday, 22 September 2022, 15:22 GMT
Reason for closing: Won't implement
Thursday, 22 September 2022, 15:22 GMT
Reason for closing: Won't implement
I tried it for my own purposes, compilation of latest ffmpeg-5.1.1 with configure flag explicitly added --enable-libjxl aborts with an error.
Longer explanation:
I had the intention to backport a patch for mpv, also a custom built version, to have screenshots in jxl format. The configuration of mpv just checks for a new enough >= 5.1 ffmpeg version and let you compile it cleanly ... BUT, needs libjxl >= 0.7 and ffmpeg with enabled libjxl support.
Just wait a little bit longer for it to arrive. :) The libjxl devs promise a new stable libjxl release soon. Their words, not mine.
Supporting some of the popular image formats we already do in case you'd like to create a video clip from a sequence of images can make sense but I hardly see the need to have that temporary image sequence as jxl instead of png for instance. Even jxl screenshots is a non issue, just save your screenshot as png then convert it to jxl using one of the above.