Skip to content

Commit

Permalink
housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
s0md3v committed Aug 21, 2023
1 parent 1a449b7 commit da1ef28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roop/utilities.py
Expand Up @@ -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)

Expand Down

1 comment on commit da1ef28

@aneesh07482
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.