Displaying 7 results from an estimated 7 matches for "bitrate_bp".
Did you mean:
bitrate_bps
2016 Sep 07
2
[PATCH] Fix ambisonics bitrate when bitrate_bps is OPUS_AUTO
...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 (st->bitrate_bps==OPUS_AUTO)
{
- total_rate = num_channels * (20000 + st->layout.nb_streams*(Fs+60*Fs/frame_size));
+ total_rate = (st->layout.nb_coupled_streams + st->layout.nb_streams) *
+ (Fs+60*Fs/frame_size) + st->layout.nb_streams * 15000;
} else if (st->bitrate_bps==...
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
2014 Jun 05
0
opus_multistream_encode_float not working in libopus 1.1
In debugging I saw:
opus_multistream_encoder.c
line 760
if(!vbr)
max_data_bytes = IMIN(max_data_bytes,
3*st->bitrate_bps/(3*8*Fs/frame_size));
max_data_bytes after this code becomes -2 where as before it was
10200. I suspect it was because st->bitrate_bps was set to -1000 to
indicate Auto bitrate. I imagine Max bitrate (-1) has a slightly
similar effect.
then in the same c file
line 846
curr_max = max...
2014 Jun 21
1
opus_multistream_encode_float not working in libopus 1.1
Hi,
I just checked in a fix for the bug you reported. Let me know if it works.
Cheers,
Jean-Marc
On 05/06/14 12:41 AM, Alpha Thinktink wrote:
> In debugging I saw:
> opus_multistream_encoder.c
> line 760
> if(!vbr)
> max_data_bytes = IMIN(max_data_bytes,
> 3*st->bitrate_bps/(3*8*Fs/frame_size));
>
> max_data_bytes after this code becomes -2 where as before it was
> 10200. I suspect it was because st->bitrate_bps was set to -1000 to
> indicate Auto bitrate. I imagine Max bitrate (-1) has a slightly
> similar effect.
>
> then in the same c f...
2017 Apr 06
1
Encoding OPUS with difference bitrates
...ames/packet to
the respective channel. For this I changed the opus_demo as below. But the
output of the second encoded frames is completely garbled.
Appreciate if anyone can suggest how to handle this case.
if(1)
{
opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrate_bps));
len[toggle] = opus_encode(enc, in, frame_size,
data[toggle], max_payload_bytes);
}
if(1)
{
opus_encoder_ctl(enc, OPUS_SET_BITRATE(32000));
enc_size = opus_encode(enc, in, frame_size, tmpBuffer,
max_p...
2018 Aug 30
0
[PATCH] Apply equal bit allocation to ambisonic channels
.../* The omnidirectional ambisonics and non-diegetic stereo channels */
- const int nb_nondirectional_channels = st->layout.nb_coupled_streams * 2 + 1;
- /* The remaining ambisonics channels */
- const int nb_directional_channels = nb_channels - nb_nondirectional_channels;
if (st->bitrate_bps==OPUS_AUTO)
{
@@ -769,46 +758,12 @@ static void ambisonics_rate_allocation(
total_rate = st->bitrate_bps;
}
- /* Let y be the directional rate, m be the num of nondirectional channels
- * m = (s + 1)
- * and let p, q be integers such that the nondirectional rate is
-...
2016 Mar 24
0
opus1.1.2's bug
...s poor in a set of parameters when processing a specific audio file.
input file:data.pcm
some changed parameters in opus_demo.c is :use_vbr = 0; complexity = 0; packet_loss_perc = 16.
opus_demo.exe command line:voip ?16000 1 17000?-cbr -framesize 20 E:/data.pcm E:/dec_data.pcm
if the bitrate_bps is changerd from 17000 to 16999,the result is better.It doesn't make sense.
Hope to get your help.
best wishes
Yan Li
----...