Subscribe Subscribe via: (Email/RSS)

Constant and Variable Bit Rates

Filed under Podcasting, Technology, Web Technology

CBR vs VBR By now you’ve probably heard of the term “bit rate” used in connection with MP3 tracks and podcasts, you may even know that higher bit rates give better quality audio. However, like most things in life, nothing is simple and we can further complicate the whole bit rate discussion with variable and constant bit rates. So, what are the pros and cons of these constant and variable bit rates?

Choosing a bit rate for a podcast, or an MP3 track, is a bit of a balancing act at the best of times. On the one hand, higher bit rates (variable or constant) give improved audio quality, whilst on the other they lead to bigger file sizes.

Introducing yet another variable into the equation, that of constant or variable bit rates, only serves to confuse the situation even further. What then are the relative pros and cons that may affect your choice of type of bit rate to use?

Balancing Bit Rates

If you’re not familiar with bit rates, then my previous post on What are bit rates? should point you in the right general direction and help to get you started.

In essence, higher bit rates give improved audio quality, no matter whether variable or constant bit rates are used. However, higher bit rates will always lead to larger file sizes, which in turn lead directly to longer download times and require more storage space.

When choosing which bit rate to use for your podcast or MP3 track, you really need to go for the highest bit rate possible, while retaining reasonable file sizes and practical download times.

Accepting the fact that you need to choose the highest practical bit rate you can, which option should you go for next (assuming your encoding software gives you the option) constant or variable bit rates?

Constant Bit Rates

Constant Bit Rates (CBR) are pretty much as their name suggests, where one fixed, or constant bit rate is used for the entire file or track.

However, constant bit rates are not optimal as they waste valuable data bits encoding simple sections of audio, and conversely may not use sufficient data bits on more complex audio passages, resulting in poorer audio quality during these sections.

The more complex audio sections of tracks encoded with a constant bit rate will be of a lower audio quality compared to the more simple sections of audio within the same track, so a suitable bit rate must be chosen that provides sufficient audio quality for the most demanding sections of the audio being encoded.

Constant bit rates are easier and therefore faster to encode compared to variable bit rates and lead to consistent and predictable file sizes. Being an older format, constant bit rates are more compatible with older MP3 players.

Variable Bit Rates

Variable Bit Rates (VBR) are likewise pretty much as their name suggests, where the bit rate may change throughout the file or track being encoded.

Variable bit rate encoding analyses the audio file, adapting the bit rate as it goes to match the complexity of the audio it encounters.

For simple audio passages, the system automatically turn its bit rate down, saving valuable data bits, while retaining the perceived audio quality. Conversely, during more complex passages, the system automatically turns its bit rate up, using more data bits to retain the same level of audio quality.

Using this method, the average audio quality of a file can be increased as the available data bits are used more flexibly to encode the sound data with increased overall accuracy.

When encoding an MP3 track or podcast with the VBR method, the encoding software usually allows you to decide on the overall quality of the resulting track that you desire, after which the system encoder uses the bits required to achieve this defined quality level. Higher quality levels will require more bits.

Compared to constant bit rates, variable bit rates produce smaller file sizes for a given audio quality. However, as the bit rates are variable, it’s difficult to predict the size off these files in advance.

Variable bit rates are harder and therefore slower to encode compared to constant bit rates, as the adaptive encoding process is more complex an processor intensive.

Being a more recent encoding method, some older MP3 players or computer software may not be compatible with variable bit rate encoded MP3 tracks or podcasts.

Constrained Variable Bit Rates

A Constrained Variable Bit Rate (CVBR) is a flavour of variable bit rate, where the maximum bit rate allowed, or the Average Bit Rate (ABR) are predefined.

For example, encoding an audio track with the bit rate set to be an average of 128kbps should produce a resultant audio file of higher perceived quality than the same track of encoded at 128kbps CBR, as the ABR file can use data bits it saved during the simpler passages to add extra data bits (above the 128kbps average) to the more complex passages to improve the overall audio quality.

Which to Use and When

Compatibility

Generally speaking, encoding an MP3 track or podcast using a constant bit rate will be better for the sake of compatibility compared to using a variable bit rate, as some older MP3 players don’t support variable bit rates.

By way of example, in their guidelines for broadcast media, the BBC recommends the use of constant bit rates for their all of their podcasts and downloadable audio files.

Quality

If compatibility isn’t a significant issue for you, then you will probably be better off using a form of variable bit rate of encoding to squeeze the best audio quality that you can out of the available bits.

Whether you choose to use a constrained variable bit rate, so that you can keep a handle on the size of file you’re likely to get, or go for a fully variable bit rate, is entirely up to you.

However, before fixing which method you’re going to use, it may be best to do a few test recordings using different bit rates and bit rate types, before deciding on which suits your purposes best.

In Summary

Constant Bit Rates Variable Bit Rates
Variable Audio Quality Constant, Definable Audio Quality
Predictable File Sizes Unpredictable File Sizes
Compatible With Most Systems Unpredictable Compatibility

 

Posted on 18 April 2009

If you liked this post...

Why not subscribe via RSS or e-mail, it's FREE!

Please feel free to leave a comment.

Related Articles...

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>