ソースを参照

字体大小调整

zhangyong 1 年間 前
コミット
2354d7818f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      video_stitching/video_stitching.py

+ 1 - 1
video_stitching/video_stitching.py

@@ -202,7 +202,7 @@ class VideoStitching():
                 # /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc 服务器地址
                 Common.logger().info(f"字幕:{text}")
                 sub = editor.TextClip(text, font="/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc",
-                                      fontsize=30, color="black").set_duration(end - start).set_start(
+                                      fontsize=18, color="black").set_duration(end - start).set_start(
                     start).set_position(
                     ("center", final_height - 60)).set_opacity(0.8)
                 subtitle_clips.append(sub)