[FFmpeg-devel] [PATCH v5 2/2] libavformat/webp: add WebP demuxer

Lynne dev at lynne.ee
Sat Sep 12 16:00:59 EEST 2020


On 11/09/2020 08:36, Josef Zlomek wrote:
> Adds the demuxer of animated WebP files.
> It supports non-animated, animated, truncated, and concatenated files.
> Reading from a pipe (and other non-seekable inputs) is also supported.
> 
> The WebP demuxer splits the input stream into packets containing one frame.
> It also marks the key frames properly.
> The loop count is ignored by default (same behaviour as animated PNG and GIF),
> it may be enabled by the option '-ignore_loop 0'.
> 
> The frame rate is set according to the frame delay in the ANMF chunk.
> If the delay is too low, or the image is not animated, the default frame rate
> is set to 10 fps, similarly to other WebP libraries and browsers.
> The fate suite was updated accordingly.
> 
> Signed-off-by: Josef Zlomek <josef at pex.com>
Can someone take a look at the demuxer? I'd rather not apply the decoder
without the demuxer, and lavf isn't my specialty.


More information about the ffmpeg-devel mailing list