Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -412,8 +412,8 @@ def propagate_to_all(video_in, checkpoint, stored_inference_state, stored_frame_
|
|
412 |
elif vis_frame_type == "render":
|
413 |
# Create a video clip from the image sequence
|
414 |
original_fps = get_video_fps(video_in)
|
415 |
-
sampled_images = sparse_sampling(jpeg_images, original_fps, target_fps=6)
|
416 |
-
clip = ImageSequenceClip(
|
417 |
# clip = ImageSequenceClip(jpeg_images, fps=fps)
|
418 |
# Write the result to a file
|
419 |
final_vid_output_path = "output_video.mp4"
|
|
|
412 |
elif vis_frame_type == "render":
|
413 |
# Create a video clip from the image sequence
|
414 |
original_fps = get_video_fps(video_in)
|
415 |
+
# sampled_images = sparse_sampling(jpeg_images, original_fps, target_fps=6)
|
416 |
+
clip = ImageSequenceClip(jpeg_images, fps=original_fps//6)
|
417 |
# clip = ImageSequenceClip(jpeg_images, fps=fps)
|
418 |
# Write the result to a file
|
419 |
final_vid_output_path = "output_video.mp4"
|