fix:assTools生成字幕过高问题

This commit is contained in:
Yutousama 2022-06-08 21:16:37 +08:00
parent 3f785b577f
commit 38d06bcadf
2 changed files with 4 additions and 4 deletions

View File

@ -149,9 +149,9 @@ public class AssTools {
private void addY() {
y += 30;
y += 45;
if (y >= 1080) {
y = 30;
y = 45;
}
}

View File

@ -59,8 +59,8 @@ public class DanmuTools {
}
public static void main(String[] args) {
File live = new File("Z:\\BiliBiliLive\\live\\2022-04-24\\[2022-04-24 213155]1022.mp4");
File danmu = new File("Z:\\BiliBiliLive\\live\\2022-04-24\\[2022-04-24]1022.db");
File live = new File("Z:\\download\\演唱会or录播\\2022年2月11日Liyuu_1st演唱会\\[2022-02-11 163454]5265.mp4");
File danmu = new File("Z:\\download\\演唱会or录播\\2022年2月11日Liyuu_1st演唱会\\[2022-02-11]5265.db");
danmuToAss(live, danmu,true, "老板大气!点点红包抽礼物!");
}
}