mirror of
				https://github.com/keylase/nvidia-patch.git
				synced 2025-10-31 04:31:56 +00:00 
			
		
		
		
	Add tester scripts
Adds tester scripts to verify patching was completed successfully.
This commit is contained in:
		
							
								
								
									
										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 - | ||||
		Reference in New Issue
	
	Block a user
	 OMEGARAZER
					OMEGARAZER