Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ def find_scenes(video_path, threshold=27.0):
|
|
| 25 |
#output_video_path = 'video_out.mp4'
|
| 26 |
|
| 27 |
output_video_path = ffmpeg_extract_subclip(video_path, shot_in, shot_out, targetname="output_video.mp4")
|
| 28 |
-
|
| 29 |
return scene_list, output_video_path
|
| 30 |
|
| 31 |
video_input=gr.Video(source="upload", format="mp4", mirror_webcam="False");
|
|
|
|
| 25 |
#output_video_path = 'video_out.mp4'
|
| 26 |
|
| 27 |
output_video_path = ffmpeg_extract_subclip(video_path, shot_in, shot_out, targetname="output_video.mp4")
|
| 28 |
+
print(output_video_path)
|
| 29 |
return scene_list, output_video_path
|
| 30 |
|
| 31 |
video_input=gr.Video(source="upload", format="mp4", mirror_webcam="False");
|