Closed hydra3333 closed 1 year ago
what is jxl ?
JPEG XL is a royalty-free raster-graphics file format that supports both lossy and lossless compression. See https://jpeg.org/jpegxl/
something has broken or incompatible code ?
Projects change rapidly. So, broken code is expected. It may be possible to disable libjxl requirement in ffmpeg. The commit https://github.com/libjxl/libjxl/commit/b08a704978d5aeaf6fd1e2aee3ae5907a89e1f96 says
the signature of
JxlDecoderGetColorAsEncodedProfile
,JxlDecoderGetICCProfileSize
, andJxlDecoderGetColorAsICCProfile
changed: a deprecated unused argument was removed.
It may be possible to disable libjxl requirement in ffmpeg
Thanks, did that and ffmpeg built fine.
The response:
You'll need to update your code, the API has changed in b08a704
There has been some activity in ffmpeg recently, I wonder if this has been resolved - does anyone know ?
Please try to rebuild ffmpeg. A patch has been added here https://github.com/m-ab-s/media-autobuild_suite/commit/28f9bb3ce7b1de232f6ebfb10ac2ea0a6e732bdb
Has anyone submitted a patch to ffmpeg upstream?
I have not yet, as I could not find any easy way to detect the new API changes. A simple patch is at https://github.com/m-ab-s/mabs-patches/blob/master/ffmpeg/0001-libjxldec-remove-deprecated-fields.patch, but as mentioned, it has no version bumps nor macro checks.
Unfortunately, looks like the API changes weren't accompanied with a version bump.