diff --git a/tools/patch-tester/patch-tester.sh b/tools/patch-tester/patch-tester.sh index 43f9237..464b722 100755 --- a/tools/patch-tester/patch-tester.sh +++ b/tools/patch-tester/patch-tester.sh @@ -1,3 +1,19 @@ #!/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 - +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 - diff --git a/win/tools/patch-tester/patch-tester.bat b/win/tools/patch-tester/patch-tester.bat index 173bc56..6e205b9 100755 --- a/win/tools/patch-tester/patch-tester.bat +++ b/win/tools/patch-tester/patch-tester.bat @@ -1,12 +1,16 @@ @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 1M -f null - ^ --vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 2M -f null - ^ --vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 3M -f null - ^ --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 5M -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 7M -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 9M -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 2M -f null - ^ +-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 3M -f null - ^ +-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 5M -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 7M -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 9M -f null - ^ +-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 10M -f null - ^ +-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 11M -f null - ^ +-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 12M -f null - ^ +-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 13M -f null - diff --git a/win/tools/patch-tester/patch-tester.ps1 b/win/tools/patch-tester/patch-tester.ps1 index 7b77a12..181a540 100755 --- a/win/tools/patch-tester/patch-tester.ps1 +++ b/win/tools/patch-tester/patch-tester.ps1 @@ -1,12 +1,16 @@ #!/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 1M -f null - ` --vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 2M -f null - ` --vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 3M -f null - ` --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 5M -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 7M -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 9M -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 2M -f null - ` +-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 3M -f null - ` +-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 5M -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 7M -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 9M -f null - ` +-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 10M -f null - ` +-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 11M -f null - ` +-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 12M -f null - ` +-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 13M -f null -