Spaces:
Running
Running
Update app.py
Browse files
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)
|