Updated Verify NVENC patch (markdown)

Jai Luthra 2023-04-08 01:02:49 +05:30
parent 4cdc72a0f7
commit 073a354887

@ -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 ^