Questions tagged [jspeex]
19 questions
13
votes
3 answers
speex support in android
Can anybody help me on how to use speex or jspeex in android?
I have searched a lot but could not able to find anywhere.There are many issues regarding this in code.google.com/android but none have answered it. Here also this question did not got a…

Hemant Metalia
- 29,730
- 18
- 72
- 91
8
votes
1 answer
Help with creating a Speex Voip server and client
Im trying to create a Speex Voip client and server. I have the basics down and its working OK on the local machine over UDP. I am using JSpeex for portability. Im looking for tips on creating the client and server. What are your thoughts?
The JSpeex…

Xiphias3
- 177
- 11
2
votes
3 answers
Audio compression in android
I want to send some speech file over internet to my server. My server will do the same. But some speech file or audio files are large in size. My aim is to compress that audio data to server. I found speex do the same. I am unable to get how to use…

Sunil Kumar Sahoo
- 53,011
- 55
- 178
- 243
2
votes
1 answer
Packing Speex with Ogg on iOS
I'm using libogg and libogg, I've succeeded to add those libraries to my iPhone xCode project and encode my voice with Speex. The problem is that I cannot figure out how to pack those audio packet with ogg. Does someone know how a packet of that…

Idan
- 9,880
- 10
- 47
- 76
2
votes
1 answer
When playing back decoded Speex data, all I hear is static
I am learning how to use JSpeex for a VoIP application that I will be writing later on for educational purposes. As an attempt to understand how to use JSpeex, I decided to write a simple echo application. Basically, it reads the input from the…

Martin Tuskevicius
- 2,590
- 4
- 29
- 46
2
votes
1 answer
WAV to Speex conversion taking a lot of time
I am using the JSpeex API to convert a .wav file into .spx file. Everything goes perfect when tested on desktop; it took only 2 seconds.
Android developer used the same code but it took around 3 minutes to encode the same file on their simulator &…
Rohit Desai
2
votes
0 answers
Java applet to play SPEEX files from URL
I am coding a java applet which will play an Speex (.SPX) file from a URL. I don't have any experience with the Java Sound API's. The JSpeex documentation was very unhelpful.
I managed to piece together some code, but so far with no success. So far…

Gazelle123
- 36
- 3
1
vote
1 answer
JSpeex Decoding not working
I'm using the JSpeex library for audio encoding.
The encoding seems to work fine. But decoding doesn't.(i.e. I get all zeros as decoded data.)
// encoding ///
SpeexEncoder enc = new SpeexEncoder();
// if i use channel as 1 instead of 2 even…

user1283358
- 21
- 1
- 3
1
vote
1 answer
jspeex decoder not producing the correct output
I am using JSpeex api for decoding rtmp audio stream into wave file and using the same stream to save speex encoded audio to flv file.
I found that there are differences in both the audio.
Time length of both audio file is different. FLV shows the…

subhashlg26
- 993
- 1
- 11
- 25
1
vote
0 answers
JSpeex vs porting Speex in android?
I'd like to use the speex library to handle echo cancellation on an android phone and I found a link to the jspeex project in the speex website.
As it is already ported to java, I think that it could spare me some dev time but I'm still wondering…

onizukaek
- 1,082
- 1
- 14
- 38
1
vote
1 answer
Decoding audio with Jspeex in android produces choppy/clipped sound
i am developing an android app, which plays live speex audio stream. So i used jspeex library .
The audio stream is 11khz,16 bit.
At android side i have done as follows:
SpeexDecoder decoder = new SpeexDecoder();
decoder.init(1, 11025,1,…

Ichigo Kurosaki
- 3,765
- 8
- 41
- 56
1
vote
1 answer
speex and jspeex decoding
Jspeex has a method to decode as seen below:
public static int decode(byte[] input, int offset, int length, byte[] output) throws StreamCorruptedException {
SpeexDecoder decoder = new SpeexDecoder();
decoder.init(0, 8000, 1, true,…

guness
- 6,336
- 7
- 59
- 88
1
vote
0 answers
Encoding in WP7 with NSpeex works, decoding the stream on a JavaEE server with JSpeex does not
As topic states, I have no problem in encoding audio in Windows Phone 7 with NSpeex(v1.1.1, uses Speex v1.2rc1). I have verified this by first encoding a stream, and then right after decoding it back again, add wav headers and send it back to server…

hsiltala
- 11
- 3
1
vote
0 answers
jspeex, java.lang.NoClassDefFoundError in android
I am using jspeex.jar in android when i try to compile it is throwing error
12-01 11:30:58.998: E/AndroidRuntime(17989): java.lang.NoClassDefFoundError: org.xiph.speex.SpeexEncoder
In this link they suggested to use @DependsOn(value = {"jspeex"})…

Suru
- 697
- 8
- 20
1
vote
1 answer
Speex encoding in Java
I have a .wav file and I am using JSpeex (latest version, i.e., 0.9.7) to encode it, but the encoding is not happening properly if anybody has worked on the file.

Sam97305421562
- 3,027
- 10
- 35
- 45