AashishNKumar commited on
Commit
c131eab
·
verified ·
1 Parent(s): 385be90

add -y flag to overwrite any existing file

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -169,6 +169,7 @@ def frames_to_video(frame_dir, output_video, fps):
169
  "libx264",
170
  "-pix_fmt",
171
  "yuv420p",
 
172
  output_video,
173
  ],
174
  check=True,
 
169
  "libx264",
170
  "-pix_fmt",
171
  "yuv420p",
172
+ "-y",
173
  output_video,
174
  ],
175
  check=True,