zhangyong 1 tahun lalu
induk
melakukan
26a303f0d4
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      video_agc/agc_video_method.py

+ 2 - 2
video_agc/agc_video_method.py

@@ -243,9 +243,9 @@ class AgcVidoe():
             # subtitle_cmd = f"subtitles={s_path}:force_style='Fontsize=11,Fontname=Hiragino Sans GB,Outline=0,PrimaryColour=&H000000,SecondaryColour=&H000000'"
             subtitle_cmd = f"subtitles={s_path}:force_style='Fontsize=11,Fontname=wqy-zenhei,Outline=0,PrimaryColour=&H000000,SecondaryColour=&H000000'"
         else:
-            subtitle_cmd = "drawtext=text='分享、转发给群友':fontsize=50:fontcolor=black:x=(w-text_w)/2:y=h-text_h-30"
+            subtitle_cmd = "drawtext=text='分享、转发给群友':fontsize=40:fontcolor=black:x=(w-text_w)/2:y=h-text_h-30"
         # 背景色参数
-        background_cmd = "drawbox=y=ih-118:color=yellow@1.0:width=iw:height=0:t=fill"
+        background_cmd = "drawbox=y=ih-108:color=yellow@1.0:width=iw:height=0:t=fill"
         # 分辨率参数
         resolution_cmd = "-s", "480x854"
         # 多线程数