在 Flash/Flex 应用程序中使用 Ogg Vorbis
我希望使用 ogg vorbis 而不是 mp3 来传输音频。 看来Flash播放器本身不支持ogg。 是否有一个编解码器引擎可以嵌入应用程序本身,可以播放 .ogg 而不是 .mp3?
一般来说,对于流媒体音频来说,什么格式比 mp3 更好并且受 Flash 支持?
I am looking to use ogg vorbis, instead of mp3s to stream audio. It seems that Flash player does not natively support ogg. Is there a codec engine that can be embedded with the app itself that can play .ogg instead of .mp3?
In general, what would be a better format than mp3 for streaming audio and that is supported by Flash?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Adobe Alchemy 技术的首批演示之一是 Flash 的 OggVorbis 库。 请参阅此页面了解源代码和库本身。
One of the first demonstrations of Adobe Alchemy technology was OggVorbis library for Flash. See this page for source and the lib itself.
在最近的 Google IO 会议上,Google 宣布了他们新的 WebM 媒体格式,预计 Flash 10.1.x 会支持该格式。 不知道具体时间有没有公布。 我之所以提到它是因为该格式的音频部分是 Vorbis。 不确定你的截止日期是什么时候,但如果可以等到那时,听起来很快就会有本地支持。
At the recent Google IO conference, Google announced their new WebM media format, which is supposed to be supported in Flash 10.1.x. I don't know if they announced exactly when. The reason I mention it is that the audio part of the format is Vorbis. Not sure when your deadline is, but if it can wait 'til then it sounds like there will be native support soon.
还有一个 Haxe 解码器,请参见此处:
http://barelyfocused。网/博客/2008/10/03/flash-vorbis-player/
There's also a Haxe decoder, see here:
http://barelyfocused.net/blog/2008/10/03/flash-vorbis-player/