FarhadMadadzade
commited on
Commit
•
48d7752
1
Parent(s):
08c869e
fixed path bug
Browse files
app.py
CHANGED
@@ -77,8 +77,8 @@ def process_video(date):
|
|
77 |
|
78 |
# Extract the first 30 seconds of the video
|
79 |
short_video_path = f"short_{date}.mp4"
|
80 |
-
video_path = short_video_path
|
81 |
ffmpeg_extract_subclip(video_path, 0, 30, targetname=short_video_path)
|
|
|
82 |
|
83 |
# Extract audio from the short video
|
84 |
audio_path = f"audio_{date}.wav"
|
|
|
77 |
|
78 |
# Extract the first 30 seconds of the video
|
79 |
short_video_path = f"short_{date}.mp4"
|
|
|
80 |
ffmpeg_extract_subclip(video_path, 0, 30, targetname=short_video_path)
|
81 |
+
video_path = short_video_path
|
82 |
|
83 |
# Extract audio from the short video
|
84 |
audio_path = f"audio_{date}.wav"
|