search for: dtx

Displaying 20 results from an estimated 161 matches for "dtx".

Did you mean: dtr
2019 Apr 01
2
API for checking whether the encoder is in DTX (PR #107)
...can find the description and code changes below. Please let me know if you have any questions or concerns. Best regards Gustaf Ullberg In WebRTC, we would like to be able to differentiate between "normal" frames and the comfort noise update frames that are encoded before and in-between DTX frames. These CNG update frames could then be flagged for routing or statistics reasons. Such flagging could also make it easier for a jitterbuffer to differ DTX from packet loss. This PR implements an encoder CTL named OPUS_GET_IN_DTX. OPUS_GET_IN_DTX returns 1 if the last encoded frame was eithe...
2019 Apr 08
3
API for checking whether the encoder is in DTX (PR #107)
...if you have any questions or concerns. > > > > Best regards > > Gustaf Ullberg > > > > In WebRTC, we would like to be able to differentiate between "normal" > > frames and the comfort noise update frames that are encoded before and > > in-between DTX frames. These CNG update frames could then be flagged for > > routing or statistics reasons. Such flagging could also make it easier > > for a jitterbuffer to differ DTX from packet loss. > > > > This PR implements an encoder CTL named OPUS_GET_IN_DTX. OPUS_GET_IN_DTX > &...
2019 Apr 05
0
API for checking whether the encoder is in DTX (PR #107)
...es below. Please let me know > if you have any questions or concerns. > > Best regards > Gustaf Ullberg > > In WebRTC, we would like to be able to differentiate between "normal" > frames and the comfort noise update frames that are encoded before and > in-between DTX frames. These CNG update frames could then be flagged for > routing or statistics reasons. Such flagging could also make it easier > for a jitterbuffer to differ DTX from packet loss. > > This PR implements an encoder CTL named OPUS_GET_IN_DTX. OPUS_GET_IN_DTX > returns 1 if the las...
2004 Aug 06
2
--dtx alone does nothing?
I'm running a: for band in n w u do for quality in 0 1 2 3 4 5 6 7 8 9 10 do for complexity in 3 do for vad in "" "--vad" do for dtx in "" "--dtx" do echo speexenc -${band} --quality ${quality} --comp ${complexity} ${vad} ${dtx} input.${band}.wav output.${band}.${quality}.${complexity}.${vad%%--}.${dtx%%--}.speex /usr/bin/time speexenc -${band} --quali...
2014 May 19
3
Opus DTX issue report
Hello: We noticed that opus reconstructed noise is pulsing with a 400ms pattern when dtx is enabled in silk mode. This is independent of the background noise level and is found with speech + non-speech period test files as well as variable level noise-only test files. This issue can be reproduced with opus v1.1 using this command: ./opus_demo voip 16000 1 25000 -dtx in...
2019 Apr 10
2
API for checking whether the encoder is in DTX (PR #107)
Yes, good point. I added the checking of prev_mode for Silk DTX to avoid using stale data from the Silk state. The PR is updated, and I'm attaching an updated patch. /Gustaf On Tue, 9 Apr 2019 at 12:42, Mark Harris <mark.hsj at gmail.com> wrote: > On 2019-04-08 4:55, Gustaf Ullberg wrote: > > Thank you Mark. > > > > I agree and...
2007 Aug 24
0
speex DTX chore
...to mailing list so excuse me if I don't obey to the 'netiquette'. i am writing voice chat and speex is in the root of it. i write it in Java and use JNI to link with 'C'-based Speex 1.2beta. [I know of JSpeex but there are not implemented some features] recently i decided to use DTX feature of speex as well. the code follows. The problem is that no matter whether the data passed to the encoder is voice or not it always returns 1, meaning the encoded data should be send. i test it this way: pass 2 frames of 20ms with zeros to the encoder, pass 2 frames with rand numbers[white n...
2004 Aug 06
0
--dtx alone does nothing?
> So far, I've noticed that --dtx alone doesn't seem to do anything, but --vad does > and the combination --dtx with --vad does more. The lone exception is for wide > and ultra-wide coding at quality 0, --vad, alone, makes the file slightly larger. > At all other sized the ordering is always: plain==--dtx, then --vad,...
2016 May 04
1
Need to set OPUS_SIGNAL_VOICE for DTX ?
I'm working on an opus codec for the asterisk voip app. Googling DTX found: https://bugs.chromium.org/p/webrtc/issues/detail?id=4559 To paraphrase, if there's silence long enough, opus enters Celt-only mode, which has no DTX. Is this still correct ? And is the suggested work-around effective? sean -------------- next part -------------- An HTML attachment wa...
2016 Oct 04
2
encoder with FEC+DTX enabled but not detecting noise
Hi, When we pass around 9K samples of only ambient noise (no voice), the encoder which is enabled FEC+DTX is detecting only some 140 frames as non-voice (returning only TOC, no frame content). We were expecting all or more to be identified as non-voice. Our idea was to check how the decoder re-generates the original ambient noise during the silence duration (when we feed NULL to decoder) when the FEC+...
2004 Aug 06
2
DTX in speech
Hello, I am trying to use the DTX feature of speex to tell if the user is speaking. I have VBR, DTX and VAD turned on, but the function speex_encode always returns a non-zero value. It is my understanding that it should return a zero value when the encoder detects silence? Could anyone give me any clues to help figure out why this...
2006 Oct 24
2
Does VAD/DTX work without VBR and Preprocessor
Hello, I'm try to run speex on some ARM processor. I'd like to cut away some speex features including VBR, ABR and preprocessor while still supporting VAD/DTX. But I've found some puzzles in the source code regarding VAD as below, 1) there are VAD related codes in the source file preprocess.c. Will VAD still work If I don't use the source file preprocess.c? 2)The speex manual says VAD can work without VBR enabled. But I found it's not lik...
2014 Jun 26
0
Opus DTX issue report
The email might have been blocked due to the attachment size, here?s a link to it. https://www.dropbox.com/s/r9j7l3cbb02ob7i/opusDtx_noiseFix1_inOut.zip Pascal On 26/06/14 19:02, "Pascal Huart (phuart)" <phuart at cisco.com> wrote: >Hi Jean-Marc, >Thanks for the fix, the reconstructed signal is now much better. >Unfortunately there are still discontinuities which show for specific >signal levels. F...
2016 Sep 16
0
Opus DTX support
Hi, I want use opus DTX to save bandwidth in my half duplex VOIP project, so i require help for below questions 1)what is opus DTX and documents to study DTX. 2)if opus DTX is enable do i need send comfort noise or completly drop silence detected frame. 3)How extactly OPUS DTX works with RTP protocol. 4) how to test with...
2010 Sep 04
1
Possible malformed G729B - SID (VAD/DTX) frames from carrier endpoint ?
...sue for a client of ours that is a VoIP services provider. The client uses a softphone that runs on a pjsip stack. When placing a call using the softphone, it negotiates the use of G729 codec with the remote endpoint (ptime = 20ms). The endpoint transmits RTP packets with encoded G729 payload. VAD/DTX is enabled. We see that the last frame transmitted by the carrier side endpoint, before the beginning of a period of discontinuous transmission has 20 bytes of payload. We have verified that VAD/DTX is used by the carrier side endpoint by noting that there exist successive RTP packets that differ b...
2017 Jul 06
1
Suggested patch, opus_encoder.c, decide_dtx_mode()
While porting opus 1.2.1 to esp32, my compiler had a grumble (error) about possible use of uninitialized variables in decide_dtx_mode() Existing code: --------SNIP--------- /* Decides if DTX should be turned on (=1) or off (=0) */ static int decide_dtx_mode(float activity_probability, /* probability that current frame contains speech/music */ int *nb_no_activity_frames, /* number of consecu...
2005 Sep 02
2
DTX mode using preprocessor?
Could a method be added to use the VAD from the preprocessor to send the packet with the 'dtx_enable' flag in it, so the decoder on the other end knows it's in dtx mode? (and SPEEX_GET_DTX_STATUS returns 1) At the moment, I can hack around it by doing something like: if (VAD for prev frame && ! VAD for this frame) { iArg = 0; speex_encoder_ctl(m_esEncState,SPEEX_SET...
2004 Aug 06
1
DTX and VAD doesn't work on one of my computers.
Hi there, I enable DTX and VAD in speex_encode to detect whether there is silence in voice data. But the same programme got different result on my computers. The function speex_encode always return 38 on one of my computers although it is silence. On all other computers the function speex_encode return 1 when it is silen...
2017 Oct 17
1
Fix DTX is always unavailable when DISABLE_FLOAT_API is not defined
Hi. I found that DTX is always unavailable when DISABLE_FLAOT_API is not defined in OPUS_AUTO mode. As you know analysis_info.valid is alway true except NaN case and is_silence is alway true except digital zero signal case. In general, following condition will be alway true except exceptional case. (analysis_info.va...
2018 Oct 16
0
Periodical noise during DTX
Hi. I experienced same issue reported in https://gitlab.xiph.org/xiph/opus/issues/2026 The problem is that there are periodical(400ms) noise during DTX when the noise changed dramatically. I have found that the VAD value of silk does not affects to the DTX decision. If the background noise suddenly changes(by excessive echo cancellation, mute on/off operation, etc.) the silk generate a voice activated frame. Nevertheless, opus keeps the DTX sta...