[Speex-dev] jspeex question

Jeff Ramin jeff.ramin at singlewire.com
Mon Nov 16 12:40:20 PST 2009


I assume this list is for the jspeex project, correct?

What I am trying to achieve: I have a FLV (flash audio) file that contains
speex-encoded data. I want to read that file, extract the audio bits, and
convert them to a different format.

I've written a little java app to do this, but I receive this error when
running it:

Exception in thread "main" java.io.StreamCorruptedException: More than 
two sideband layers found

I've got a feeling the SpeexDecoder class wants/assumes a certain amount
of data when decoding and I'm not meeting that expectation.

Is that correct? How much data should I hand to the decoder when I call
the processData() method?

Thanks!

-- 
Jeff Ramin
Software Engineer
Singlewire Software
PO Box 46218
Madison, WI 53744-6218

Phone Direct - 608.298.1024
www.singlewire.com



More information about the Speex-dev mailing list