Copyright © 2001-2023 MultiMedia Soft

EncodeFormats.MP3.CBR property

Previous pageReturn to chapter overviewNext page

Type

long for Visual Basic

long for Visual C++

 

 

Remarks

The Constant Bitrate (CBR), expressed in bits per second (bps), used for MP3 format.

 

This is the default encoding mode, and also the most basic. In this mode, the bitrate will be the same for the whole file. It means that each part of your mp3 file will be using the same number of bits. The musical passage being a difficult one to encode or an easy one, the encoder will use the same bitrate, so the quality of your mp3 is variable. Complex parts will be of a lower quality than the easiest ones. The main advantage is that the final files size won't change and can be accurately predicted.

 

Note that, depending upon the chosen input format (fixed to 44100 Hz, 16 bits, Stereo for CD ripping sessions), not all of the bitrate values are supported by Lame.

The full list of Constant Bitrates, supported by a certain frequency, can be obtained using the EncodeFormats.MP3.GetLameEncodingBitratesCountEx and EncodeFormats.MP3.GetLameEncodingBitrateEx methods.

 

This property is used only if the EncodeFormats.FormatToUse property is set to ENCODING_FORMAT_MP3 and the EncodeFormats.MP3.EncodeMode property is set to MP3_ENCODE_CBR.

 

This property is the same as entering the -b <kbps> --cbr setting inside the Appendix C - Lame command line.

 

For further details about encoding in MP3 format refer to the MP3 object section.

For further information about available encoding formats see the EncodeFormats object.