fffiloni commited on
Commit
c2f9f7c
1 Parent(s): 40c8cf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ def find_scenes(video_path, threshold=27.0):
17
 
18
  #print(scene_list)
19
 
20
- shot_in = int(scene_list[0][0].get_frames())
21
- shot_out = int(scene_list[0][1].get_frames())
22
  #print(shot_in, shot_out)
23
 
24
  ffmpeg_extract_subclip(video_path, shot_in, shot_out, targetname="video_out.mp4")
 
17
 
18
  #print(scene_list)
19
 
20
+ shot_in = scene_list[0][0].get_frames()
21
+ shot_out = scene_list[0][1].get_frames()
22
  #print(shot_in, shot_out)
23
 
24
  ffmpeg_extract_subclip(video_path, shot_in, shot_out, targetname="video_out.mp4")