[FFmpeg-devel] [RFC] webp decoding

James Zern jzern at google.com
Thu Jun 26 20:33:43 EEST 2025


On Thu, Jun 26, 2025 at 12:00 AM Hendrik Leppkes
<h.leppkes-at-gmail.com at ffmpeg.org> wrote:
>
> On Thu, Jun 26, 2025 at 2:58 AM Michael Niedermayer
> <michael at 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.


More information about the ffmpeg-devel mailing list