From 073a354887cacc7811c68d20aae7ee0851551b11 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Sat, 8 Apr 2023 01:02:49 +0530 Subject: [PATCH] Updated Verify NVENC patch (markdown) --- Verify-NVENC-patch.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Verify-NVENC-patch.md b/Verify-NVENC-patch.md index c76d49e..188f1b1 100644 --- a/Verify-NVENC-patch.md +++ b/Verify-NVENC-patch.md @@ -1,6 +1,11 @@ From [@lars18th](https://github.com/keylase/nvidia-patch/issues/491) and [@reloxx13](https://github.com/keylase/nvidia-patch/issues/544#issuecomment-1170310363) ### Linux +Run the patch tester script: +``` +tools/patch-tester/patch-tester.sh +``` +Or alternatively directly run the following ffmpeg command: ``` ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda \ -f lavfi -i testsrc -t 50 \ @@ -16,7 +21,12 @@ This only requires to have installed a recent ffmpeg version compiled with nvenc ### Windows -ffmpeg download https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z +Download FFmpeg from: https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z + +Then run the patch tester [BAT](https://github.com/keylase/nvidia-patch/raw/master/win/tools/patch-tester/patch-tester.bat) or [PowerShell](https://github.com/keylase/nvidia-patch/raw/master/win/tools/patch-tester/patch-tester.ps1) script found in the `win/tools/patch-tester` directory. + +Or alternatively manually run the following command: + ``` ffmpeg.exe -y -hwaccel cuda -hwaccel_output_format cuda ^ -f lavfi -i testsrc -t 50 ^