PR #22690 opened by David Rosca (nowrep)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22690
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22690.patch

>From spec:
  Generally, using higher video encode quality levels may produce
  higher quality video streams at the cost of additional processing time.


>From 67ecf307a566ab995f89fb7c279421a97953831a Mon Sep 17 00:00:00 2001
From: David Rosca <[email protected]>
Date: Thu, 2 Apr 2026 18:17:35 +0200
Subject: [PATCH] vulkan_encode: Fix description for quality option

>From spec:
  Generally, using higher video encode quality levels may produce
  higher quality video streams at the cost of additional processing time.
---
 libavcodec/vulkan_encode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vulkan_encode.h b/libavcodec/vulkan_encode.h
index cf5f255628..23c35898c1 100644
--- a/libavcodec/vulkan_encode.h
+++ b/libavcodec/vulkan_encode.h
@@ -203,7 +203,7 @@ typedef struct FFVulkanEncodeContext {
 
 #define VULKAN_ENCODE_COMMON_OPTIONS \
     { "qp", "Use an explicit constant quantizer for the whole stream", 
OFFSET(common.opts.qp), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 255, FLAGS }, \
-    { "quality", "Set encode quality (trades off against speed, higher is 
faster)", OFFSET(common.opts.quality), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 
INT_MAX, FLAGS }, \
+    { "quality", "Set encode quality (trades off against speed, higher is 
slower)", OFFSET(common.opts.quality), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 
INT_MAX, FLAGS }, \
     { "rc_mode", "Select rate control type", OFFSET(common.opts.rc_mode), 
AV_OPT_TYPE_INT, { .i64 = FF_VK_RC_MODE_AUTO }, 0, FF_VK_RC_MODE_AUTO, FLAGS, 
"rc_mode" }, \
         { "auto",    "Choose mode automatically based on parameters", 0, 
AV_OPT_TYPE_CONST, { .i64 = FF_VK_RC_MODE_AUTO }, INT_MIN, INT_MAX, FLAGS, 
"rc_mode" }, \
         { "driver",  "Driver-specific rate control", 0, AV_OPT_TYPE_CONST, { 
.i64 = VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DEFAULT_KHR      }, INT_MIN, INT_MAX, 
FLAGS, "rc_mode" }, \
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to