[FFmpeg-devel] [PATCH v4 1/2] libavcodec/webp: add support for animated WebP decoding
Lynne
dev at lynne.ee
Fri Sep 4 01:59:46 EEST 2020
Aug 28, 2020, 06:23 by josef at pex.com:
> Fixes: 4907
>
> Adds support for decoding of animated WebP.
>
> The WebP parser now splits the input stream into packets containing one frame.
>
> 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 <> josef at pex.com> >
>
Sorry it took me so long to get to this.
Took a look and the patch looks fine to me.
Will apply in a few days unless someone else has comments or I find something I
missed. Its not a small patch after all.
More information about the ffmpeg-devel
mailing list