From da1ef285f1d43bd0cc8b9cdb9a0f80f7ae793a97 Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Tue, 22 Aug 2023 02:34:20 +0530 Subject: [PATCH] housekeeping --- roop/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roop/utilities.py b/roop/utilities.py index ac0ed0daa..31ba7f2f2 100644 --- a/roop/utilities.py +++ b/roop/utilities.py @@ -63,7 +63,7 @@ def create_video(target_path: str, fps: float = 30) -> bool: def restore_audio(target_path: str, output_path: str) -> None: temp_output_path = get_temp_output_path(target_path) - done = run_ffmpeg(['-hwaccel', 'auto', '-i', temp_output_path, '-i', target_path, '-c:v', 'copy', '-map', '0:v:0', '-map', '1:a:0', '-y', output_path]) + done = run_ffmpeg(['-i', temp_output_path, '-i', target_path, '-c:v', 'copy', '-map', '0:v:0', '-map', '1:a:0', '-y', output_path]) if not done: move_temp(target_path, output_path)