Rebuild with svt-av1 4.0.1
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: ffmpeg
|
name: ffmpeg
|
||||||
description: A complete, cross-platform solution to record, convert and stream audio and video
|
description: A complete, cross-platform solution to record, convert and stream audio and video
|
||||||
version: 8.0.1
|
version: 8.0.1
|
||||||
revision: 3
|
revision: 4
|
||||||
url: https://ffmpeg.org/
|
url: https://ffmpeg.org/
|
||||||
license: GPL3-only
|
license: GPL3-only
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
From a5d4c398b411a00ac09d8fe3b66117222323844c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christopher Degawa <[email protected]>
|
||||||
|
Date: Wed, 21 Jan 2026 00:12:59 -0600
|
||||||
|
Subject: [PATCH] avcodec/libsvtav1: rename aq_mode for v4.0.0
|
||||||
|
|
||||||
|
Signed-off-by: Christopher Degawa <[email protected]>
|
||||||
|
Signed-off-by: James Almer <[email protected]>
|
||||||
|
---
|
||||||
|
libavcodec/libsvtav1.c | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c
|
||||||
|
index 7047b72422..90c61b98a1 100644
|
||||||
|
--- a/libavcodec/libsvtav1.c
|
||||||
|
+++ b/libavcodec/libsvtav1.c
|
||||||
|
@@ -237,7 +237,11 @@ static int config_enc_params(EbSvtAv1EncConfiguration *param,
|
||||||
|
} else if (svt_enc->qp > 0) {
|
||||||
|
param->qp = svt_enc->qp;
|
||||||
|
param->rate_control_mode = 0;
|
||||||
|
+#if SVT_AV1_CHECK_VERSION(4, 0, 0)
|
||||||
|
+ param->aq_mode = 0;
|
||||||
|
+#else
|
||||||
|
param->enable_adaptive_quantization = 0;
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
desc = av_pix_fmt_desc_get(avctx->pix_fmt);
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
@@ -7,6 +7,7 @@
|
|||||||
prepare() {
|
prepare() {
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
patch -Np1 -i "$BPM_WORKDIR"/chromium-fixes.patch
|
patch -Np1 -i "$BPM_WORKDIR"/chromium-fixes.patch
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/unbreak-svt-av1-4-build.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
|
|||||||
Reference in New Issue
Block a user