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)