Files
nvidia-patch/tools/patch-tester/patch-tester.sh
2025-12-11 12:56:46 +05:30

20 lines
748 B
Bash
Executable File

#!/usr/bin/env bash
ffmpeg -y -vsync 0 \
-hwaccel cuda -hwaccel_output_format cuda \
-f lavfi -i testsrc -t 50 \
\
-c:a copy -c:v h264_nvenc -b:v 1M -f null - \
-c:a copy -c:v h264_nvenc -b:v 2M -f null - \
-c:a copy -c:v h264_nvenc -b:v 3M -f null - \
-c:a copy -c:v h264_nvenc -b:v 4M -f null - \
-c:a copy -c:v h264_nvenc -b:v 5M -f null - \
-c:a copy -c:v h264_nvenc -b:v 6M -f null - \
-c:a copy -c:v h264_nvenc -b:v 7M -f null - \
-c:a copy -c:v h264_nvenc -b:v 8M -f null - \
-c:a copy -c:v h264_nvenc -b:v 9M -f null - \
-c:a copy -c:v h264_nvenc -b:v 10M -f null - \
-c:a copy -c:v h264_nvenc -b:v 11M -f null - \
-c:a copy -c:v h264_nvenc -b:v 12M -f null - \
-c:a copy -c:v h264_nvenc -b:v 13M -f null -