Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ def find_scenes(video_path, threshold=27.0):
|
|
| 61 |
|
| 62 |
|
| 63 |
# Set name template for each shot
|
| 64 |
-
target_name = "shot_" + str(i+1) + "
|
| 65 |
|
| 66 |
# Split chunk
|
| 67 |
ffmpeg_extract_subclip(video_path, shot_in, shot_out, targetname=target_name)
|
|
|
|
| 61 |
|
| 62 |
|
| 63 |
# Set name template for each shot
|
| 64 |
+
target_name = "shot_" + str(i+1) + ".mp4"
|
| 65 |
|
| 66 |
# Split chunk
|
| 67 |
ffmpeg_extract_subclip(video_path, shot_in, shot_out, targetname=target_name)
|