fffiloni commited on
Commit
d408c45
1 Parent(s): 85e03a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def find_scenes(video_path, threshold):
72
  timecodes.append(timecode)
73
 
74
  # Set name template for each shot
75
- target_name = "shot_" + str(i+1) + "_" + filename + ".mp4"
76
 
77
  # Split chunk
78
  ffmpeg_extract_subclip(video_path, shot_in, shot_out, targetname=target_name)
 
72
  timecodes.append(timecode)
73
 
74
  # Set name template for each shot
75
+ target_name = "shot_" + str(i+1) + "_" + str(filename) + ".mp4"
76
 
77
  # Split chunk
78
  ffmpeg_extract_subclip(video_path, shot_in, shot_out, targetname=target_name)