You are not logged in.
I have ffmpeg version 5.1.2, which is supposed to support libjxl. I installed libjxl, and I already had the required library aom. But ffmpeg does not seem to want to use libjxl:
ffmpeg -i --enable-libjxl 20221017_0007.png -c:v libjxl 20221017_0007.jxl
ffmpeg version n5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.2.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
--enable-libjxl: No such file or directoryI got the --enable-libjxl option from "man ffmpeg". I also tried rebooting after installing libjxl, but it did not help. What am I missing?
Last edited by ratcheer (2022-10-22 20:56:05)
Offline
ffmpeg from the Arch repositories is not built with libjxl support, as such installing libjxl has no effect. You would need to rebuild ffmpeg with libjxl installed possibly passing the option --enable-libjxl to the configure script.
Last edited by loqs (2022-10-22 20:07:06)
Offline
Thank you.
Offline
On a side note, Image Magick works fine with .jxl files. It can convert to them and display them.
Firefox has a flag to enable them, but it does not work except in Firefox Nightly.
Offline