Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def find_scenes(video_path, threshold=27.0):
|
|
27 |
# ffmpeg_extract_subclip("full.mp4", start_seconds, end_seconds, targetname="cut.mp4")
|
28 |
ffmpeg_extract_subclip(video_path, shot_in, shot_out, targetname="cut.mp4")
|
29 |
#print(output_video_path)
|
30 |
-
return scene_list, "cut.mp4"
|
31 |
|
32 |
video_input=gr.Video(source="upload", format="mp4", mirror_webcam="False");
|
33 |
|
|
|
27 |
# ffmpeg_extract_subclip("full.mp4", start_seconds, end_seconds, targetname="cut.mp4")
|
28 |
ffmpeg_extract_subclip(video_path, shot_in, shot_out, targetname="cut.mp4")
|
29 |
#print(output_video_path)
|
30 |
+
return scene_list, ["cut.mp4", "cut.mp4"]
|
31 |
|
32 |
video_input=gr.Video(source="upload", format="mp4", mirror_webcam="False");
|
33 |
|