zhangyong 1 year ago
parent
commit
9a2907382c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      video_agc/agc_video_method.py

+ 1 - 1
video_agc/agc_video_method.py

@@ -293,7 +293,7 @@ class AgcVidoe():
     def concat_videos_with_subtitles(cls, videos, audio_duration, platform, mark):
         # 计算视频文件列表总时长
         total_video_duration = sum(cls.get_video_duration(video_file[3]) for video_file in videos)
-        if platform == "koubo":
+        if platform == "koubo" or platform == "zhannei":
             # 视频时长大于音频时长
             if total_video_duration > audio_duration:
                 return videos