[FFmpeg-devel] [PATCH 16/19] lavc/libwebpenc_animencoder: handle frame durations and AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE

Michael Niedermayer michael at niedermayer.cc
Wed Jan 25 22:51:30 EET 2023


On Wed, Jan 25, 2023 at 05:55:34PM +0100, Anton Khirnov wrote:
> ---
>  libavcodec/libwebpenc_animencoder.c | 35 +++++++++++++++++++++++++++--
>  1 file changed, 33 insertions(+), 2 deletions(-)

breaks:
ffmpeg  -i lena.pnm -bitexact -y /tmp/file.webp
...
[libwebp_anim @ 0x2d19bdc0] Using libwebp for RGB-to-YUV conversion. You may want to consider passing in YUV instead for lossy encoding.
==11922== Invalid read of size 8
==11922==    at 0x99F606: libwebp_anim_encode_frame (in ffmpeg_g)
==11922==    by 0x86EA44: ff_encode_encode_cb (in ffmpeg_g)
==11922==    by 0x86EE59: encode_receive_packet_internal (in ffmpeg_g)
==11922==    by 0x86F04F: avcodec_send_frame (in ffmpeg_g)
==11922==    by 0x30EDB2: encode_frame (in ffmpeg_g)
==11922==    by 0x3185A8: transcode (in ffmpeg_g)
==11922==    by 0x2EDD63: main (in ffmpeg_g)
==11922==  Address 0x88 is not stack'd, malloc'd or (recently) free'd


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230125/403a92d2/attachment.sig>


More information about the ffmpeg-devel mailing list