Using Ogg Vorbis in Flash/Flex applications

给你一囗甜甜゛ 提交于 2019-12-04 09:38:48

问题


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?


回答1:


One of the first demonstrations of Adobe Alchemy technology was OggVorbis library for Flash. See this page for source and the lib itself.




回答2:


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.




回答3:


There's also a Haxe decoder, see here:

http://barelyfocused.net/blog/2008/10/03/flash-vorbis-player/



来源:https://stackoverflow.com/questions/816701/using-ogg-vorbis-in-flash-flex-applications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!