zhangyong 1 سال پیش
والد
کامیت
d2db191086
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      video_stitching/video_stitching.py

+ 1 - 1
video_stitching/video_stitching.py

@@ -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