FarhadMadadzade
commited on
Commit
•
d989d14
1
Parent(s):
43ca182
only 30 seconds worked
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def process_video(date):
|
|
26 |
|
27 |
# Extract the first 30 seconds of the video
|
28 |
short_video_path = f"short_{date}.mp4"
|
29 |
-
ffmpeg_extract_subclip(video_path, 0,
|
30 |
video_path = short_video_path
|
31 |
|
32 |
# Extract audio from the short video
|
|
|
26 |
|
27 |
# Extract the first 30 seconds of the video
|
28 |
short_video_path = f"short_{date}.mp4"
|
29 |
+
ffmpeg_extract_subclip(video_path, 0, 30, targetname=short_video_path)
|
30 |
video_path = short_video_path
|
31 |
|
32 |
# Extract audio from the short video
|