mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-01 02:24:52 +00:00
es
This commit is contained in:
parent
a7137a6857
commit
c09b9d711b
2 changed files with 1 additions and 1 deletions
BIN
assets/DejaVuSans-Bold.ttf
Normal file
BIN
assets/DejaVuSans-Bold.ttf
Normal file
Binary file not shown.
|
|
@ -14,7 +14,7 @@ def hhmmss(seconds):
|
|||
|
||||
async def take_ss(video_file):
|
||||
out_put_file_name = f"genss{str(time.time())}.png"
|
||||
cmd = f"vcsi '{video_file}' -t -w 1340 -g 4x4 --template misskaty/helper/ssgen_template.html --quality 100 --end-delay-percent 20 --metadata-font-size 30 --timestamp-font-size 20 -o {out_put_file_name}"
|
||||
cmd = f"vcsi '{video_file}' -t -w 1340 -g 4x4 --metadata-font assets/DejaVuSans-Bold.ttf --template misskaty/helper/ssgen_template.html --quality 100 --end-delay-percent 20 --metadata-font-size 30 --timestamp-font-size 20 -o {out_put_file_name}"
|
||||
await shell_exec(cmd)
|
||||
return out_put_file_name if os.path.lexists(out_put_file_name) else None
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue