FFmpeg now supports JPEG XL and AVIF: how to convert images
This is an update to the previous post Best FFmpeg commands
Full support available since FFmpeg v5.1 LTS.
Build dependencies
These libraries should be compiled and installed:
* libjxl - https://github.com/libjxl/libjxl
* aom - https://aomedia.googlesource.com/aom
Then FFmpeg should be compiled with options --enable-libjxl and
Nix Sanctuary