Copyright © 2008-2014 MultiMedia Soft

EncodeFormats.MP2.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 MP2 format during recording or CD ripping sessions.

 

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, not all of the bitrate values are supported by TwoLame.

The full list of Constant Bitrates, supported by a certain frequency, can be obtained using the EncodeFormats.MP2.GetTwoLameEncodingBitratesCountEx and EncodeFormats.MP2.GetTwoLameEncodingBitrateEx methods.

 

This property is used only if the EncodeFormats.FormatToUse property is set to ENCODING_FORMAT_MP2 and the EncodeFormats.MP2.EncodeMode property is set to MP2_ENCODE_CBR

 

This property is the same as entering the -b <kbps> setting inside the Appendix D - TwoLame command line.

 

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

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