@@ -25,8 +25,8 @@ class FFmpeg():
duration_url = video_path + str(video_id) + 'duration.mp4'
# 获取视频时长
total_duration = cls.get_video_duration(video_url)
- if int(total_duration) > 300:
- total_duration = 300
+ if int(total_duration) > 290:
+ total_duration = 290
ffmpeg_cmd = [
"ffmpeg",
"-i", video_url,