[FFmpeg-cvslog] avcodec/nvenc: update minimum driver version list

Timo Rothenpieler git at videolan.org
Sun Mar 31 22:44:11 EEST 2024


ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Sun Mar 31 21:43:01 2024 +0200| [c06e9e289f1e26b779ea46e435ed0ad243a2cd0d] | committer: Timo Rothenpieler

avcodec/nvenc: update minimum driver version list

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c06e9e289f1e26b779ea46e435ed0ad243a2cd0d
---

 libavcodec/nvenc.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index d121442957..05cb148504 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -242,8 +242,20 @@ static void nvenc_map_preset(NvencContext *ctx)
 
 static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level)
 {
-#if NVENCAPI_CHECK_VERSION(12, 1)
+#if NVENCAPI_CHECK_VERSION(12, 3)
     const char *minver = "(unknown)";
+#elif NVENCAPI_CHECK_VERSION(12, 2)
+# if defined(_WIN32) || defined(__CYGWIN__)
+    const char *minver = "551.76";
+# else
+    const char *minver = "550.54.14";
+# endif
+#elif NVENCAPI_CHECK_VERSION(12, 1)
+# if defined(_WIN32) || defined(__CYGWIN__)
+    const char *minver = "531.61";
+# else
+    const char *minver = "530.41.03";
+# endif
 #elif NVENCAPI_CHECK_VERSION(12, 0)
 # if defined(_WIN32) || defined(__CYGWIN__)
     const char *minver = "522.25";



More information about the ffmpeg-cvslog mailing list