[FFmpeg-devel] [PATCH v3 0/1] avcodec/libjxlenc: Add libjxl_anim encoder
Zsolt Vadász
zsolt_vadasz at protonmail.com
Thu Dec 21 23:22:11 EET 2023
This patchset adds support for encoding animated JPEG XL images via a
new encoder (libjxl_anim). When using the encoder, the output format
needs to be set to raw video, as shown below:
`ffmpeg -i sample.gif -c:v libjxl_anim -f rawvideo out.jxl`
V3 changes:
- Renamed encoder to libjxl_anim for consistency
- PTS is now calculated
- JxlFrameHeader.duration is calculated from PTS instead of relying on
AVFrame->duration being set
- This version also does not rely on AVCodecContext->frame_num either
- Disabled the container container format (JxlEncoderUseContainer)
Zsolt Vadász (1):
avcodec/libjxlenc: Add libjxl_animated encoder
configure | 1 +
libavcodec/allcodecs.c | 1 +
libavcodec/libjxlenc.c | 226 ++++++++++++++++++++++++++++++++++-------
3 files changed, 189 insertions(+), 39 deletions(-)
--
2.34.1
More information about the ffmpeg-devel
mailing list