zhangyong 1 år sedan
förälder
incheckning
5454892d3f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      video_stitching/video_stitching.py

+ 1 - 1
video_stitching/video_stitching.py

@@ -221,7 +221,7 @@ class VideoStitching():
             # 把 `文本剪贴板` 贴在视频上
             # 把 `文本剪贴板` 贴在视频上
             video_with_subtitles = editor.CompositeVideoClip([final_clip, text_clip])
             video_with_subtitles = editor.CompositeVideoClip([final_clip, text_clip])
         # 生成视频
         # 生成视频
-        video_with_subtitles.write_videofile(output_path, fps=30)
+        video_with_subtitles.write_videofile(output_path, fps=40)
         if os.path.isfile(output_path):
         if os.path.isfile(output_path):
             Common.logger().info("视频生成成功!生成路径为:", output_path)
             Common.logger().info("视频生成成功!生成路径为:", output_path)
             return included_videos, video_with_subtitles
             return included_videos, video_with_subtitles