zhangyong 1 년 전
부모
커밋
3e72f20334
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      video_agc/agc_video_method.py

+ 0 - 3
video_agc/agc_video_method.py

@@ -410,9 +410,6 @@ class AgcVidoe():
                 Common.logger("video").info(f"{mark}的{platform}渠道获取需要拼接的音频成功")
                 # 获取音频秒数
                 audio_duration = cls.get_audio_duration(audio_video)
-                if audio_duration == None:
-                    Common.logger("video").info(f"{mark}的{platform}渠道音频{audio_video}秒数为0")
-                    return ""
                 Common.logger("video").info(f"{mark}的{platform}渠道获取需要拼接的音频秒数为:{audio_duration}")
                 video_files = cls.concatenate_videos(videos, audio_duration, audio_video, platform, s_path, v_path, mark, v_oss_path)
                 if video_files == "":