MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接
    1. Home
    2. CherryPeel
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 19
    • Best 0
    • Controversial 0
    • Groups 0

    CherryPeel

    @CherryPeel

    0
    Reputation
    5
    Profile views
    19
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    CherryPeel Unfollow Follow

    Latest posts made by CherryPeel

    • RE: 怎么下载群语音消息(链接)?

      @MrXiaoM ok了,已经用https://github.com/kn007/silk-v3-decoder这个项目解决了,谢谢了

      posted in 开发交流
      CherryPeel
      CherryPeel
    • RE: 怎么下载群语音消息(链接)?

      @MrXiaoM 这个我是知道的,问题就是我不管怎么搞,他都转换不了。9873e961-ab86-4841-977d-7e5ca7534c84-image.png
      我把它当amr文件不行。
      24a8247b-e2ba-4457-b330-a5b98d9906f3-image.png
      1d11fe69-05e9-4fa7-90c8-b4ef56406571-image.png
      (silk编码后缀名我不知道是啥,百度看到了slk和silk,所以都试了下)。

      这也都不行。但是按照github issue区的说法就是换个扩展名就行。还请指点。
      011ba548-0ef0-4fae-ae62-a6bb87207460-image.png
      issue259

      我的测试语音链接

      posted in 开发交流
      CherryPeel
      CherryPeel
    • RE: 怎么下载群语音消息(链接)?

      主要是想做个语音对话,需要将用户的语音转换为文字。

      posted in 开发交流
      CherryPeel
      CherryPeel
    • 怎么下载群语音消息(链接)?

      按照官方文档
      a3d04d06-0300-4b72-8277-64489af36279-241398f8cad62ceafa9dad354dc34f2a.jpg /Users/cherrypeel/Library/Containers/com.tencent.qq/Data/Library/Application Support/QQ/nt_qq_b48e2142bb9e44f5020dc45cc5c0d3b4/nt_data/Pic/2023-03/Ori/241398f8cad62ceafa9dad354dc34f2a.jpg

      这个url可以直接下载,于是乎我就复制到浏览器,发现下载后无法播放,然后又试了试爬虫,然后也无法正常播放,求解。
      7f43481b-d122-411c-9a29-418afc6610e8-image.png

      语音消息:(群内可正常播放)
      {'type': 'GroupMessage', 'messageChain': [{'type': 'Source', 'id': 229324, 'time': 1677763243}, {'type': 'Voice', 'voiceId': '01A219E94FFAB8C22970801E05C89E69.amr', 'url': 'http://grouptalk.c2c.qq.com/?ver=0&rkey=3062020101045b3059020101020101020451b6903b042439306a335646796c4e5554646a356d30794368576646664b32443273305768313858707102046400a2ab041f0000000866696c6574797065000000013100000005636f64656300000001310400&filetype=1&voice_codec=1', 'path': None, 'base64': None, 'length': 3}], 'sender': {'id': 21xxxxxxxx, 'memberName': 'Coco~', 'specialTitle': '', 'permission': 'OWNER', 'joinTimestamp': 166xxx651, 'lastSpeakTimestamp': 16xxxxx, 'muteTimeRemaining': 0, 'group': {'id': 6753xxxxxx, 'name': '开发测试', 'permission': 'ADMINISTRATOR'}}}

      posted in 开发交流
      CherryPeel
      CherryPeel
    • RE: mp3和wav格式音频以url格式发送就报错,而且直接导致mirai停止工作

      @cssxsh 看了下控制台log,那啥也没有,直接就是下次启动的log了
      3b1703b0-d039-4446-bc37-fbac9beb5a55-image.png
      这个是崩溃的控制台
      f06a8815-d457-4f18-923d-055f54e4112a-image.png
      我待会去那边提个issue吧,谢了😇

      posted in 开发交流
      CherryPeel
      CherryPeel
    • RE: mp3和wav格式音频以url格式发送就报错,而且直接导致mirai停止工作

      @cssxsh a4ec6ec9-690c-4b7d-8c1a-e64a513cf6fb-image.png
      不应该吧,我试过输入到浏览器就能直接下载
      https://sayashi-vits-uma-genshin-honkai.hf.space/file=/tmp/tmpk13nrb_w/tmpujff2_ce.wav
      这个链接可能速度有点慢,但本地局域网内的我链接也试过了,一样的崩。
      而且我感觉下载失败的话也不应该导致mirai直接崩掉了,搞得我都不敢继续试了,害怕登录多,被风控掉。

      posted in 开发交流
      CherryPeel
      CherryPeel
    • RE: mp3和wav格式音频以url格式发送就报错,而且直接导致mirai停止工作

      @cssxsh 报错的生成log已经用网盘发了啊。我以为够了,那我我再补充下。
      插件:16ef6ff9-ab00-4806-b956-297befc24c0a-image.png

      使用的http接口,除此外,没有其他第三方sdk,报错代码:671530f8-e0c0-4d37-9fbc-783b54fdbb86-image.png
      .mp3格式一样也会崩。

      同样的代码这个是可以正常执行的:807b02c0-597d-4335-b0f1-e41eec538c4d-image.png
      baidu_tts也是返回的.mp3链接

      posted in 开发交流
      CherryPeel
      CherryPeel
    • RE: mp3和wav格式音频以url格式发送就报错,而且直接导致mirai停止工作

      @cssxsh http://localhost:5000/test.mp3 这种链接形式发送群语音mirai直接崩了😶‍🌫️

      posted in 开发交流
      CherryPeel
      CherryPeel
    • RE: mp3和wav格式音频以url格式发送就报错,而且直接导致mirai停止工作

      @CherryPeel log链接:https://pan.baidu.com/s/1OA1ZN5NiwEZ_5g3hEMghLg
      提取码:2a1v

      posted in 开发交流
      CherryPeel
      CherryPeel
    • RE: mp3和wav格式音频以url格式发送就报错,而且直接导致mirai停止工作

      我去,没法上传log日志

      posted in 开发交流
      CherryPeel
      CherryPeel