mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-22 13:37:27 +00:00
Add tester scripts
Adds tester scripts to verify patching was completed successfully.
This commit is contained in:
parent
c15a18c217
commit
0af16f318a
3
tools/patch-tester/patch-tester.sh
Executable file
3
tools/patch-tester/patch-tester.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -f lavfi -i testsrc -t 50 -vf hwupload -c:a copy -c:v h264_nvenc -b:v 4M -f null - -vf hwupload -c:a copy -c:v h264_nvenc -b:v 1M -f null - -vf hwupload -c:a copy -c:v h264_nvenc -b:v 8M -f null - -vf hwupload -c:a copy -c:v h264_nvenc -b:v 6M -f null - -vf hwupload -c:a copy -c:v h264_nvenc -b:v 5M -f null - -vf hwupload -c:a copy -c:v h264_nvenc -b:v 7M -f null -
|
3
win/tools/patch-tester/patch-tester.bat
Executable file
3
win/tools/patch-tester/patch-tester.bat
Executable file
@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
|
||||
ffmpeg.exe -y -hwaccel cuda -hwaccel_output_format cuda -f lavfi -i testsrc -t 50 -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 4M -f null - -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 1M -f null - -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 8M -f null - -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 6M -f null - -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 5M -f null - -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 7M -f null -
|
3
win/tools/patch-tester/patch-tester.ps1
Executable file
3
win/tools/patch-tester/patch-tester.ps1
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
ffmpeg.exe -y -hwaccel cuda -hwaccel_output_format cuda -f lavfi -i testsrc -t 50 -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 4M -f null - -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 1M -f null - -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 8M -f null - -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 6M -f null - -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 5M -f null - -vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 7M -f null -
|
Loading…
Reference in New Issue
Block a user