Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Enable JPEG XL by default #785

@markg85

Description

@markg85

Is your feature request related to a problem? Please describe.
Enable JPEG XL support

Describe the solution you'd like
Allow to convert to/from JPEG-XL

Describe alternatives you've considered
None

Platform
All

Additional context
It's been in ffmpeg for a year or so but apparently went under the release note radar (couldn't find it).
The initial commit was in late April 2022
And i can guarantee that it is most certainly in ffmpeg:

❯ ffmpeg -h decoder=jpegxl
ffmpeg version n6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.1.1 (GCC) 20230429
  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-libjxl --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --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      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Decoder libjxl [libjxl JPEG XL]:
    General capabilities: dr1 threads 
    Threading capabilities: other

And the "official documentation":
https://www.ffmpeg.org/ffmpeg-codecs.html#libjxl

Not much info but some which means it's there.

It apparently uses libjxl which has BSD 3-Clause license thus should be good to be enabled.

You can have animated jpegxl of which samples can be found here. Based on that it should probably be enabled in the video package Though don't use chrome to look at them as chrome decided in their "wishdom" to nuke this next-gen image format in favor of the AV1 (AVIF) image format. Depending on your browser, you can look at those images. Consult https://caniuse.com/jpegxl to see which one to use.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions