fffiloni commited on
Commit
e2f7128
1 Parent(s): cae39fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def find_scenes(video_path, threshold=27.0):
64
  frame_in = shot[0].get_frames()
65
  frame_out = shot[1].get_frames()
66
 
67
- timecodes.append({"title": filename, "total_duration": video.duration, "fps": framerate})
68
  timecode = {"tc_in": tc_in, "tc_out": tc_out, "frame_in": frame_in, "frame_out": frame_out}
69
  timecodes.append(timecode)
70
 
 
64
  frame_in = shot[0].get_frames()
65
  frame_out = shot[1].get_frames()
66
 
67
+ timecodes.append({"title": filename, "fps": framerate})
68
  timecode = {"tc_in": tc_in, "tc_out": tc_out, "frame_in": frame_in, "frame_out": frame_out}
69
  timecodes.append(timecode)
70