# How to get transcode audio to be in CBR

**URL:** <https://community.wowza.com/t/how-to-get-transcode-audio-to-be-in-cbr/54904>\
**Category:** Wowza Streaming Engine\
**Tags:** transcoder\
**Created:** [March 30, 2020, 1:52pm UTC](https://community.wowza.com/t/how-to-get-transcode-audio-to-be-in-cbr/54904 "2020-03-30T13:52:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Sleman](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@Michael\_Sleman](https://community.wowza.com/u/Michael_Sleman)\
**Post date:** [March 30, 2020, 1:52pm UTC](https://community.wowza.com/t/how-to-get-transcode-audio-to-be-in-cbr/54904/1 "2020-03-30T13:52:13Z")

</div>

I’m streaming to RTP and my receiver requires CBR video and audio. I manage to get a transcoding profile to convert the video to CBR but I can’t find the matching audio setting to convert the audio to CBR.

Here’s what I did to convert to CBR video:

```auto
<Name>mainconcept.bit_rate_mode</Name>  
<Value>0</Value>
<Type>Long</Type>

```

…

For audio, so far I have:

```auto
                <Audio>
                    <Codec>AAC</Codec>
                    <Bitrate>64000</Bitrate>
                </Audio>

```

I did turn on **logAudioEncodingParameters** but I don’t see any parameters that indicate how to set mainconcept encoder to use CBR for audio.

Here’s what I get in the access log:

# long: channel copy: 0=donothing, 1=copy-left-over-right, 2=copy-right-over-left

mainconcept.channel\_copy: 0

# long: crc protection: 0=off, 1=on

mainconcept.protect\_adts\_stream: 0

# long: high frequency cut-off

mainconcept.hf\_cutoff: 0

# long: mpeg version: 6=MPEG2\_AAC\_AUDIO, 7=MPEG4\_AAC\_AUDIO, 16=MPEG4\_AAC\_AUDIO\_PSP

mainconcept.mpeg\_version: 7

# long: variable bitrate mode: 0 = off

mainconcept.vbr: 0

# long: temporal noise shaping (tns) algorithm: 0=off, 1=on

mainconcept.tns: 1

# long: aac object type

mainconcept.aac\_object\_type: 2

# long: high efficiency: 0=off, 1=HE-v1, 2=HE-v

mainconcept.he: 0

---

<div class="post-metadata">

**Author:** ![video\_streaming](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@video\_streaming](https://community.wowza.com/u/video_streaming)\
**Post date:** [March 30, 2020, 4:25pm UTC](https://community.wowza.com/t/how-to-get-transcode-audio-to-be-in-cbr/54904/2 "2020-03-30T16:25:55Z")

</div>

To find which Parameters are available for a given encoding, please add the following Property to the transcoding template using a text editor.

```auto
<Property>
    <Name>logVideoEncodingParameters</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
</Property>

```

Once the encoding that contains the above Property is activated/used, you will see a list of Parameters printed in your log file. Please find an article below for more information and configuration details. Follow the same steps for audio…  
[https://www.wowza.com/docs/how-to-control-transcoded-video-with-video-encoding-parameters](https://www.wowza.com/docs/how-to-control-transcoded-video-with-video-encoding-parameters)

**Note:** The _Property_ will be added to the _Properties_ container and the _Parameter_ will be added to the _Parameters_ container when editing your transcoding template.

If you’re using the CPU for transcoding, the Parameter should look like this:

```auto
<!-- bit_rate_mode: 0=H264_CBR, 1=H264_CQT, 2=H264_VBR or 3=H264_TQM -->
<Parameter>
 <Name>mainconcept.bit_rate_mode</Name>
 <Value>2</Value>
 <Type>Long</Type>
</Parameter>

```

---

<div class="post-metadata">

**Author:** ![Michael\_Sleman](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@Michael\_Sleman](https://community.wowza.com/u/Michael_Sleman)\
**Post date:** [March 30, 2020, 6:13pm UTC](https://community.wowza.com/t/how-to-get-transcode-audio-to-be-in-cbr/54904/3 "2020-03-30T18:13:25Z")

</div>

I have already done that as can be done from my question. There’s no option for CBR.

---

<div class="post-metadata">

**Author:** ![Cassidy\_Reilly](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@Cassidy\_Reilly](https://community.wowza.com/u/Cassidy_Reilly)\
**Post date:** [March 30, 2020, 8:06pm UTC](https://community.wowza.com/t/how-to-get-transcode-audio-to-be-in-cbr/54904/4 "2020-03-30T20:06:37Z")

</div>

Yes, but your setup was just a tad different, still sorry that didn’t fix it. So, upon further internal discussion, we’d need to see a support ticket to run some tests on your receiver and setup.

CBR is mostly for video and it wont be 100% CBR as audio is based on various factors - AAC is really tough - to be 100% CBR then you would need a stream with a fixed bitrate encoder such as MP3 (which we do not encode to ), you could try the HE options to see how well it can keep to the assigned bitrate - but I would be surprised if it moves too much.

We’d be happy to try and look more closely and get you what you need but we require full access to your config and files in a ticket. Thanks.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)
