简体   繁体   English

如何将Web音频流保存到文件(c ++ / java)

[英]How to save web audio streaming to file ( c++ / java )

是否有任何lib或众所周知的方法来以编程方式将音频网络流媒体(网络电台,MP3流媒体)保存到文件?

You could use libvlc from the VLC project. 您可以使用VLC项目中的libvlc。 The wiki seems to be down right now though. 维基似乎现在正在倒下。 The code is in c++. 代码是用c ++编写的。

EDIT: Found this and this via google cache. 编辑:通过谷歌缓存找到这个这个

You can use the BASS library . 您可以使用BASS库 It has plenty of support for attaching to network streams and decode them into MP3/WMA/OGG/AAC files. 它有足够的支持连接到网络流并将其解码为MP3 / WMA / OGG / AAC文件。 Developed in C, but could easily be used in C++ and many other languages. 用C语言开发,但可以很容易地用于C ++和许多其他语言。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM