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 9C87B40A4C for ; Wed, 4 May 2022 21:57:15 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8490168B2BA; Thu, 5 May 2022 00:57:13 +0300 (EEST) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3561B680226 for ; Thu, 5 May 2022 00:57:07 +0300 (EEST) Received: by mail-wr1-f45.google.com with SMTP id t6so3732830wra.4 for ; Wed, 04 May 2022 14:57:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=xjQpgZhnBlgIWvkLS9SevDBmXba4UoooqF6Tj5FeBrE=; b=QQMdLisuvbvqo6PElzkYybQffAVzX7VjOFMzvPSAFhXLJqKcUzDT44/XV8L6pvn0ji bBDqZzVTYXBuWAS7ZZeS4fQ/gJNGkK103NdC423Swc7EE+8LtJHyXaa04frid5a+McnQ +fksM+1FZM0UeFoLeM582E0EZPSQgtKHB2tGqtX5an4KPOmM57Qvuv2aMbBfDfB7qbR/ mGYHRW6bXQ0Xyi0RJLv1ZlWSGvTAA7muZKd52sZpIo7etY7McQmMmCekeM0vIjY71hyZ q71mh3fHavOs2RlINsLrVAE5v73lM6ijc8u/JNBW2LzHX2b50aY1mvHdFCdsOZAyTfmC 2eeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=xjQpgZhnBlgIWvkLS9SevDBmXba4UoooqF6Tj5FeBrE=; b=UKLmDT5/KaRsGMBxmUWbui+NP7AW7Ao2aze9vQyD2S5DLihYs3+vl0tcDEq1vIZdAj feSusaZGInSNQ1OraHuaRGoOXCZY4G36SdJYZv+x0P0LjVMXie3sAM+2KdarD/PqDIhN aPN29Xf1RZvAGmPasDPXyjBg6lv14ccYvWSUumBB622j6ifpfiDecfMAbOjpx8ccvAaz jT0Oxa1yCugrjGkKLeditntl8UczfLd7h7is2YZEk0lL2uSlfc7eJAuHlHnLddP2tjGk dzjYeJg35+Smnn4ciCG/+fAiUl2YFpkZQV2/nnnCexeqNQfcIA4iG+oZmX4gVtVhMs6G eZFQ== X-Gm-Message-State: AOAM533erbKfWyoZnbF3E4tnHHYp1D/Pi9c7VQJhDpDAuJfSmXF6UKvA IKCaLg4QlqlNXP+gkh7ElcJ8Aave3weC+v7qW41m69dlCXwX6g== X-Google-Smtp-Source: ABdhPJz2txO0uwXhtBbDY9sNdkIrKD3+nJt9kMQpv+KhGI/Jdr1hRQaln7xotQX/lJPLTwF8ilX25BR38JJ0oV1hFUU= X-Received: by 2002:adf:e887:0:b0:20a:c52f:e01a with SMTP id d7-20020adfe887000000b0020ac52fe01amr17913493wrm.42.1651701425467; Wed, 04 May 2022 14:57:05 -0700 (PDT) MIME-Version: 1.0 References: <20220417132236.200239-1-leo.izen@gmail.com> <20220417132236.200239-5-leo.izen@gmail.com> In-Reply-To: From: Mark Gaiser Date: Wed, 4 May 2022 23:56:23 +0200 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH v15 4/4] avformat/image2: add Jpeg XL as image2 format 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: , Reply-To: FFmpeg development discussions and patches 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: On Sat, Apr 23, 2022 at 7:53 PM Lynne wrote: > 17 Apr 2022, 15:22 by leo.izen@gmail.com: > > > This commit adds support to libavformat for muxing > > and demuxing Jpeg XL images as image2 streams. > > --- > > MAINTAINERS | 1 + > > libavformat/Makefile | 1 + > > libavformat/allformats.c | 1 + > > libavformat/img2.c | 1 + > > libavformat/img2dec.c | 20 ++ > > libavformat/img2enc.c | 6 +- > > libavformat/jpegxl_probe.c | 393 +++++++++++++++++++++++++++++++++++++ > > libavformat/jpegxl_probe.h | 32 +++ > > libavformat/mov.c | 1 + > > 9 files changed, 453 insertions(+), 3 deletions(-) > > create mode 100644 libavformat/jpegxl_probe.c > > create mode 100644 libavformat/jpegxl_probe.h > > > > Patchset pushed, thanks! > Hi, I might have found a bug here. Or I might not be using it correctly, that's entirely possible too! What i try is just making an animated jxl from a bunch of input images. This command for example works and creates a gif: ffmpeg -f image2 -framerate 1 -i thumb%04d.jpg output.gif This command (just changing "gif" to "jxl") errors. ffmpeg -f image2 -framerate 1 -i thumb%04d.jpg output.jxl The error: [image2 @ 0x557ea81112c0] Could not get frame filename number 2 from pattern 'output.jxl'. Use '-frames:v 1' for a single image, or '-update' option, or use a pattern such as %03d within the filename. av_interleaved_write_frame(): Invalid argument It does look like it tries to use "output.jxl" as a pattern file as opposed to "thumb%04d.jpg". Am I doing something wrong here? > _______________________________________________ > 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". > _______________________________________________ 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".