|
@@ -18,7 +18,8 @@ from common.aliyun_oss_uploading import Oss
|
|
from common.common import Common
|
|
from common.common import Common
|
|
from common.db import MysqlHelper
|
|
from common.db import MysqlHelper
|
|
from common.material import Material
|
|
from common.material import Material
|
|
-from moviepy.editor import VideoFileClip, concatenate_videoclips
|
|
|
|
|
|
+from moviepy.editor import concatenate_videoclips
|
|
|
|
+from moviepy.video.io.VideoFileClip import VideoFileClip
|
|
from moviepy import editor
|
|
from moviepy import editor
|
|
|
|
|
|
|
|
|
|
@@ -260,9 +261,7 @@ class VideoStitching():
|
|
Common.logger().info(
|
|
Common.logger().info(
|
|
f"未登录,请更换cookie,{data}")
|
|
f"未登录,请更换cookie,{data}")
|
|
Feishu.bot('recommend', '管理后台', '管理后台cookie失效,请及时更换~')
|
|
Feishu.bot('recommend', '管理后台', '管理后台cookie失效,请及时更换~')
|
|
- # 如果返回空信息,则随机睡眠 600, 1200 秒
|
|
|
|
- time.sleep(random.randint(600, 1200))
|
|
|
|
- cls.video_stitching()
|
|
|
|
|
|
+ return ""
|
|
audio_url = data["content"]["transedVideoPath"]
|
|
audio_url = data["content"]["transedVideoPath"]
|
|
print(audio_url)
|
|
print(audio_url)
|
|
return audio_url
|
|
return audio_url
|