Skip to content

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

write_videofile disable logger

harrydbc1922f190c
diff --git a/app/services/video.py b/app/services/video.py
index 2f8fdbd4..c2bd304c 100644
--- a/app/services/video.py
+++ b/app/services/video.py
@@ -92,7 +92,8 @@ def combine_videos(combined_video_path: str,
final_clip = concatenate_videoclips(clips)
final_clip = final_clip.set_fps(30)
logger.info(f"writing")
- final_clip.write_videofile(combined_video_path, threads=threads)
+ # https://github.com/harry0703/MoneyPrinterTurbo/issues/111#issuecomment-2032354030
+ final_clip.write_videofile(combined_video_path, threads=threads, logger=None)
logger.success(f"completed")
return combined_video_path