Explorar o código

字体大小调整

zhangyong hai 1 ano
pai
achega
2354d7818f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)