从网页录制音频

问题描述:

我正在寻找一种解决方案,用于从用户的麦克风捕获音频并将其(最好是 MP3)发布到服务器.我需要一些可以嵌入网页的内容.

I'm looking for a solution for capturing audio from a user's microphone and posting it (preferably as MP3) to a server. I need something that I can embed in a web page.

我已经看到 Flash 可以做到这一点,但我知道这种方法需要来自 Adob​​e 的昂贵的服务器端软件.我不知道 Silverlight 是否可以提供任何功能来帮助解决这个问题.

I've seen where Flash can do this, but I understand that this approach requires expensive server-side software from Adobe. I'm not aware of whether Silverlight may provide any capabilities to assist with this.

我很好奇其他人做了什么.任何建议将不胜感激.

I'm curious what others have done. Any advice would be greatly appreciated.

您可以使用 Flash 和 Red5haXeVideo 或服务器,两者都是开源的.关于向用户提供最终 MP3,您将需要其他东西,因为由于编码 MP3 所需的许可证,这两个工具仅记录为 FLV 格式.您可以在服务器上使用诸如 FFMPEG 之类的内容进行转换,但仍然请阅读有关 MP3 的小字.

You can do it with Flash and either Red5 or haXeVideo or the server, both Open Source. Regarding offering a final MP3 to the user, you will need something else because these 2 tools only record to FLV format due to the licenses needed to encode MP3s. You can use something on the server such as FFMPEG for the transformation, but still, read the small print regarding MP3s.

祝你好运

胡安