jspeex decoder not producing the correct output

415 Views Asked by At

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.

  1. Time length of both audio file is different. FLV shows the original timing while wave file time is always less than the FLV file.
  2. The quality of FLV is better that wave file.
  3. The voice does not match to speaker in wave file, but FLV seems to be perfect.

Can somebody guide me in this?

1

There are 1 best solutions below

5
On BEST ANSWER

JSpeex is based on the 1.0.3. version of Speex, which was released in 2003. There have been several new versions since then, the most recent being 1.2rc1 (released in 2008). Is it possible that your audio has been encoded in a newer version of Speex than 1.0.3?