Update animate.py
Browse files- animate.py +1 -1
animate.py
CHANGED
@@ -213,7 +213,7 @@ def get_video_frames(
|
|
213 |
def create_mp4_with_audio(frames, cv2_images, duration, audio, output_path):
|
214 |
vid_output_dir = output_path.parent
|
215 |
temp_vid_path = Path(vid_output_dir / "TEMP.mp4")
|
216 |
-
mediapy.write_video(temp_vid_path, frames, fps=
|
217 |
print(
|
218 |
f"TYPES....{type(cv2_images[0])},{type(cv2_images[1])} SHAPES{cv2_images[0].shape} Img {cv2_images[0]}"
|
219 |
)
|
|
|
213 |
def create_mp4_with_audio(frames, cv2_images, duration, audio, output_path):
|
214 |
vid_output_dir = output_path.parent
|
215 |
temp_vid_path = Path(vid_output_dir / "TEMP.mp4")
|
216 |
+
mediapy.write_video(temp_vid_path, frames, fps=10)
|
217 |
print(
|
218 |
f"TYPES....{type(cv2_images[0])},{type(cv2_images[1])} SHAPES{cv2_images[0].shape} Img {cv2_images[0]}"
|
219 |
)
|