Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: James Zern <jzern-at-google.com@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v4 0/7] webp: add support for animated WebP decoding
Date: Thu, 27 Jul 2023 10:42:50 -0700
Message-ID: <CABWgkXJKm8+_Wf8NcfmoQOJ=478JY9pgrM9SX=s-4gAktpqhbQ@mail.gmail.com> (raw)
In-Reply-To: <7b518296-5a47-d459-a98d-70a7df76431b@mail.de>

On Thu, Jul 27, 2023 at 4:29 AM Thilo Borgmann <thilo.borgmann@mail.de> wrote:
>
> Am 25.07.23 um 22:14 schrieb James Zern:
> > On Tue, Jul 25, 2023 at 1:58 AM Thilo Borgmann <thilo.borgmann@mail.de> wrote:
> >>
> >> Still images fixed from v2. Now includes a fate test for animated webp.
> >>
> >> Patch 5/7 is still there for making changes in lavc/webp reviewable but
> >> shall be stashed when pushing.
> >>
> >> -Thilo
> >>
> >>
> >> Josef Zlomek (2):
> >>    libavcodec/webp: add support for animated WebP decoding
> >>    libavformat/webp: add WebP demuxer
> >>
> >> Thilo Borgmann (5):
> >>    avcodec/webp: move definitions into header
> >>    avcodec/webp: remove unused definitions
> >>    avcodec/webp_parser: parse each frame into one packet
> >>    avcodec/webp: make init_canvas_frame static
> >>    fate: add test for animated WebP
> >>
> >>   Changelog                                   |   2 +
> >>   doc/demuxers.texi                           |  28 +
> >>   libavcodec/codec_desc.c                     |   3 +-
> >>   libavcodec/version.h                        |   2 +-
> >>   libavcodec/webp.c                           | 715 +++++++++++++++++--
> >>   libavcodec/webp.h                           |  38 +
> >>   libavcodec/webp_parser.c                    | 130 ++--
> >>   libavformat/Makefile                        |   1 +
> >>   libavformat/allformats.c                    |   1 +
> >>   libavformat/version.h                       |   2 +-
> >>   libavformat/webpdec.c                       | 733 ++++++++++++++++++++
> >>   tests/fate/image.mak                        |   3 +
> >>   tests/ref/fate/exif-image-webp              |  12 +-
> >>   tests/ref/fate/webp-anim                    |  22 +
> >>   tests/ref/fate/webp-rgb-lena-lossless       |   2 +-
> >>   tests/ref/fate/webp-rgb-lena-lossless-rgb24 |   2 +-
> >>   tests/ref/fate/webp-rgb-lossless            |   2 +-
> >>   tests/ref/fate/webp-rgb-lossy-q80           |   2 +-
> >>   tests/ref/fate/webp-rgba-lossless           |   2 +-
> >>   tests/ref/fate/webp-rgba-lossy-q80          |   2 +-
> >>   20 files changed, 1589 insertions(+), 115 deletions(-)
> >>   create mode 100644 libavcodec/webp.h
> >>   create mode 100644 libavformat/webpdec.c
> >>   create mode 100644 tests/ref/fate/webp-anim
> >>
> >
> > This series is lgtm. There are still a few edge cases where
>
> > 1) the
> > 'Canvas change detected' warning will be triggered with valid files,
>
> As long as the canvas in frame threading is bound to a ThreadFrame, we can't reallocate for changes.
> Wouldn't want to touch that until the new threading is all done.
>
>
> > 2) corrupt / truncated files will produce output where they would fail
> > with libwebp and
>
> We might bail out as well though AFAICT we usually try to decode whatever might be possible.
>
>
> > 3) I see quite a few "[webp @ 0x7f5530008c00]
> > Multiple ff_thread_finish_setup() calls", not sure if that's expected.
>
> Which sample you're looking at?
>
> If I can reproduce this, I'll look at it. The other things I'd keep as they are.
>

I see this with:
https://www.gstatic.com/webp/gallery3/1_webp_a.webp
Using an animation it seems to be output once per frame.
_______________________________________________
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:[~2023-07-27 17:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-25  8:58 Thilo Borgmann
2023-07-25  8:58 ` [FFmpeg-devel] [PATCH v4 1/7] avcodec/webp: move definitions into header Thilo Borgmann
2023-07-25  8:58 ` [FFmpeg-devel] [PATCH v4 2/7] avcodec/webp: remove unused definitions Thilo Borgmann
2023-07-25  8:58 ` [FFmpeg-devel] [PATCH v4 3/7] avcodec/webp_parser: parse each frame into one packet Thilo Borgmann
2023-07-25 12:24   ` Tomas Härdin
2023-07-25 14:18     ` Thilo Borgmann
2023-07-25 19:46       ` James Zern
2023-07-26 21:35       ` Tomas Härdin
2023-07-27 17:21         ` James Zern
2023-07-25  8:58 ` [FFmpeg-devel] [PATCH v4 4/7] libavcodec/webp: add support for animated WebP decoding Thilo Borgmann
2023-07-25  8:58 ` [FFmpeg-devel] [PATCH v4 5/7] avcodec/webp: make init_canvas_frame static Thilo Borgmann
2023-07-25  8:58 ` [FFmpeg-devel] [PATCH v4 6/7] libavformat/webp: add WebP demuxer Thilo Borgmann
2023-07-25  8:58 ` [FFmpeg-devel] [PATCH v4 7/7] fate: add test for animated WebP Thilo Borgmann
2023-07-25 20:14 ` [FFmpeg-devel] [PATCH v4 0/7] webp: add support for animated WebP decoding James Zern
2023-07-27 11:29   ` Thilo Borgmann
2023-07-27 17:42     ` James Zern [this message]

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='CABWgkXJKm8+_Wf8NcfmoQOJ=478JY9pgrM9SX=s-4gAktpqhbQ@mail.gmail.com' \
    --to=jzern-at-google.com@ffmpeg.org \
    --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