nvidia-patch/tools/patch-tester/patch-tester.sh
OMEGARAZER 0af16f318a
Add tester scripts
Adds tester scripts to verify patching was completed successfully.
2023-04-03 22:12:36 -04:00

4 lines
450 B
Bash
Executable File

#!/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 -