search for: streamcorruptedexcept

Displaying 7 results from an estimated 7 matches for "streamcorruptedexcept".

2009 Nov 18
3
jspeex question
...chieve: 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! -- Jef...
2009 Nov 18
2
jspeex question
...) 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 proces...
2006 Jul 20
1
Invalid sideband mode encountered
...ncodedNbBytes()); try { speexDecoder.processData(payload,0, encodedNbBytes()); byte[] decoded = new byte[FRAME_SIZE*2]; decodedNbBytes = speexDecoder.getProcessedData(decoded, 0); System.arraycopy(decoded, 0, completebuffer, packetCount*decodedNbBytes, decodedNbBytes); } catch(StreamCorruptedException s) { System.out.println("Error ---> "+s.getMessage()); } } return completebuffer; } encodedNbBytes is a function that returns the encoded packet size. help. Regards --------------------------------- Yahoo! Music Unlimited - Access over 1 mil...
2006 Jul 18
1
SpeexEncoder requires 320 samples to process a Frame, not 160
...new byte[speexDecoder.getProcessedDataByteSize()]; decsize = speexDecoder.getProcessedData(decoded, 0); System.arraycopy(decoded, 0, completebuffer, packetCount*bodybytes, decsize); packetCount++; System.out.println("Decoding packet size: "+decsize+"\n"); } catch(StreamCorruptedException s) { System.out.println("Error ---> "+s.getMessage()); } } return completebuffer; } } Any help will greatly be appreciated. --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. -------------- next...
2004 Aug 06
0
JSPEEX ?
Hi, I downloaded Ulrich's TestClient and have not been able to connect to the default server. I will try to modify and get to work locally(local echo). I wanted to test my SpeexDecoder as no matter what I try I alwasy get an java.io.StreamCorruptedException: Invalid sideband mode encountered. (2nd sideband): 7 Please note that the Invalid sideband modes differ per file but the end result is always the same - I cannot decod any speex files. I've tried Ogg Speex/Wave Speex encoded by jspeex-v0.9.2_R1.12/speexenc/speexACM-v1.0.1.1 at 8/16/22/32/...
2009 Nov 18
0
jspeex question
...) 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 proces...
2009 Nov 18
0
jspeex question
...; 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 whe...