Note that there are some explanatory texts on larger screens.

plurals
  1. POFlash/Flex Speex audio decode, to play a speex file
    primarykey
    data
    text
    <p>I want to play *.spx files which encoded by <a href="http://www.speex.org" rel="nofollow">Speex</a> on the Web.<br> But I have no knowledge of Flash/Flex or any Flash Audio codec. After Google search for a whole day, I got some solutions, that is:</p> <ol> <li><p>Do something wrapping Speex files with a FLV container because that the Speex is only playable as the audio codec in a FLV container.<br> Now I can play a SPX-Audio-Only FLV file in Flex, I use <code>netStream.play("audio-only-speex.flv")</code>, But I donot know how to wrap a Spx file with FLV container using ActionScript.<br> Any example project?</p></li> <li><p>Decode Spx using AS.<br> I checked out the fllowing pages that they all decoded OGG Vorbis but no Speex :(<br> <a href="http://barelyfocused.net/blog/2008/10/03/flash-vorbis-player" rel="nofollow">http://barelyfocused.net/blog/2008/10/03/flash-vorbis-player</a><br> <a href="http://www.exswap.com/?p=132" rel="nofollow">http://www.exswap.com/?p=132</a><br> <a href="http://mauft.com/2010/11/ogg-vorbis-in-flash" rel="nofollow">http://mauft.com/2010/11/ogg-vorbis-in-flash</a><br> Adobe also provides a AS3 OggVorbis Library which ported by Alchemy:<br> <a href="http://labs.adobe.com/wiki/index.php/Alchemy:Libraries" rel="nofollow">http://labs.adobe.com/wiki/index.php/Alchemy:Libraries</a></p></li> <li><p>FMS: do a server streaming using FMS or Red/Xuggle. I have never heard FMS stuffs before, as well as I'm not sure whether my virtual host can support or not...</p></li> <li><p>Convert every Spx files to MP3.</p></li> </ol> <p>I think the best solution is decoding Spx in AS3, Yes, I'd like to make a Spx Flash Player.</p> <p>So, I downloaded Speex Library from speex.org, installed Adobe Alchemy. After <code>./configure;make</code> the libspeex, build libspeex/speex.c out a <i>libspeex.swc</i> via Alchemy. then, I donot know how to do next. How can I decode the speex audio with AS3?<br> My libspeex.swc: <a href="http://demo.0x123.com/libspeex.swc" rel="nofollow">http://demo.0x123.com/libspeex.swc</a></p> <p><b>In addtion</b>, should I rewrite the libspeex using <a href="http://labs.adobe.com/wiki/index.php/Alchemy%3aDocumentation%3aDeveloping_with_Alchemy%3aC_API" rel="nofollow">Alchemy API</a> before build the libspeex.swc?</p> <p>Although I am not professional in AS, but I have a strong ability to learn. <b>Any advice will be greatly appreciated, Thanks very much.</b></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload