流式传输时将 PCM 转换为 AAC
我希望使用 Python 将 PCM(具体为 G.711U)格式的音频转换为 AAC,以便可以使用 HLS 进行流式传输。有哪些选项可以在内存中进行此转换,以便可以实时继续流式传输。
I'm looking to use Python to convert audio that's in PCM (G.711U to be specific) to AAC so it can be streamed using HLS. What options are there for doing this conversion in memory so the streaming can be continued in real-time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 python 绑定对 ffmpeg 进行低级访问应该可以做到。
我会尝试 https://github.com/kkroening/ffmpeg-python
Low level access to ffmpeg with a python binding should do it.
I'd try https://github.com/kkroening/ffmpeg-python