Help - Search - Members - Calendar
Full Version: Speex Payload
Hydrogenaudio Forums > Hydrogenaudio Forum > Scientific/R&D Discussion
Franki82
Hi,
I'm workin on a Speech Recognition Project and do some tests with different Speech Codecs. I'm simulating a lossy UDP-Transmission and therefor I need to know which part of the Speex-File shouldn't get destroyed (i.e transmitted over a error-free channel). I already transmit the Speex-Header without errors but the decoded files look like something digital and doesn't have anything in common with the PCM-Files. Then I tried to find the OGG-Headers in the file but I couldn't find them (the Identifier is "OggS" right?)

Thanks a lot

Franki
Franki82
I forgot:
I'm using the command line speexencoder and -decoder version 1.2 beta 2
jmvalin
QUOTE(Franki82 @ Feb 17 2008, 20:03) *

I'm workin on a Speech Recognition Project and do some tests with different Speech Codecs. I'm simulating a lossy UDP-Transmission and therefor I need to know which part of the Speex-File shouldn't get destroyed (i.e transmitted over a error-free channel). I already transmit the Speex-Header without errors but the decoded files look like something digital and doesn't have anything in common with the PCM-Files. Then I tried to find the OGG-Headers in the file but I couldn't find them (the Identifier is "OggS" right?)


Ogg is not meant to be transported over a lossy channel like UDP. If you want to use Speex over such channel, use RTP encapsulation instead. There's an IETF draft about it. Alternatively, you can just send the packets over UDP and handle everything yourself.
Franki82
Hi,
Thanks for your answer. My problem is that i use the command-line encoder/decoder, which has Ogg as output format. How can I convert this into rtp or change the output format?
jmvalin
QUOTE(Franki82 @ Feb 18 2008, 21:26) *

Hi,
Thanks for your answer. My problem is that i use the command-line encoder/decoder, which has Ogg as output format. How can I convert this into rtp or change the output format?


Easy. Stop using the Ogg encoders. There's a sample program called speexclient that shows how to use the Speex library to build a (very, very) simple VoIP client.
Franki82
Hi,
I never did anything in C. Is there maybe the same program for JSpeex?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.