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