Displaying 11 results from an estimated 11 matches for "opus_set_bandwidth".
2019 Nov 01
2
Q: Bandwidth vs. bitrate
....10.2019, 14:39 >>>
Hi Ulrich,
I assume you've been using opusenc to encode the files. If that is the
case you can try giving the encoder some more hints about your files:
opusenc --speech --set-ctl-int 4008=1103 ...
The latter should tell the encoder that the signal bandwidth is 8kHz
(OPUS_SET_BANDWIDTH). See opus_defines.h for all valid numbers. You can
also experiment with the complexity settings.
-Mathias
_______________________________________________
opus mailing list
opus at xiph.org
http://lists.xiph.org/mailman/listinfo/opus
2019 Oct 30
5
Q: Bandwidth vs. bitrate
Hi!
I have some MP3 audio material which is basically speech with some background noises, essentially > 120Hz and < 5kHz.
I had the idea to reduce the file size by recoding the material to Opus at 56kbps. Unfortunately the result is a file sampled at 48kHz much larger than the original.
I hope you agree that it does not make sense to create a file larger than the original (MP3). Of course
2019 Oct 31
1
Antw: Re: Q: Bandwidth vs. bitrate
...;
> I assume you've been using opusenc to encode the files. If that is the
> case you can try giving the encoder some more hints about your files:
>
> opusenc --speech --set-ctl-int 4008=1103 ...
>
> The latter should tell the encoder that the signal bandwidth is 8kHz
> (OPUS_SET_BANDWIDTH). See opus_defines.h for all valid numbers. You can
> also experiment with the complexity settings.
>
> -Mathias
>
> _______________________________________________
> opus mailing list
> opus at xiph.org
> http://lists.xiph.org/mailman/listinfo/opus
2015 Apr 02
1
Opus multi-stream/surround: Audio corruption on decoded content
...if (err != OPUS_OK)
return;
m_SurroundInfo.s.streams = (unsigned char)streams;
m_SurroundInfo.s.coupled_streams = (unsigned char)coupled_streams;
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_BITRATE(bitRate));
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_BANDWIDTH(OPUS_AUTO));
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_VBR(0));
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_VBR_CONSTRAINT(0));
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_COMPLEXITY(10));
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_INBAND_FEC(0));...
2018 Jan 15
1
Ask for suggestions about optimizing opus on STM32F407
...ion: 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);
opus_encoder_ctl(enc, OPUS_SET_BITRATE(fs * 2));
opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_AUTO));
opus_encoder_ctl(enc, OPUS_SET_VBR(1));
opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(0));
opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(0));
opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(0));
opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS(OPUS_AUTO));
opus_encoder_ctl(enc, OPUS_SET_DTX(0...
2015 May 26
1
encoder configuration
Hi,
How can I force encoder to create stereo?
OPUS_SER_FORCE_CHANNELS only works for mono
How can I force encoder to encode at a specific bandwidth?
OPUS_SER_BANDWIDTH only works for FB (1105), and the encoder
Seems to encode at the input samples rate, no rate conversion is done
Thanks,
Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2019 Oct 30
0
Q: Bandwidth vs. bitrate
Hi Ulrich,
I assume you've been using opusenc to encode the files. If that is the
case you can try giving the encoder some more hints about your files:
opusenc --speech --set-ctl-int 4008=1103 ...
The latter should tell the encoder that the signal bandwidth is 8kHz
(OPUS_SET_BANDWIDTH). See opus_defines.h for all valid numbers. You can
also experiment with the complexity settings.
-Mathias
2019 Nov 01
0
Q: Bandwidth vs. bitrate
...signal analysis (done for >= 8, if I remember
correctly) and determine the "best" bit allocation.
Now if the noise contained in your signal has some energy in the upper
bands, the encoder might try to encode that as well (assuming 48kHz
input). In order to avoid that, the codec control OPUS_SET_BANDWIDTH
might have been helpful.
-Mathias
2020 Jun 11
1
OPUS encoded data size and bandwidth of encoder
...khz 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(&x)) = 1103
opus_encoder_ctl(enc, OPUS_GET_MAX_BANDWIDTH(&x)) = 1103
average encoded size = 280 bytes
I do not understand why 48khz encoded data has more bytes even when I am
asking it to encode to a smaller frequency rang...
2015 Apr 02
0
Opus multi-stream/surround: Audio corruption on decoded content
...if (err != OPUS_OK)
return;
m_SurroundInfo.s.streams = (unsigned char)streams;
m_SurroundInfo.s.coupled_streams = (unsigned char)coupled_streams;
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_BITRATE(bitRate));
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_BANDWIDTH(OPUS_AUTO));
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_VBR(0));
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_VBR_CONSTRAINT(0));
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_COMPLEXITY(10));
opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_INBAND_FEC(0));...
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