Comments (9)
此外在android x86上发送语音会出现以下报错无法发送语音:
[23:49:28] INFO LoadExternalLibrary(name = ffmpegkit_abidetect)
[23:49:28] INFO LoadExternalLibrary(name = avutil)
[23:49:28] INFO LoadExternalLibrary(name = swscale)
[23:49:28] INFO LoadExternalLibrary(name = swresample)
[23:49:28] INFO LoadExternalLibrary(name = avcodec)
[23:49:28] INFO LoadExternalLibrary(name = avformat)
[23:49:28] INFO LoadExternalLibrary(name = avfilter)
[23:49:28] INFO LoadExternalLibrary(name = avdevice)
[23:49:28] INFO LoadExternalLibrary(name = ffmpegkit)
[23:49:28] INFO LoadExternalLibrary(name = ffmpegkit_abidetect)
[23:49:28] ERROR java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String com.arthenica.ffmpegkit.AbiDetect.getNativeAbi() (tried Java_com_arthenica_ffmpegkit_AbiDetect_getNativeAbi and Java_com_arthenica_ffmpegkit_AbiDetect_getNativeAbi__)
at com.arthenica.ffmpegkit.AbiDetect.getNativeAbi(Native Method)
at com.arthenica.ffmpegkit.NativeLoader.loadNativeAbi(NativeLoader.java:65)
at com.arthenica.ffmpegkit.NativeLoader.loadFFmpegKit(NativeLoader.java:173)
at com.arthenica.ffmpegkit.FFmpegKitConfig.<clinit>(FFmpegKitConfig.java:145)
at com.arthenica.ffmpegkit.FFmpegKitConfig.parseArguments(FFmpegKitConfig.java:1318)
at com.arthenica.ffmpegkit.FFmpegKit.execute(FFmpegKit.java:167)
at moe.fuqiuluo.shamrock.utils.AudioUtils.audioToPcm(AudioUtils.kt:140)
at moe.fuqiuluo.shamrock.utils.AudioUtils.audioToSilk$xposed_release(AudioUtils.kt:77)
at moe.fuqiuluo.qqinterface.servlet.msg.MessageMaker.createRecordElem-yxL6bBk(MessageMaker.kt:569)
at moe.fuqiuluo.qqinterface.servlet.msg.MessageMaker.access$createRecordElem-yxL6bBk(MessageMaker.kt:76)
at moe.fuqiuluo.qqinterface.servlet.msg.MessageMaker$createRecordElem$1.invokeSuspend(Unknown Source:19)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
[23:49:28] ERROR java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String com.arthenica.ffmpegkit.AbiDetect.getNativeAbi() (tried Java_com_arthenica_ffmpegkit_AbiDetect_getNativeAbi and Java_com_arthenica_ffmpegkit_AbiDetect_getNativeAbi__)
at com.arthenica.ffmpegkit.AbiDetect.getNativeAbi(Native Method)
at com.arthenica.ffmpegkit.NativeLoader.loadNativeAbi(NativeLoader.java:65)
at com.arthenica.ffmpegkit.NativeLoader.loadFFmpegKit(NativeLoader.java:173)
at com.arthenica.ffmpegkit.FFmpegKitConfig.<clinit>(FFmpegKitConfig.java:145)
at com.arthenica.ffmpegkit.FFmpegKitConfig.parseArguments(FFmpegKitConfig.java:1318)
at com.arthenica.ffmpegkit.FFmpegKit.execute(FFmpegKit.java:167)
at moe.fuqiuluo.shamrock.utils.AudioUtils.audioToPcm(AudioUtils.kt:140)
at moe.fuqiuluo.shamrock.utils.AudioUtils.audioToSilk$xposed_release(AudioUtils.kt:77)
at moe.fuqiuluo.qqinterface.servlet.msg.MessageMaker.createRecordElem-yxL6bBk(MessageMaker.kt:569)
at moe.fuqiuluo.qqinterface.servlet.msg.MessageMaker.access$createRecordElem-yxL6bBk(MessageMaker.kt:76)
at moe.fuqiuluo.qqinterface.servlet.msg.MessageMaker$createRecordElem$1.invokeSuspend(Unknown Source:19)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
然后收到的消息就变成该消息只支持手机端查看
from openshamrock.
SILK编码的文件正常存在吗?
from openshamrock.
SILK编码的文件正常存在吗?
文件在的
from openshamrock.
SILK编码的文件正常存在吗?
文件在的
文件大小正常吗?
from openshamrock.
- 下载 AudioLibrary 语音支持库,请下载对应架构的文件,否则可能无法运行。
- 将全部文件解压到
Shamrock 主目录
下的lib
文件夹中
from openshamrock.
SILK编码的文件正常存在吗?
文件在的
文件大小正常吗?
正常。根据debug日志的路径找过去的tmpfiles下的文件,mt管理器里可以打开播放。
from openshamrock.
- 下载 AudioLibrary 语音支持库,请下载对应架构的文件,否则可能无法运行。
- 将全部文件解压到
Shamrock 主目录
下的lib
文件夹中
明白了。是我下错架构了。
from openshamrock.
是转换出来的SILK文件,正常吗(QQ语音格式是SILK)
才发现原来tmpfiles下面是原始文件。
然后根据代码去找到了amr文件,发现发送群聊和发送私聊时生成的amr文件完全相同,我是这么看的:
- 发送wav语音到群聊,ptt目录下出现amr文件,正常发送
- 删除刚才的amr
- 发送同一语音文件到私聊,ptt目录下出现amr文件,经对比文件名和哈希都和之前的一样。但是请求会卡住,只能手动取消http请求。
from openshamrock.
是转换出来的SILK文件,正常吗(QQ语音格式是SILK)
才发现原来tmpfiles下面是原始文件。
然后根据代码去找到了amr文件,发现发送群聊和发送私聊时生成的amr文件完全相同,我是这么看的:
- 发送wav语音到群聊,ptt目录下出现amr文件,正常发送
- 删除刚才的amr
- 发送同一语音文件到私聊,ptt目录下出现amr文件,经对比文件名和哈希都和之前的一样。但是请求会卡住,只能手动取消http请求。
可以把测试音频和这个问题提交到论坛吗?
好哦 我整理以下 咱也是洛守护
from openshamrock.
Related Issues (20)
- bug: upload_multi_message接口经常超时失败
- 希望可以添加禁言状态的字段 HOT 2
- bug: 无法上传群文件(/upload_group_file) | 上传时Shamrock似乎崩溃 HOT 1
- bug: 资源图片转发 转发卡住发不出 HOT 9
- bug: 发送JSON消息发送不成功 HOT 1
- bug: 被动WS无法生效 HOT 2
- bug: 无法获取群文件链接
- bug: at 消息发送失败 code 35000 HOT 2
- bug: 最新action版本在转发消息中无法发送图片 HOT 5
- feat: 能不能获取到QQ天气的每日箴言。想获取到发送到群里哦 HOT 4
- bug: QQ V9.0.25.15760使用频繁闪退 HOT 2
- bug: HOT 2
- bug: 对单个地址重复建立多个链接,并重复上报消息 HOT 1
- Code: 临时消息参数和判断方法整体拿掉了? HOT 2
- bug: 使用PAD协议不生效 HOT 1
- bug: 和所有QA的+1 plus和自由复制冲突
- feat: 日志按日期保存 HOT 1
- feat:能否增加一个延时启动bot连接的设置 HOT 1
- bug: 使用shamrock发送的语音消息显示错误 HOT 1
- bug: 版本v1.0.8报错无常驻包处理器,每半小时断开一次然后又重连 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openshamrock.