fffiloni commited on
Commit
190fc64
1 Parent(s): 40fe7c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -61,7 +61,10 @@ def find_scenes(video_path, threshold=27.0):
61
  tc_in = shot[0].get_timecode()
62
  tc_out = shot[1].get_timecode()
63
 
64
- timecode = ["shot " + str(i+1) + " " + str(tc_in) + " -› " + str(tc_out) ]
 
 
 
65
  timecodes.append(timecode)
66
 
67
  # Set name template for each shot
 
61
  tc_in = shot[0].get_timecode()
62
  tc_out = shot[1].get_timecode()
63
 
64
+ frame_in = shot[0].get_frames()
65
+ frame_out = shot[1].get_frames()
66
+
67
+ timecode = "shot " + str(i+1) + ": " + str(tc_in) + " -› " + str(tc_out) + " | frames: " + str(frame_in) + " -› " str(frame_out)
68
  timecodes.append(timecode)
69
 
70
  # Set name template for each shot