FarhadMadadzade commited on
Commit
e43698b
·
1 Parent(s): 17c812b

trying with longer video

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def process_video(date):
25
 
26
  # Extract the first 30 seconds of the video
27
  short_video_path = f"short_{date}.mp4"
28
- ffmpeg_extract_subclip(video_path, 0, 30, targetname=short_video_path)
29
  video_path = short_video_path
30
 
31
  # Extract audio from the short video
 
25
 
26
  # Extract the first 30 seconds of the video
27
  short_video_path = f"short_{date}.mp4"
28
+ ffmpeg_extract_subclip(video_path, 0, 60, targetname=short_video_path)
29
  video_path = short_video_path
30
 
31
  # Extract audio from the short video