Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Mark Gaiser <markg85@gmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v15 4/4] avformat/image2: add Jpeg XL as image2 format
Date: Wed, 4 May 2022 23:56:23 +0200
Message-ID: <CAPd6JnF-obsyTihrPZxgH-vL6K7Hhzh1fbMgL4pEkPe0_ZssSw@mail.gmail.com> (raw)
In-Reply-To: <N0MYbeR--3-2@lynne.ee>

On Sat, Apr 23, 2022 at 7:53 PM Lynne <dev@lynne.ee> 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".

  reply	other threads:[~2022-05-04 21:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-17 13:22 [FFmpeg-devel] [PATCH v15 0/4] Jpeg XL Patch Set Leo Izen
2022-04-17 13:22 ` [FFmpeg-devel] [PATCH v15 1/4] avcodec/jpegxl: add Jpeg XL image codec Leo Izen
2022-04-17 13:22 ` [FFmpeg-devel] [PATCH v15 2/4] avcodec/libjxl: add Jpeg XL decoding via libjxl Leo Izen
2022-04-17 13:22 ` [FFmpeg-devel] [PATCH v15 3/4] avcodec/libjxl: add Jpeg XL encoding " Leo Izen
2022-04-17 13:22 ` [FFmpeg-devel] [PATCH v15 4/4] avformat/image2: add Jpeg XL as image2 format Leo Izen
2022-04-23 17:53   ` Lynne
2022-05-04 21:56     ` Mark Gaiser [this message]
2022-05-05  3:49       ` Leo Izen
2022-05-05 11:13         ` Mark Gaiser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPd6JnF-obsyTihrPZxgH-vL6K7Hhzh1fbMgL4pEkPe0_ZssSw@mail.gmail.com \
    --to=markg85@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git