[FFmpeg-devel] [PATCH v2 0/2] JPEG XL Animation Support

Leo Izen leo.izen at gmail.com
Fri Mar 31 01:42:44 EEST 2023


This patch adds support for animated JPEG XL files in both the libjxl
decoder wrapper and a separate demuxer to properly set the timebase for it.

Changes from v1:
- Made some tweaks based on review suggestions from Anton Khirnov
 -- moved packet request inside main loop
 -- added guard against avctx->pkt_timebase being unset
 -- removed size_t remaining from persistent context, changing pkt->data instead.
 -- populate AVFrame->duration field.
- Rebased against master

Leo Izen (2):
  avcodec/libjxldec: add animated decode support
  avformat/jpegxl_anim_dec: add animated JPEG XL demuxer

 MAINTAINERS                   |   1 +
 libavcodec/libjxldec.c        | 109 ++++++++++----
 libavcodec/version.h          |   2 +-
 libavformat/Makefile          |   1 +
 libavformat/allformats.c      |   1 +
 libavformat/img2dec.c         |   2 +-
 libavformat/jpegxl_anim_dec.c | 266 ++++++++++++++++++++++++++++++++++
 libavformat/jpegxl_probe.c    |  19 +--
 libavformat/jpegxl_probe.h    |   7 +-
 libavformat/version.h         |   4 +-
 10 files changed, 370 insertions(+), 42 deletions(-)
 create mode 100644 libavformat/jpegxl_anim_dec.c

-- 
2.40.0



More information about the ffmpeg-devel mailing list