From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 1087B47C4D for ; Wed, 13 Dec 2023 20:53:23 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2B2A068D08B; Wed, 13 Dec 2023 22:53:21 +0200 (EET) Received: from mail-40135.protonmail.ch (mail-40135.protonmail.ch [185.70.40.135]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CA98168CFA8 for ; Wed, 13 Dec 2023 22:53:14 +0200 (EET) Date: Wed, 13 Dec 2023 20:53:08 +0000 To: FFmpeg development discussions and patches Message-ID: <-Md3l6HVUK-z6aVYgOU06PBX06n-xrpzKEyp-F2VVAgHcjz02ush7w6xPwiMTVH5gfngH9MR1N7sO6GTEcpXMpfdtRMJtDsKEcXsIY8UYF0=@protonmail.com> Feedback-ID: 28710920:user:proton MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 0/1] avcodec/libjxlenc: Add libjxl_animated encoder X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Zsolt_Vad=C3=A1sz_via_ffmpeg-devel?= Reply-To: FFmpeg development discussions and patches Cc: =?utf-8?Q?Zsolt_Vad=C3=A1sz?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: This patchset adds support for encoding animated JPEG XL images via a new encoder (libjxl_animated). When using the encoder, the output format needs to be set to raw video, as shown below: `ffmpeg -i sample.gif -c:v libjxl_animated -f rawvideo out.jxl` V2 changes: - This version doesn't move the JxlBasicInfo struct into LibJxlEncodeContext (the JxlPixelFormat struct is still in the encoder context because it's used in multiple functions, while the encode callbacks only use the `ysize` from the JxlBasicInfo, which is just `frame-height`) - It also doesn't overwrite `avctx->time_base` - Builds that disable libjxl now succeed Zsolt Vadasz (1): avcodec/libjxlenc: Add libjxl_animated encoder configure | 1 + libavcodec/allcodecs.c | 1 + libavcodec/libjxlenc.c | 214 +++++++++++++++++++++++++++++++++-------- 3 files changed, 177 insertions(+), 39 deletions(-) -- 2.43.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".