fffiloni commited on
Commit
c9bf112
·
1 Parent(s): 695d1b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -57,10 +57,7 @@ def find_scenes(video_path, threshold=27.0):
57
  shot_in = shot[0].get_frames() / framerate
58
  shot_out = shot[1].get_frames() / framerate
59
 
60
- tc_in = shot[0].get_timecode()
61
- tc_out = shot[0].get_timecode()
62
 
63
- print(str(tc_in) + "_" + str(tc_out))
64
 
65
  # Set name template for each shot
66
  target_name = "shot_" + str(i+1) + str(os.path.splitext(video_path)[0]) + ".mp4"
 
57
  shot_in = shot[0].get_frames() / framerate
58
  shot_out = shot[1].get_frames() / framerate
59
 
 
 
60
 
 
61
 
62
  # Set name template for each shot
63
  target_name = "shot_" + str(i+1) + str(os.path.splitext(video_path)[0]) + ".mp4"