Questions tagged [speex]

Speex is an open-source audio compression format designed for speech. It is based on CELP and is designed to compress voice at bitrates ranging from 2 to 44 kbps.

Speex is a patent-free audio compression format designed for speech and also a free software speech codec that may be used on VoIP applications and podcasts. Speex is be free of any patent restrictions and is licensed under the revised (3-clause) BSD license. It may be used with the Ogg container format or directly transmitted over UDP/RTP.

The Speex designers see their project as complementary to the Vorbis general-purpose audio compression project. Speex is a lossy format, meaning quality is permanently degraded to reduce file size. The Speex project was created on February 13, 2002.

The first development versions of Speex were released under LGPL license, but as of version 1.0 beta 1, Speex is released under Xiph's version of the (revised) BSD license. Speex 1.0 was announced on March 24, 2003, after a year of development. The last stable version of Speex encoder and decoder is 1.2.0.

The Speex codec has been obsoleted by Opus. It will continue to be available, but since Opus is better than Speex in all aspects, users are encouraged to switch

source : wikipedia.com

152 questions
0
votes
1 answer

Speex voice chat: EXC_BAD_ACCESS crash when trying to decode

I'm developing a voice chat and I used speex to compress the data that is being transmitted. But I encountered a crash when I try to decode the received data. I compress the data using this code: Init method (runs only one time): /*Create a new…
albianto
  • 4,092
  • 2
  • 36
  • 54
0
votes
1 answer

Wrap Raw Speex in OGG Container

are there any libraries that allow one to pack raw speex into an ogg container? I know Jspeex, but - as far as I can see - this library only handles Ogg/Speex and PCM. But I already have a Speex stream and want to wrap this in an Ogg container.…
Soccertrash
  • 1,830
  • 3
  • 28
  • 48
0
votes
1 answer

Speex for Windows Phone 7

Try as I might I can't find a Speex implementation for Windows Phone 7. I'd rather not attempt to port it to C# myself if it's already been done. Can anyone point me toward a WP7 implementation of Speex?
vlad259
  • 1,236
  • 10
  • 24
0
votes
1 answer

Speex encode in terminal MAC OS but command not found

I want to convert spx file to WAV file use speexdec command in MAC terminal. find OtherResources -name "*.spx" -execdir sh -c 'spx={};speexdec $spx ${spx%.*}.wav' \ and got sh: speexdec: command not found I used Macports to install speex sudo port…
0
votes
1 answer

Recommendation on client side echo cancellations

I am developing a MCU based voip service. I think the traditional way of doing MCU is, you have N audio mixers at server and every participant in the call receive a steam that does not have their own voice encoded. Guess what I wish to do is, have…
Hitesh Joshi
  • 724
  • 8
  • 19
0
votes
1 answer

Cannot install speex using pip

I'm trying to install speex-0.9.1 using pip. The error I'm getting is below. Any idea how i can work around this? If I'm opening the tar ball which pip is downloading i can see that the .h files are missing. Thank [root@localhost speex-0.9.1]#…
Yonoss
  • 1,242
  • 5
  • 25
  • 41
0
votes
1 answer

Compiling Speex and SpeexDSP for Android 64bit architectures results in "error: impossible constraint in 'asm'"

Google recently announced policy requiring support libraries be recompiled for 64bit support so I'm hoping someone else has also been down this road recently. I'm trying to compile Speex 1.2 for Android 64bit ARM. I was able to build speex but…
spartygw
  • 3,289
  • 2
  • 27
  • 51
0
votes
1 answer

How to play speex encoded audio in Flash player?

I am able to record sound from microphone, encode it using SPEEX and write into ByteArray. I want to play it back. If I try using Sound object the audio is messed up. Speex uses 16kHz for encoding and Sound Object needs 44.1kHz for playing audio.…
pat
  • 3
  • 2
0
votes
1 answer

python install speex dsp module error

I would like to ask a question about the installing speexdsp module in python installed with Anaconda3. I downloaded the swigwin-3.0.12 from website and add it to my system variable, as well as my python35.lib and the python\include. However, I get…
J.Chiueh
  • 1
  • 1
  • 2
0
votes
1 answer

how to deal with processing time delay of audio codec while streaming over RTP

In section 2.1 of the Speex codec manual it says: Every speech codec introduces a delay in the transmission. For Speex, this delay is equal to the frame size, plus some amount of “look-ahead” required to process each frame. In narrowband operation…
Michael
  • 309
  • 2
  • 3
  • 16
0
votes
3 answers

C code problem..Can anyone help?

I want to decode a speex file and convert into a PCM wave..I am trying to compile the speex sample code they have given..It's not giving any compilation error. but it does nothing when i run it.. After the line marked "problem area" even the printf…
karthick
  • 11,998
  • 6
  • 56
  • 88
0
votes
1 answer

Predicting voice packets (speex/ilbc c++)

For some time I've been using gsm codec for network audio chat. Now I'd like to implement smth like speex or iLBC due to "voice prediction". As far as I understand i need timestamps for packets. Also I know that to make codec to predict voice I have…
Dalamber
  • 1,009
  • 1
  • 12
  • 32
0
votes
1 answer

Add SPEEX code support to FFMPEG

How can I add SPEEX support to my FFMPEG installation? I need to extract the audio from a FLV created by FMS. I just installed it using: app-get install ffmpeg. ffmpeg -version FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et…
oscarm
  • 2,630
  • 6
  • 41
  • 74
0
votes
0 answers

16000 to 44100 resampling using speex(Sampling Rate conversion)

I m doing resampling from 16000 to 44100 Hz using speex. Also i did resampling between 16000 to 44100 Hz using ffmpeg. speex is taking more time for resampling conversion. Also found that speex is better for multiple of 8000 sampling frequency. Can…
0
votes
1 answer

Integrating any codec within an android VOIP application

I am working on an android voip application that need not work on PSTN. I am completely novice to this field and any little help will be appreciated. I started by researching how whatsapp voice call works and found out that it is using PJSIP which…