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
1
vote
0 answers

Python Voice Communication

Hello I am trying to figure out some code which is suppose to send voice over the network. I am having problems with the audio it sends but its just a series of loud beeps and not the audio I input After the beeps are finished I get an EOFError I…
Andrew
  • 49
  • 1
  • 1
  • 4
1
vote
0 answers

Converting raw pcm to speex?

For latency issues, I would like to send speex encoded audio frame data to a server instead of the raw PCM like I'm sending right now. The problem is that I'm doing this in flash, and I want to use a socket connection to stream encoded spx frames of…
Prasad
  • 31
  • 5
1
vote
3 answers

Does Speex have a hard upper limit of 32kHz sample rate?

The Speex docs say that it's 'mainly' designed for 8/16/32kHz sampling rates. Most PC inputs seem to report sampling rates of 8kHz, 16kHz and 44.1kHz. Does this mean I'm out of luck if I want to use a 44.1kHz sampling rate?
edoloughlin
  • 5,821
  • 4
  • 32
  • 61
1
vote
1 answer

Process Flex/Flash SPEEX Audio Data on the Server Side

I'm implementing a very simple audio-only RTMP server. I have my client code like this: // get the default mic var mic:Microphone= Microphone.getMicrophone(); // best quality (picks up all sounds, no transmission…
Peter Lee
  • 12,931
  • 11
  • 73
  • 100
1
vote
1 answer

add cpp classes into android project

How can I add a .cpp class (like speex or opus) into my android studio project ? I already tried to insert using externalNativeBuild like : externalNativeBuild { ndkBuild { arguments "NDK_APPLICATION_MK:=Application.mk" …
Shakib Karami
  • 678
  • 1
  • 4
  • 11
1
vote
0 answers

speexenc unavailable after install speex on linux

I need to use speexenc to convert wav to spx file. I have installed speex1.2rc and libogg with ./configure then make; make install ,but then speexenc is still unavailable. What should I do now? Thanks!
TangBB
  • 21
  • 2
1
vote
0 answers

how to convert .wav to .spx(speex) file

i need to convert bunch of files with some scripts . what shall i do? thanks! either Python or linux shell script with third party pkg is fine. I tried SoX but failed with flash crash
TangBB
  • 21
  • 2
1
vote
0 answers

Can not cancel echo when using Speex in android

I use speex lib in my android app to complete that two phones can talk to each other. This is my client code. It works well when I delete this line: short[] result =…
shaotine
  • 249
  • 3
  • 15
1
vote
2 answers

How can I extract audio from FLV?

I need to extract the audio from a FLV file recorded using FMS. I used the SPEEX coded in my flash application that streams the audio and video to FMS. I have tried using FFMPEG, with no luck. This is the -i outputs of my FLV: FFmpeg version…
oscarm
  • 2,630
  • 6
  • 41
  • 74
1
vote
1 answer

freeswitch crash for libspeexdsp.so.1.5.0 error

Hi!I had run a freeswitch for a callcenter ivr service. During this time, freeswitch crash twice for the similar reasons below: freeswitch[39310]: segfault at 7f556d514638 ip 00007f55dd909dc6 sp 00007f556d514640 error 6 in…
livem
  • 141
  • 1
  • 5
1
vote
0 answers

How to compile Speex source files to get a .dll file?

When I use NDK to compile Speex source files and a wrapper to get the .so file,it works fine. But When I use MinGW64 to compile the files to get a .dll file for a project on Windows,the build failed. Some error…
labmem
  • 47
  • 4
1
vote
1 answer

Problems with using speex in gstreamer in python

I'm trying to experiment how to use gstreamer in python 3.x for audio encoding and later for streaming, but got stuck unfortunately. I've found this simple audio player, which works fine: import gi gi.require_version('Gst', '1.0') from gi.repository…
Zorgmorduk
  • 1,265
  • 2
  • 16
  • 32
1
vote
1 answer

API for Speex codec in Flash/Flex

With AIR 2 allowing access to mic data, it's possible to save/process audio locally. Adobe provides a WAVWriter example but is there any API access to the Speex codec?
edoloughlin
  • 5,821
  • 4
  • 32
  • 61
1
vote
1 answer

Speex in Python

How can I use Speex to encode/decode from within python? Are there any wrappers? I found an old project pySpeex but it is obsolete now (requires Python 2.2).
Ηλίας
  • 2,560
  • 4
  • 30
  • 44
1
vote
1 answer

Issue #1 when compiling Xuggler for Raspberry pi with libspeex

I am trying to compile Xuggler for Raspberry Pi(Running on Debian OS aka Raspbian), I followed the 'Basic Build Instructions' available here for compiling Xuggler. After I successfully installed all the prerequisites and set the correct paths, I…
Ashish Sharma
  • 1,124
  • 2
  • 24
  • 49