Skip to content

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

write_videofile set fps=30

harry52b92d175d50
diff --git a/app/services/video.py b/app/services/video.py
index e05dc123..8a5ccc2a 100644
--- a/app/services/video.py
+++ b/app/services/video.py
@@ -108,6 +108,7 @@ def combine_videos(combined_video_path: str,
logger=None,
temp_audiofile_path=output_dir,
audio_codec="aac",
+ fps=30,
)
logger.success(f"completed")
return combined_video_path
@@ -255,7 +256,9 @@ def generate_video(video_path: str,
audio_codec="aac",
temp_audiofile_path=output_dir,
threads=params.n_threads or 2,
- logger=None)
+ logger=None,
+ fps=30,
+ )
logger.success(f"completed")