在浏览器中从 Flash 录制 mp3 最简单/最好的方法是什么
我需要使用 flash 从 Web 浏览器录制音频剪辑,并将它们作为 mp3 文件存储在 S3 上。 该应用程序是用 Ruby on Rails 编写的,但我认为它在这里不太相关。
几年前我们已经在另一个项目中这样做过一次。当时,我们通过向 Red5 媒体服务器编写自定义扩展 + 一些 cron 作业来上传 mp3 来做到这一点。
不过我们不太喜欢 Red5,所以这次我想看看是否有更简单的选择。
我们不需要流媒体,也不需要视频。只是将简单的音频录制为 mp3 格式。
I need to record audio clips from web browser using flash and store them as mp3 files on S3.
The application is written in Ruby on Rails, but I suppose its not too relevant here.
We already did this once in another project few years ago. At the time we did it by writing a custom extension to Red5 media server + some cron jobs to upload mp3s.
We didn't really like Red5 though so this time I'd like to see if there are easier options.
We don't need streaming, and we don't need video. Just simple audio recording to mp3 format.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现 Wowza on EC2 比 Red5 更容易使用,但它不是免费的(语音或啤酒)。
从 Flash 10.1 开始,另一种选择是使用
Microphone.sampleData
。我们将其打包成 WAV(Adobe 示例),但您可以转至 MP3(带有示例的博客)。上传文件即可。
I found Wowza on EC2 easier to work with than Red5, but it's not free (speech or beer).
Another option, starting with Flash 10.1, is to capture audio data directly in the client using
Microphone.sampleData
. We package that into a WAV (Adobe example), but you could go to MP3 (blog with sample) instead.Upload the file and away you go.