Coder Social home page Coder Social logo

Comments (4)

FYWinds avatar FYWinds commented on May 24, 2024

安装并配置ffmpeg到环境变量中
gocq需要ffmpeg将语音转码为silk

from takker.

Fahaxikiii avatar Fahaxikiii commented on May 24, 2024

安装并配置ffmpeg到环境变量中 gocq需要ffmpeg将语音转码为silk

安装 ffmpeg
为了支持任意格式的语音发送, 你需要安装 ffmpeg 。

#Windows
从 这里 (opens new window)下载 并解压, 并为 bin 这个文件夹添加环境变量。

如果遇到下载速度缓慢的问题可以用 这个源 (opens new window)。

然后在 cmd 输入 (不能使用 powershell)

setx /M PATH "C:\Program Files\ffmpeg\bin;%PATH%"
自行将这个指令中的 C:\Program Files 替换成你的解压目录。

我按照这个方法来的
QQ图片20211208194541

from takker.

FYWinds avatar FYWinds commented on May 24, 2024

配置完后是否重启过服务器并且重启go-cqhttp?

from takker.

Fahaxikiii avatar Fahaxikiii commented on May 24, 2024

配置完后是否重启过服务器并且重启go-cqhttp?

啊这,我试试,
01779124

from takker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.