On Thu, Mar 28, 2024 at 7:10 AM Thilo Borgmann via ffmpeg-devel <ffmpeg-devel@ffmpeg.org> wrote: > > From: Josef Zlomek <jo...@pex.com> > > Fixes: 4907 > > Adds support for decoding of animated WebP. > > The WebP decoder adds the animation related features according to the specs: > https://developers.google.com/speed/webp/docs/riff_container#animation > The frames of the animation may be smaller than the image canvas. > Therefore, the frame is decoded to a temporary frame, > then it is blended into the canvas, the canvas is copied to the output frame, > and finally the frame is disposed from the canvas. > > The output to AV_PIX_FMT_YUVA420P/AV_PIX_FMT_YUV420P is still supported. > The background color is specified only as BGRA in the WebP file > so it is converted to YUVA if YUV formats are output. > > Signed-off-by: Josef Zlomek <jo...@pex.com> > --- > Changelog | 1 + > libavcodec/codec_desc.c | 3 +- > libavcodec/version.h | 2 +- > libavcodec/webp.c | 710 ++++++++++++++++++++++++++++++++++++---- > 4 files changed, 653 insertions(+), 63 deletions(-) >
I'm late trying to test these. I think these need to be rebased. version.h is easy enough to skip. I didn't look at the conflict in webp.c. error: patch failed: libavcodec/version.h:30 error: libavcodec/version.h: patch does not apply error: patch failed: libavcodec/webp.c:35 error: libavcodec/webp.c: patch does not apply Patch failed at 0004 libavcodec/webp: add support for animated WebP _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".