fffiloni commited on
Commit
95eab87
1 Parent(s): c7f0cc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -12,7 +12,11 @@ def find_scenes(video_path, threshold=27.0):
12
  ContentDetector(threshold=threshold))
13
  scene_manager.detect_scenes(video, show_progress=True)
14
  scene_list = scene_manager.get_scene_list()
15
- split_video_ffmpeg(video_path, scene_list, show_progress=True)
 
 
 
 
16
 
17
  return scene_list
18
 
 
12
  ContentDetector(threshold=threshold))
13
  scene_manager.detect_scenes(video, show_progress=True)
14
  scene_list = scene_manager.get_scene_list()
15
+
16
+ #create video from scene list
17
+
18
+ start_sec = int(scene_list[0][0]['frame_num'])
19
+ print(start_sec)
20
 
21
  return scene_list
22