similar to: Encoding OPUS with difference bitrates

Displaying 20 results from an estimated 300 matches similar to: "Encoding OPUS with difference bitrates"

2013 Oct 06
1
Encoder off by one
If you encode with int iByteSizeEncoded = opus_encode(m_enc, m_ShortsInput, (1920/sizeof(short)), m_EncodedBytes, (960*6)); ... the byte size is 120. I thought that an odd value like 359 has to be a fault on my side. I thought it would be a multiple of something. So 359 is really correct??? Thank you for clearing this up. Am 06.10.2013 16:50, schrieb Jean-Marc Valin: > Why
2015 Mar 04
2
adaptive bandwidth
Thanks Dragos, I assume I will be setting those parameters during initialization of encoder right? Question is, if connection gets too lossy, how will opus adapt to it? Can it automatically shift bitrate down to minimize impact? Mark from IRC suggests that the app has to be aware of the losses and change it on the fly. Has anybody on the list tried this? Kelvin Chua On Wed, Mar 4, 2015 at 5:53
2015 Feb 23
1
[PATCH] opus_demo: remove unused but set values
--- src/opus_demo.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/opus_demo.c b/src/opus_demo.c index 72506b5..5a75679 100644 --- a/src/opus_demo.c +++ b/src/opus_demo.c @@ -245,14 +245,14 @@ int main(int argc, char *argv[]) double bits=0.0, bits_max=0.0, bits_act=0.0, bits2=0.0, nrg; double tot_samples=0; opus_uint64 tot_in, tot_out; - int
2015 Mar 04
2
adaptive bandwidth
I am using libopus for my implementation. I wonder if anybody in the list have any experience on how to make libopus dynamically adjust its bitrate? On Mar 3, 2015 10:42 PM, "Benjamin Schwartz" <benjamin.m.schwartz at gmail.com> wrote: > It sounds like your software isn't adjusting the opus bitrate in response > to network conditions. For example, many WebRTC
2020 Jun 11
1
OPUS encoded data size and bandwidth of encoder
Hey, I am having trouble with the size of the encoded bytes by Opus. I am also having issue with the Bandwidth ctl. Here is the scenario. If I encode 16khz sampled audio: opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(OPUS_BANDWIDTH_WIDEBAND)) opus_encoder_ctl(enc, OPUS_GET_BANDWIDTH(&x)) = 1102 opus_encoder_ctl(enc, OPUS_GET_MAX_BANDWIDTH(&x)) = 1103 average encoded size = 120 bytes if I
2016 Sep 07
2
[PATCH] Fix ambisonics bitrate when bitrate_bps is OPUS_AUTO
Change-Id: I16bd4cd990d8ad5888c9e30016218ac25242ecb5 --- src/opus_multistream_encoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/opus_multistream_encoder.c b/src/opus_multistream_encoder.c index 30cafe1..c07132f 100644 --- a/src/opus_multistream_encoder.c +++ b/src/opus_multistream_encoder.c @@ -747,7 +747,8 @@ static void ambisonics_rate_allocation( if
2018 Jan 15
1
Ask for suggestions about optimizing opus on STM32F407
Hello Thomas and Amit, Thanks for your notice and the detailed decode performance report. I describe the details of my encode/decode test on STM32F407ZG. A. opus version: latest 1.2.1 (TI: opus 1.1.2) B. KEIL 5.23 (TI: ARM compiler tool chain 5.2.7) C. setup the encoder as the below (fs is the sampling frequency) enc = opus_encoder_create(fs, chans, OPUS_APPLICATION_AUDIO, &opus_err);
2014 Jun 04
4
opus_multistream_encode_float not working in libopus 1.1
On Wed, Jun 4, 2014 at 4:31 PM, Timothy B. Terriberry <tterribe at xiph.org> wrote: > Alpha Thinktink wrote: >> max_data_bytes=-11 > > That value is passed in by you. I also don't think passing such a value > would have worked in earlier releases. It indicates the size of the > buffer you are passing to the encoder to receive the encoded output. Actually, I'm
2008 Feb 15
0
speex echo problem in my own softphone to POTS
Hi, I use SpeexEcho in my own softphone using MGCP protocol register to a PBX under WindowsXP in my laptop. I make a call: softphone ---> PBX ----> MediaGateWay ---PotsLine---> Traditional Phone. In the other side(TraditionalPhone), I did not here any echo voice, SpeexEcho works well. But, if I let laptop to make some sounds, such as play music, I heard all
2014 Feb 27
1
OPUS_SET_MAX_BANDWIDTH does not have expected results
Hi All. I am seeing the following unexpected behavior with OPUS_SET_MAX_BANDWIDTH. I expect that setting this to OPUS_BANDWIDTH_NARROWBAND would give similar results to passing an 8Khz sample rate stream, but OPUS_SET_MAX_BANDWIDTH has almost no effect with any settings. My test data has 4Khz bandwidth. I am testing the opus encoder (latest versions) with the following opus_encoder_ctl
2018 Feb 20
2
[EXTERNAL] Re: Developing OPUS on TI CC3220
Jean-Marc, Thanks for the response and the helpful info. I am trying to get the library to build without using the pseudostack define, and use either VAR_ARRAYS or ALLOC, but it seems the global stack is not defined. Where do can I define this in my example? VR -----Original Message----- From: Jean-Marc Valin [mailto:jmvalin at jmvalin.ca] Sent: Tuesday, February 20, 2018 5:40 PM To:
2018 Jan 06
3
Ask for suggestions about optimizing opus on STM32F407
<style>table.customTableClassName {margin-bottom: 10px;border-collapse: collapse;display: table;}.customTableClassName td, .customTableClassName th {border: 1px solid #ddd;}</style><div id="write-custom-write" tabindex="0" style="font-size: 12px; font-family: 宋体; outline: medium none currentcolor;"><p style="margin:0px;">Dear
2014 Oct 27
0
Codec setting using fmtp maxaveragebitrate and OPUS_SET_BITRATE
Hi Folks, thanks for the great work, not sure if this is the right list for this type of quesiton. We are looking to use only Opus as "one codec for all", with VoIP-out obviously we want to tune it. I am planning to use fmtp in SDP to control server/client Opus settings. Something like : - *maxplaybackrate*: a hint about the maximum output sampling rate that the receiver is
2018 May 12
2
Formula/heuristic for estimating packet size?
Thanks for the input! --Albin On Sat, May 12, 2018 at 6:00 PM, Orestes Zoupanos <oresteszoupanos at hotmail.com> wrote: > Hi Albin! > > There may be some details at: https://tools.ietf.org/html/rfc7845#section-6 > > Otherwise, I hope someone else on this list might be able to give a better > formula for estimating packet size. > > Regards, > > Orestes >
2016 Nov 10
1
Error running opus encoder/decoder under PIC32
I'm new using OPUS and I've implemented the OPUS lib under PIC32MZ, using the MIPS configuration. It compiles correctly and it seems that all the procedures invoked returns no error. However, when I excite the encoder with a pure 1 kHz tone, the encoding/decoding procedure returns al the samples to silence (the buffer is filled with 0x8001 or 0x7fff). The configuration is 48000 sps, 64kHz
2016 Oct 17
0
Opus Demo code
Hi, I was wondering if someone could help me. I'm having a bit of a problem with opus_demo.c. I created a new library and refactored the code to only do a decode. I then encoded a wav file using the Opus tool OpusEncode.exe. When I try to decode the file encoded with OpusEncode.exe using the code refactored from opus_demo.c, the code appears to be reading from the wrong point in
2018 Apr 25
0
How to change codec frame_size at runtime
Hi all, Please guide me How to change frame_size of opus codec at run-time (20ms, 40ms, 60ms) I'm stucking in this case: 1. init codec width default config (frame_size =20ms, bandwidth=48KHz, bitrate = 48kbps...), then in runtime changing: - bitrate = 24, 16, 6kbps: sound is OK - frame_size = 40ms, 60ms: Not OK, sound is distort so bad 2. init codec with frame_size = 40ms , others is
2012 Sep 17
9
[PATCH] Upgrade vtpmd to berlios version 0.7.4
What will follow soon are updates to vtpmd, vtpm_manager, xm, xl, mini-os, and new vtpm and vtpm manager stub domains. The first patch I''d like to submit upgrades vtpmd to version 0.7.4 This patch does the following: -add checks to configure to check for cmake (required by berlios 0.7.4) -removes all of the 0.5.1 patches -adds a single patch for 0.7.4 -cleans up the makefile, should
2019 Feb 17
2
Custom mode
Hi all ! If someone could give me a hint on how to proceed with the following i'd be very happy: I have a test setup on an nrf52832 (Cortex M4) in which I receive audio from a PDM microphone (64 sample frame) and pass it directly to an I2S device i.e. from ISR to ISR. With uncompressed audio this works just fine. Now I try to insert OPUS1.3 in the path but cannot make it work. The
2018 Feb 23
3
[EXTERNAL] Re: Developing OPUS on TI CC3220
Thanks Jean-Marc, I was able to get both encode and decode working the CC3220 device! But for bi-directional communication, I need decode and encode to occur in less time than the frame size I’m sending (20 ms). Currently decode takes 16~22 ms and encode is ~13 ms. What is the best way to try to reduce this time? Also, unsure why encode is taking less time than decode... I've also