similar to: Speex in flash player: how to work with?

Displaying 20 results from an estimated 200 matches similar to: "Speex in flash player: how to work with?"

2010 Mar 19
4
Speex in flash player: how to work with?
Nicer way: void* speexState = speex_encoder_init(&speex_wb_mode); int speexFrameSize, speexRate; speex_encoder_ctl(speexState, SPEEX_GET_FRAME_SIZE, &speexFrameSize); speex_encoder_ctl(speexState, SPEEX_GET_SAMPLING_RATE, &speexRate); SpeexPreprocessState* speexPreprocessState = speex_preprocess_state_init(speexFrameSize, speexRate); Jozsef -----Original Message----- From: Max
2010 Mar 31
1
Speex in flash player: how to work with?
What are you trying to accomplish? My code sample was about how Flash Player microphone input in speex. If you want to do decode, please see speexdec.c Jozsef -----Original Message----- From: Max Lapshin [mailto:max.lapshin at gmail.com] Sent: Tuesday, March 30, 2010 8:53 AM To: Jozsef Vass Cc: speex-dev at xiph.org Subject: Re: [Speex-dev] Speex in flash player: how to work with? On Sat, Mar
2010 Mar 30
0
Speex in flash player: how to work with?
On Sat, Mar 20, 2010 at 12:04 AM, Jozsef Vass <jovass at adobe.com> wrote: > Nicer way: > > void* speexState = speex_encoder_init(&speex_wb_mode); > int speexFrameSize, speexRate; > speex_encoder_ctl(speexState, SPEEX_GET_FRAME_SIZE, &speexFrameSize); > speex_encoder_ctl(speexState, SPEEX_GET_SAMPLING_RATE, &speexRate); > SpeexPreprocessState*
2011 Jun 02
1
Any tips for speeding up encoding on iPhone?
Hi, I'm trying to use Speex for real time encoding in an iPhone project but I'm having latency problems. I appreciate any tips you may provide for speeding things up. The recording callback is providing 1024 samples (mono, frequency: 44100 Hz, of type short) every 23 ms (1024.0 / 44100.0). I'm saving the samples in a buffer and use them in the encoding thread (set for mode: wide
2005 Apr 27
2
speex corrupting input buffer?
It seems that speex (speex 1.0.4 on OSX 10.3.9) is writing over the input buffer (with what looks like a sine wave). Included below is a short program that demonstrates the problem. Is this a bug, or am I doing something wrong? I don't see this behavior mentioned in the docs. I don't really need the input buffer, but I'm guessing this problem is related to a high pitched sound
2012 Jun 14
1
High CPU usage
Hi Mark, Code below: int16_t* samples; int16_t* fbSilenceFrame; void *fSpeexState; float eng(0.f); int speexFrameSize(0); speex_encoder_ctl(speexState, SPEEX_GET_FRAME_SIZE, &speexFrameSize); for (int i = 0; i < speexFrameSize; i++) { eng += samples[i] * samples[i]; } if (eng / speexFrameSize < 3.f) { memcpy(samples, silenceFrame, speexFrameSize * sizeof(int16_t)); } where
2009 Nov 18
2
jspeex question
The link is http://www.adobe.com/devnet/rtmp/. TC Message stands for TinCan message. It is 11 bytes long, first byte is message type, three bytes of payload length four bytes of timestamp and three bytes of stream ID. The first byte of the payload for audio message is the format byte and the rest of the byte is the payload. Jozsef ----- Original Message ---- From: Jeff Ramin <jeff.ramin
2009 Nov 18
3
jspeex question
FLV contains TC messages? TC message payload contains a format byte and speex frames (up to eight). In the format byte 0xb0 indicates speex. Speex is always 16 kHz, 16 bit, mono. Jozsef Message: 1 Date: Mon, 16 Nov 2009 14:40:20 -0600 From: Jeff Ramin <jeff.ramin at singlewire.com> Subject: [Speex-dev] jspeex question To: speex-dev at xiph.org Message-ID: <4B01B8B4.8020904 at
2008 Apr 16
2
VAD CPU usage
Hi Jean-Marc I am using speex in my voip app (wideband mode). I have noticed that when VAD kicks in, CPU considerably increases (bitrate decreases to 4 kbps). It takes about 7 ms to encode one frame versus 0.5 ms (for speech). This happens regardless preprocessor is used. Although the issue seems to be driver dependent, it occurs on XP, Vista and Mac OS X. Besides complexity and quality, this
2009 Oct 01
1
High CPU usage
Hi Jozsef, this approach sounds interesting. Do have you have some source code available ? Thanks Mark -----Original Message----- From: speex-dev-bounces at xiph.org [mailto:speex-dev-bounces at xiph.org] On Behalf Of Jozsef Vass Sent: Friday, September 25, 2009 11:43 PM To: mark_schilling at gmx.de Cc: speex-dev at xiph.org Subject: Re: [Speex-dev] High CPU usage I have run into the same
2009 Sep 25
1
High CPU usage
I have run into the same issue. Before sending a frame to encoder, I calculate the energy. If it is less than a small threshold, I simply replace this frame with "silence frame," which is 320 random samples of values smaller than 3 (16 kHz). BTW, I have only experience this problem with certain USB headsets that provide you all 0 samples when muted. Jozsef
2011 Aug 24
0
Speex-dev Digest, Vol 87, Issue 12
rtmplite -- http://code.google.com/p/rtmplite/ -- can be used to record Speex .flv audio and a/v files from Flash/Flex applets, and ffmpeg can be used to extract the Speex audio from such files, which can also be replayed on Flash. > Date: Tue, 23 Aug 2011 14:53:52 -0700 > From: Jozsef Vass <jovass at adobe.com> > > The only way to do this is to publish from Flash Player and
2012 Oct 08
2
Is it possible to change the quality with encoding ?
Hi All, Actually, the question is right on the topic. Is it possible to change the quality while encoding ? If the answer is yes, does the jitter buffer provides info about latency, e.g. : if latency is too high, we lower down the quality, if the latency is okay, we are raising the quality until latency rise up again... Thank you for your help. Morgan
2010 Mar 31
1
Speex in flash player: how to work with?
> Date: Tue, 30 Mar 2010 19:52:42 +0400 > From: Max Lapshin <max.lapshin at gmail.com> > Subject: Re: [Speex-dev] Speex in flash player: how to work with? > > _microphone = Microphone.getMicrophone(); > _microphone.setSilenceLevel(0); > _microphone.codec = SoundCodec.SPEEX; > _microphone.encodeQuality = 10; > _microphone.rate = 16; > _microphone.framesPerPacket
2007 Dec 06
2
Some question about speexcodex 1.2 beta2 on linux
Hi, I am an user of speex codec.Can I ask some question about the speexcodec 1.2beta2 on installed to linux(fedora 6) thanks! After I downloaded the latest version of codec then I type the commands to install : configure -prefix=/home/...../test -enable-shared -enable-static make make install then I try to compile my encode.c here is the encode.c of mine: =====================================
2009 Jul 16
1
Encoding/Decoding doubts
Flash player encodes speex at 16 kHz, mono, 16 bit. Fields in the format byte should be ignored if the format is speex. You can set the quality by Microphone.encodeQuality (default 6). You can also set the number of speex frames per tc message using Microphone.framesPerPacket. Flash player can only decode speex at 16 kHz, so make sure you have the proper sample rate. Jozsef > > Message:
2005 Apr 27
0
speex corrupting input buffer?
Actually, it's an undocumented feature that returns the synthesized signal (like decode, but no perceptual enhancement) in place of the input. Why exactly you're getting garbage there (assuming the decoder works fine), I'm not sure. Jean-Marc Le mercredi 27 avril 2005 ? 15:56 -0700, Steve Dekorte a ?crit : > It seems that speex (speex 1.0.4 on OSX 10.3.9) is writing over the
2007 Jan 08
1
VAD in preprocessor
Hi all and Jean-Marc, Firstly thanks a lot to you for helps, at last I accomplished to use speex-1.2beta1 in my speech application. I try to understand speex source code and improve speech quality. The problem in my application (like many people in the list says) is noise. So I've added VAD in preprocessor as following. VAD in preprocessor is very good, there is not noise outside speech. I
2009 Nov 18
0
jspeex question
Thanks for the help folks, but I got this working a couple hours ago. =) I'm quite please after struggling with it for a few days. I just needed to take each audio tag from the FLV file and feed the contents of the tag (except for the first byte) to the jspeex decoder and write the results to a file. Jozsef - it is possible to specify 8KHz in the flash client and decode it as such. Speex
2004 Aug 06
2
Speex for videoconferencing
Hi all, <p>im new on the list and want to introduce my self. Im a software developer working on engine control software for a german car manufacturer. I want to use speex for a privat videoconferencing project and faces some problems with it. First of all the projects in Visual-C++ doesn't work. I don't mean the path an dependecy problems. That is easy. But there are some errors.