♿otto-hzys - 电棍の活字印刷插件♿
-
2024-08-23 09:05:33 I/otto-hzys: 阿洛娜杂项-活字印刷
2024-08-23 09:05:33 I/stdout: result:我爱你
2024-08-23 09:05:33 I/stdout: [wo, ai, ni, ^]
2024-08-23 09:05:33 W/stderr: Exception in thread "Thread-12" java.lang.RuntimeException: 执行失败!java.lang.Process$PipeInputStream@69482750
2024-08-23 09:05:33 W/stderr: at otto-hzys-1.0.1.mirai2.jar//cn.travellerr.Hzys.lambda$gen$1(Hzys.java:102)
2024-08-23 09:05:33 W/stderr: at java.base/java.lang.Thread.run(Thread.java:842)这个是啥意思,用的是ffmpeg
-
@AirJM 请问使用的系统是什么?
-
请问是不是资源包内的语音少了个“shei.wav“的文件呢,合成的时候报错了
-
@XBWFDJ 是这样的,其实缺很多拼音的文件,但不太好找到。解决方法是找一个发音差不多的切片复制一份改成
shei.wav
放到对应目录下就行 -
出现了一个问题,ffmprg已经正确设置系统环境路径以及音频合成的前置插件,但是似乎otto插件更想用ffmpeg但是调用ffmpeg会出现拒绝访问的问题
2024-11-10 23:18:01 I/otto-hzys: 阿洛娜杂项-活字印刷 2024-11-10 23:18:01 I/stdout: result:原神2024-11-10 23:18:01 I/stdout: [yuan, shen, ^] 2024-11-10 23:18:01 I/otto-hzys: 阿洛娜杂项-开始转换 wav -> amr 2024-11-10 23:18:01 W/otto-hzys: Exception in executing command `[mirai:source:ids=[314849279], internalIds=[314849279], from group 3530611703 to 616614136 at 1731251]/活字印刷 原神` command owned by otto-hzys v1.0.2 with NormalMember(3530611703) java.lang.RuntimeException: java.io.IOException: Cannot run program "D:\ffmpeg-master-latest-win64-gpl\bin": CreateProcess error=5, 拒绝访问。 at otto-hzys-1.0.2.mirai2.jar//cn.travellerr.Hzys.gen(Hzys.java:113) at otto-hzys-1.0.2.mirai2.jar//cn.travellerr.Hzys.info(Hzys.java:40) at otto-hzys-1.0.2.mirai2.jar//cn.travellerr.command.GenerateHzys.useVoice(CommandUtil.kt:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:159) at kotlin.reflect.jvm.internal.KCallableImpl.callBy(KCallableImpl.kt:112) at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1$invokeSuspend$$inlined$runBIO$1.invoke(CoroutineUtils.kt:23) at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51) at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1) at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: java.io.IOException: Cannot run program "D:\ffmpeg-master-latest-win64-gpl\bin": CreateProcess error=5, 拒绝访问。 at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073) at java.base/java.lang.Runtime.exec(Runtime.java:594) at java.base/java.lang.Runtime.exec(Runtime.java:453) at otto-hzys-1.0.2.mirai2.jar//cn.travellerr.Hzys.gen(Hzys.java:98) ... 23 more Caused by: java.io.IOException: CreateProcess error=5, 拒绝访问。 at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:494) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110) ... 27 more
-
@shenleqinau 请问插件配置
ffmpegPath: ''
了吗?如果希望用音频合成插件的话请将这行设置为空