add -y flag to overwrite any existing file
Browse files
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,
|