Displaying 18 results from an estimated 18 matches for "opus_bandwidth_wideband".
2016 Jun 12
2
Patches for adding 120 ms encoding
...bled, would be 3 times as effective. Similarly, two 40ms
SILK frames would be more efficient than four 20ms SILK frames.
- /* Can't support higher than wideband for >20 ms frames */
- if (frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
st->bandwidth > OPUS_BANDWIDTH_WIDEBAND))
+ /* Can't support higher than wideband for >20 ms frames,
CELT-only for >20 ms and SILK-only for >60 ms */
+ if ((frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
st->bandwidth > OPUS_BANDWIDTH_WIDEBAND)) ||
+ (frame_size > 3*st->Fs/...
2016 Jun 10
2
Patches for adding 120 ms encoding
...ld merge the explicit check for
>> > 120 ms frame and the existing checks for 40/60 ms wideband?
>>
>> What I mean is that this line in opus_encoder.c:
>>
>> if (frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
>> st->bandwidth > OPUS_BANDWIDTH_WIDEBAND))
>>
>> can probably be extended to also cover 80/100/120 ms. One difference is
>> that it would also need to trigger for SILK-only > 60 ms.
>>
>> Cheers,
>>
>> Jean-Marc
>>
>
-------------- next part --------------
An HTML attachment wa...
2016 Jun 02
3
Patches for adding 120 ms encoding
...g and
> repacketizing bit. Or do you mean I should merge the explicit check for
> 120 ms frame and the existing checks for 40/60 ms wideband?
What I mean is that this line in opus_encoder.c:
if (frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
st->bandwidth > OPUS_BANDWIDTH_WIDEBAND))
can probably be extended to also cover 80/100/120 ms. One difference is
that it would also need to trigger for SILK-only > 60 ms.
Cheers,
Jean-Marc
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 encode 48khz sampled audio:
opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_WIDEBAND))
opus_encoder_ctl(enc, OPUS_GET_BANDWIDTH...
2016 Jun 27
2
Patches for adding 120 ms encoding
...so that SILK 120/80 ms encode 2x 60 and
> 2x 40 ms respectively.
>
>
>>
>>
>> - /* Can't support higher than wideband for >20 ms frames */
>> - if (frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
>> st->bandwidth > OPUS_BANDWIDTH_WIDEBAND))
>> + /* Can't support higher than wideband for >20 ms frames,
>> CELT-only for >20 ms and SILK-only for >60 ms */
>> + if ((frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
>> st->bandwidth > OPUS_BANDWIDTH_WIDEBAND)) ||
&g...
2016 Jun 28
1
Patches for adding 120 ms encoding
...vely.
> >>
> >>
> >>>
> >>>
> >>> - /* Can't support higher than wideband for >20 ms frames */
> >>> - if (frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
> >>> st->bandwidth > OPUS_BANDWIDTH_WIDEBAND))
> >>> + /* Can't support higher than wideband for >20 ms frames,
> >>> CELT-only for >20 ms and SILK-only for >60 ms */
> >>> + if ((frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
> >>> st->bandwidth...
2015 Mar 04
2
adaptive bandwidth
...ua
On Wed, Mar 4, 2015 at 5:53 PM, Dragos Oancea <droancea at yahoo.com> wrote:
> Hi Kelvin,
>
> You can use something like :
> opus_encoder_ctl(enc,OPUS_SET_BITRATE(bitrate));
> opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(bandpass));
> bandpass is the audio bandpass , eg: OPUS_BANDWIDTH_WIDEBAND .
>
> You will need to calculate the codec bitrate from the available network
> bitrate (by taking into account the size of the IP+UDP+RTP headers which is
> 40 bytes ) .
> By default the audio bandwidth (bandpass) setting is
> OPUS_BANDWIDTH_FULLBAND , which will utilize more net...
2016 Jun 13
0
Patches for adding 120 ms encoding
...makes sense, I've changed it so that SILK 120/80 ms encode 2x 60 and
2x 40 ms respectively.
>
>
> - /* Can't support higher than wideband for >20 ms frames */
> - if (frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
> st->bandwidth > OPUS_BANDWIDTH_WIDEBAND))
> + /* Can't support higher than wideband for >20 ms frames,
> CELT-only for >20 ms and SILK-only for >60 ms */
> + if ((frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
> st->bandwidth > OPUS_BANDWIDTH_WIDEBAND)) ||
> + (fra...
2016 Jun 27
0
Antw: Re: Patches for adding 120 ms encoding
...x 60 and
>> 2x 40 ms respectively.
>>
>>
>>>
>>>
>>> - /* Can't support higher than wideband for >20 ms frames */
>>> - if (frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
>>> st->bandwidth > OPUS_BANDWIDTH_WIDEBAND))
>>> + /* Can't support higher than wideband for >20 ms frames,
>>> CELT-only for >20 ms and SILK-only for >60 ms */
>>> + if ((frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
>>> st->bandwidth > OPUS_BANDWIDTH_...
2012 Sep 10
11
Cleanup/build improvement for opus
Hello all,
after FOMS I decided to take a look at the opus library and I found
that I could improve a bit the build system and cleanup the code a
little bit.
Most of the changes to the code has been suggested by my two tools
cowstats and missingstatic (part of the ruby-elf gem if you care).
HTH,
Diego
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
2014 Nov 17
0
Opus complexity and VOIP for mobile devices
...gle.com/p/webrtc/issues/detail?id=3093Freeswitch is using complexity 10 .What is the impact of this setting on the decoder, when for example a device is encoding with complexity level 0 , but it's receiving a stream encoded with level 10 ???
We plan to use Opus with OPUS_BANDWIDTH_NARROWBAND or OPUS_BANDWIDTH_WIDEBAND .
Thank you.
Regards,Dragos Oancea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20141117/ff79a11b/attachment.htm
2015 Mar 04
0
adaptive bandwidth
Hi Kelvin,
You can use something like :opus_encoder_ctl(enc,OPUS_SET_BITRATE(bitrate));opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(bandpass));
bandpass is the audio bandpass?, eg: OPUS_BANDWIDTH_WIDEBAND .
You will need to calculate the codec bitrate from the available network bitrate (by taking into account the size of the IP+UDP+RTP headers which is 40 bytes ) .
By default the audio bandwidth (bandpass) setting is OPUS_BANDWIDTH_FULLBAND , which will utilize more network bandwidth .
Regards,Drag...
2016 Jun 02
0
Patches for adding 120 ms encoding
...t. Or do you mean I should merge the explicit check for
> > 120 ms frame and the existing checks for 40/60 ms wideband?
>
> What I mean is that this line in opus_encoder.c:
>
> if (frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
> st->bandwidth > OPUS_BANDWIDTH_WIDEBAND))
>
> can probably be extended to also cover 80/100/120 ms. One difference is
> that it would also need to trigger for SILK-only > 60 ms.
>
> Cheers,
>
> Jean-Marc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x...
2016 Jun 11
0
Patches for adding 120 ms encoding
...gt; check for
> > 120 ms frame and the existing checks for 40/60 ms wideband?
>
> What I mean is that this line in opus_encoder.c:
>
> if (frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
> st->bandwidth > OPUS_BANDWIDTH_WIDEBAND))
>
> can probably be extended to also cover 80/100/120 ms. One
> difference is
> that it would also need to trigger for SILK-only > 60 ms.
>
> Cheers,
>
> Jean-Marc
>
2016 Jun 01
2
Patches for adding 120 ms encoding
Hi Felicia,
I still don't quite understand why you need to make 120 ms a special
case, rather than extend the code that already handles 40 ms and 60 ms.
Cheers,
Jean-Marc
On 06/01/2016 12:58 PM, Felicia Lim wrote:
> Hi all,
>
> I've just realized that there's a better and simpler way of doing this
> which ensures that analysis and selection of the mode/bandwidth etc
2016 Jun 10
0
Patches for adding 120 ms encoding
...ng and
> repacketizing bit. Or do you mean I should merge the explicit check for
> 120 ms frame and the existing checks for 40/60 ms wideband?
What I mean is that this line in opus_encoder.c:
if (frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
st->bandwidth > OPUS_BANDWIDTH_WIDEBAND))
can probably be extended to also cover 80/100/120 ms. One difference is
that it would also need to trigger for SILK-only > 60 ms.
Cheers,
Jean-Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/opus/attachments/2...
2015 Mar 04
0
adaptive bandwidth
...the list tried this?
Kelvin Chua
On Wed, Mar 4, 2015 at 5:53 PM, Dragos Oancea <droancea at yahoo.com> wrote:
Hi Kelvin,
You can use something like :opus_encoder_ctl(enc,OPUS_SET_BITRATE(bitrate));opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(bandpass));
bandpass is the audio bandpass?, eg: OPUS_BANDWIDTH_WIDEBAND .
You will need to calculate the codec bitrate from the available network bitrate (by taking into account the size of the IP+UDP+RTP headers which is 40 bytes ) .
By default the audio bandwidth (bandpass) setting is OPUS_BANDWIDTH_FULLBAND , which will utilize more network bandwidth .
Regards,Drag...