similar to: High CPU usage

Displaying 20 results from an estimated 1000 matches similar to: "High CPU usage"

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 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
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
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
2009 Oct 01
0
High CPU usage
Hi Mark, the documentation (section 3.2.1) states: "The single that will affect the CPU usage of Speex the most is whether it is compiled for floating point or fixed-point. [...] On the x86 architecture, floating-point is generally faster, but not always. " And: "Until the VBR feature is ported to fixed-point, you will also need to configure with ?disable-vbr or define
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 19
2
Speex in flash player: how to work with?
First of all, Flash Player can only publish Speex at 16 kHz. 20 ms of audio (320 samples) will result in compressed payload size of 106 bytes (42.4 kbps). When Flash Player sends a TC message, there is 11 bytes TC message header and a single byte of audio message header. For more information, please see ActionScript 3 reference http://help.adobe.com/en_US/AS3LCR/Flash_10.0/ Jozsef
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 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
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:
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
2008 Apr 17
0
VAD CPU usage
Sounds strange. Can you reproduce the problem with speexenc/speexdec? If so, can you send a short file that triggers that along with the exact command line? Jean-Marc Jozsef Vass a ?crit : > 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
2009 Nov 18
0
jspeex question
Is there a document somewhere that describes speex-encoded FLV files? What is a TC message? Thanks. Jozsef Vass wrote: > 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 >
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 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
2009 Sep 24
0
High CPU usage
Hi Jean-Marc, I tried to add VERY_SMALL at the input of the encoder, but that did not change much. Here's a list of source code locations where denormals appear for the first time as calculation results. This list is based on a 4 minutes recording of ambient sound that is passed to speexenc 1.2rc1 with the command line --narrowband --denoise --agc --abr 15000
2009 Sep 09
1
Can the hole, fixed in latest libvorbis version, be triggered via webradio?
Hello, I'm talking about the following hole: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-2663 In Slackware 12.2, so far, the current libvorbis version is still 1.2.0. My question is: I don't use ".OGG" files, but I regularly listen to a OGG webstream. Am I secure in this situation or could a corrupted webstream trigger the discussed bug? Thanks in advance Yours
2017 Oct 06
2
Strange "IMAP connection broken (server response)" errors
Hello, We upgraded one of our dovecot servers to debian stretch with dovecot 2.2.27 and since then one of our users has been experiencing random IMAP failures. We enabled raw logging at the server side and it shows normal IMAP commands/responses: 1507292522.222427 * 6 FETCH (FLAGS () BODYSTRUCTURE ("text" "plain" ("charset" "us-ascii") NIL NIL
2018 Mar 20
1
Strange "IMAP connection broken (server response)" errors
On Fri, 20 Oct 2017, Kadlecsik J?zsef wrote: > On Fri, 6 Oct 2017, Jozsef Kadlecsik wrote: > > > We upgraded one of our dovecot servers to debian stretch with dovecot > > 2.2.27 and since then one of our users has been experiencing random IMAP > > failures. > > > > On the client side the user runs alpine and the corresponding debug lines: > > >