Files
FFmpeg/libavcodec
Werner Robitza 5ba2525c7a avcodec/libsvtav1: enable 2-pass encoding
This patch enables two-pass encoding for libsvtav1 by implementing
support for AV_CODEC_FLAG_PASS1 and AV_CODEC_FLAG_PASS2.

Previously, users requiring two-pass encoding with SVT-AV1 had to use
the standalone SvtAv1EncApp tool. This patch allows 2-pass encoding
directly through FFmpeg.

Based on patch by Fredrik Lundkvist, with review feedback from James
Almer and Andreas Rheinhardt.
See: https://ffmpeg.org/pipermail/ffmpeg-devel/2024-May/327452.html

Changes:

- Use AV_BASE64_DECODE_SIZE macro for buffer size calculation
- Allocate own buffer for rc_stats_buffer (non-ownership pointer)
- Error handling with buffer cleanup

Signed-off-by: Werner Robitza <werner.robitza@gmail.com>
2026-02-25 16:43:53 +01:00
..
2026-02-12 00:56:21 +00:00
2025-12-13 18:45:17 -03:00
2025-12-13 18:45:17 -03:00
2025-11-26 15:16:42 +01:00
2025-11-08 18:48:54 +01:00
2026-02-23 01:44:49 +00:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2025-11-26 15:16:43 +01:00
2026-02-23 23:58:11 +01:00
2025-12-13 18:45:17 -03:00
2025-12-30 17:30:45 +00:00
2026-01-02 18:39:48 +01:00
2025-12-13 18:45:17 -03:00
2026-01-10 22:47:22 +01:00
2026-02-04 12:05:35 +08:00
2026-02-04 12:05:35 +08:00
2026-02-11 20:35:20 +00:00
2026-02-19 22:39:35 +00:00
2025-11-27 11:34:25 +01:00
2025-12-30 14:39:08 -05:00
2025-12-30 14:39:08 -05:00
2026-02-23 15:29:27 +00:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00