From 38d06bcadf5741c328ac7003d565ebf06b73e02d Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Wed, 8 Jun 2022 21:16:37 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9AassTools=E7=94=9F=E6=88=90=E5=AD=97?= =?UTF-8?q?=E5=B9=95=E8=BF=87=E9=AB=98=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/bilibili/Tools/AssTools.java | 4 ++-- src/main/java/com/yutou/bilibili/Tools/DanmuTools.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/yutou/bilibili/Tools/AssTools.java b/src/main/java/com/yutou/bilibili/Tools/AssTools.java index 653326f..9700ccf 100644 --- a/src/main/java/com/yutou/bilibili/Tools/AssTools.java +++ b/src/main/java/com/yutou/bilibili/Tools/AssTools.java @@ -149,9 +149,9 @@ public class AssTools { private void addY() { - y += 30; + y += 45; if (y >= 1080) { - y = 30; + y = 45; } } diff --git a/src/main/java/com/yutou/bilibili/Tools/DanmuTools.java b/src/main/java/com/yutou/bilibili/Tools/DanmuTools.java index fd1cee6..77e68a6 100644 --- a/src/main/java/com/yutou/bilibili/Tools/DanmuTools.java +++ b/src/main/java/com/yutou/bilibili/Tools/DanmuTools.java @@ -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, "老板大气!点点红包抽礼物!"); } }