|
@@ -213,7 +213,7 @@ class VideoStitching():
|
|
|
video_with_subtitles = editor.CompositeVideoClip([final_clip, text_clip])
|
|
|
|
|
|
# 生成视频
|
|
|
- video_with_subtitles.write_videofile(output_path, codec='libx264', fps=30, threads=4)
|
|
|
+ video_with_subtitles.write_videofile(output_path, codec='libx264', fps=24)
|
|
|
if os.path.isfile(output_path):
|
|
|
Common.logger().info("视频生成成功!生成路径为:", output_path)
|
|
|
return included_videos
|