fffiloni commited on
Commit
baba474
1 Parent(s): 3f24535

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def find_scenes(video_path, threshold=27.0):
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() / scene_list[0][0].get_framerate()
23
  #print(shot_in, shot_out)
24
 
25
  #input_video_path = video_path
 
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