diff --git a/transcode_bench.py b/transcode_bench.py index 03c672b..1ac4181 100755 --- a/transcode_bench.py +++ b/transcode_bench.py @@ -194,7 +194,7 @@ class HardwareAcceleration: if not os.access(device, os.R_OK | os.W_OK): return (False, f"VA-API device {device} exists but not accessible. Run: sudo usermod -a -G render $USER (then logout/login)", - '') + '', '', False) # Test VA-API for both encoding and decoding try: @@ -528,7 +528,7 @@ def main(): try: # Run benchmark - benchmark = Benchmark(test_video, encoder, hwaccel_args, accel_name) + benchmark = Benchmark(test_video, encoder, hwaccel_args, accel_name, hw_decode) max_streams = benchmark.find_max_streams(args.min_fps) # Display results