fffiloni commited on
Commit
2893412
1 Parent(s): baba474

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ def find_scenes(video_path, threshold=27.0):
18
 
19
  #print(scene_list)
20
 
21
- shot_in = scene_list[0][0].get_frames() / scene_list[0][0].get_framerate()
22
- shot_out = (scene_list[0][1].get_frames() - 1) / scene_list[0][0].get_framerate()
23
  #print(shot_in, shot_out)
24
 
25
  #input_video_path = video_path
 
18
 
19
  #print(scene_list)
20
 
21
+ shot_in = scene_list[1][0].get_frames() / scene_list[1][0].get_framerate()
22
+ shot_out = (scene_list[1][1].get_frames() - 1) / scene_list[1][0].get_framerate()
23
  #print(shot_in, shot_out)
24
 
25
  #input_video_path = video_path