Skip to content

Latest commit

 

History

History
executable file
·
31 lines (22 loc) · 1.13 KB

Add_Template.md

File metadata and controls

executable file
·
31 lines (22 loc) · 1.13 KB

添加 GIF 模板

  1. 添加模板需要 加入 & 修改 以下文件(加了 * 都是必须要做的)
templates/<template_name>/template.mp4        # *视频模板
templates/<template_name>/template-small.mp4  # [兼容微信小尺寸]视频模板
templates/<template_name>/template.ass        # *字幕模板(制作方法请往下看)
  1. [必须]修改 templates/index.php 文件,该文件里有注释
templates/index.php   # 模板索引

制作字幕模板 template.ass

  1. 首先使用 aegisub 为模板视频创建字幕,保存为 template.ass(aegisub 教程可以看这个 https://tieba.baidu.com/p/1360405931

图片

  1. 然后把文本替换成模板字符串 <?=[n]=?>

图片

提交模板

如果你愿意分享出你做的模板,欢迎通过以下方式提交:

  • 发送 E-mail 到:wenzhouchan#gamil.com (# 换 @,邮件标题写 提交 GIF模板)
  • 提交 Issues
  • Pull requests
  • 加入 QQ 群: