Fix log level

This commit is contained in:
Jose Manuel 2023-06-02 21:19:28 +02:00
parent 338ea8f50b
commit 107259474f

View File

@ -31,7 +31,7 @@ def detect_fps(input_path):
def run_ffmpeg(args): def run_ffmpeg(args):
hwaccel_option = '-hwaccel cuda' if roop.globals.use_gpu else '' hwaccel_option = '-hwaccel cuda' if roop.globals.use_gpu else ''
log_level = '-loglevel {roop.globals.log_level}' log_level = f'-loglevel {roop.globals.log_level}'
os.system(f'ffmpeg {hwaccel_option} {log_level} {args}') os.system(f'ffmpeg {hwaccel_option} {log_level} {args}')