-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
不能支持视频&语音么 #76
Comments
希望速速~( ̄▽ ̄)~* 视频我不知道 语音的话MediaMSG0.db那种里面的Buf就是.silk类型的文件,可以保存到文件然后 import pilk
def decodeSilk(path):
pilk.decode(path, "test.pcm", 44100)
os.system(f"ffmpeg.exe -y -f s16le -i test.pcm -ar 44100 -ac 1 test.mp3") 可以跑完了把中间的临时文件删除掉就行了 当然ffmpeg有一百多兆……打包可能是个问题 |
ffmpeg可以不用打包到程序吧 |
这个我不太清楚,我只会写代码( |
ffmpeg有二进制程序,很方便的,可以不用内嵌到程序 |
一个是可以ffmpeg二进制直接下载;另一个是自定义编译,只保留需要的编解码器,编译出来可能只有几兆。 |
MSG表 Type=34 为语音类型数据 |
谢谢,其实在代码里已经实现完成了 |
已支持 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rt
The text was updated successfully, but these errors were encountered: