* [FFmpeg-devel] [RFC] webp decoding
@ 2025-06-26 0:58 Michael Niedermayer
2025-06-26 7:00 ` Hendrik Leppkes
0 siblings, 1 reply; 4+ messages in thread
From: Michael Niedermayer @ 2025-06-26 0:58 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1.1: Type: text/plain, Size: 1105 bytes --]
Hi
some people use webp apparently, and we have no decoder
There are 2 patchsets
Thilos v13 (native decoder)
Peters libwebp based one
I tested both and thilos code decodes the files from the 4709 ticket
i was not able to decode anything with peters patch. Iam not sure it
needs some demuxer changes that are missing it also didnt work with
the demuxer chanegs from thilos pacthset.
What i suggest is ... can we just apply thilos patchset ?
what do people think about that idea ?
It does have a review comment about use of nested decoders and direct
rendering not working. But honestly. That decoder (maybe marked as
experimental?) seems better than having no decoder
Do we have someone willing to work on webp ?
(Iam pretty sure we can fund that work someehow if interrest is conditional on US$)
Or is someone even already working on it ?
thx
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
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".
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [FFmpeg-devel] [RFC] webp decoding
2025-06-26 0:58 [FFmpeg-devel] [RFC] webp decoding Michael Niedermayer
@ 2025-06-26 7:00 ` Hendrik Leppkes
2025-06-26 17:33 ` James Zern via ffmpeg-devel
0 siblings, 1 reply; 4+ messages in thread
From: Hendrik Leppkes @ 2025-06-26 7:00 UTC (permalink / raw)
To: FFmpeg development discussions and patches
On Thu, Jun 26, 2025 at 2:58 AM Michael Niedermayer
<michael@niedermayer.cc> wrote:
>
> Hi
>
> some people use webp apparently, and we have no decoder
>
libavcodec/webp.c is a decoder.
- Hendrik
_______________________________________________
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".
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [FFmpeg-devel] [RFC] webp decoding
2025-06-26 7:00 ` Hendrik Leppkes
@ 2025-06-26 17:33 ` James Zern via ffmpeg-devel
2025-06-26 17:37 ` Michael Niedermayer
0 siblings, 1 reply; 4+ messages in thread
From: James Zern via ffmpeg-devel @ 2025-06-26 17:33 UTC (permalink / raw)
To: FFmpeg development discussions and patches; +Cc: James Zern
[-- Attachment #1: Type: message/rfc822, Size: 4337 bytes --]
From: James Zern <jzern@google.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [RFC] webp decoding
Date: Thu, 26 Jun 2025 10:33:43 -0700
Message-ID: <CABWgkX+SMJZvGsQez1RhnR_BUXyVfdSt=UURZEJCkEt_pyHBsA@mail.gmail.com>
On Thu, Jun 26, 2025 at 12:00 AM Hendrik Leppkes
<h.leppkes-at-gmail.com@ffmpeg.org> wrote:
>
> On Thu, Jun 26, 2025 at 2:58 AM Michael Niedermayer
> <michael@niedermayer.cc> wrote:
> >
> > Hi
> >
> > some people use webp apparently, and we have no decoder
> >
>
> libavcodec/webp.c is a decoder.
>
The missing piece is animated webp demuxing/decoding:
[webp @ 0x56227253be80] skipping unsupported chunk: ANIM
[webp @ 0x56227253be80] skipping unsupported chunk: ANMF
Last message repeated 30 times
[webp @ 0x56227253be80] skipping unsupported chunk: XMP
[webp @ 0x56227253be80] image data not found
Thilo's implementation worked pretty well from what I remember of my
earlier testing. There may be some corner cases that behaved
differently from libwebp's animated decoder, but I don't remember the
details. If nothing else, functionally speaking, it seemed like a good
place to start.
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
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".
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [FFmpeg-devel] [RFC] webp decoding
2025-06-26 17:33 ` James Zern via ffmpeg-devel
@ 2025-06-26 17:37 ` Michael Niedermayer
0 siblings, 0 replies; 4+ messages in thread
From: Michael Niedermayer @ 2025-06-26 17:37 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1.1: Type: text/plain, Size: 941 bytes --]
On Thu, Jun 26, 2025 at 10:33:43AM -0700, James Zern via ffmpeg-devel wrote:
> Date: Thu, 26 Jun 2025 10:33:43 -0700
> From: James Zern <jzern@google.com>
> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [RFC] webp decoding
>
> On Thu, Jun 26, 2025 at 12:00 AM Hendrik Leppkes
> <h.leppkes-at-gmail.com@ffmpeg.org> wrote:
> >
> > On Thu, Jun 26, 2025 at 2:58 AM Michael Niedermayer
> > <michael@niedermayer.cc> wrote:
> > >
> > > Hi
> > >
> > > some people use webp apparently, and we have no decoder
> > >
> >
> > libavcodec/webp.c is a decoder.
> >
>
> The missing piece is animated webp demuxing/decoding:
yes, i forgot the "animated" in my mail :)
i of course meant animated webp
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Some Animals are More Equal Than Others. - George Orwell's book Animal Farm
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
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".
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-06-26 17:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-26 0:58 [FFmpeg-devel] [RFC] webp decoding Michael Niedermayer
2025-06-26 7:00 ` Hendrik Leppkes
2025-06-26 17:33 ` James Zern via ffmpeg-devel
2025-06-26 17:37 ` Michael Niedermayer
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