What lossy audio formats are more (or less) "efficient"?

6

1

This question is related to the answers I got to this question.

The bitrate-efficient format (see the question's most voted answers and their comments thereunder) would be one that assures a good audio quality at a relatively lower bitrate.

In some cases one may need having files in mp3 format.

It seems that converting a lossy audio (like aac) to other lossy format with a "less efficient" bitrate, like mp3, imposes to use a somewhat higher bitrate for the output file in order to compensate its bitrate "inefficiency".

I understand that aac is amongst the most "efficient" - but what about others?

This logic can be applied to other lossy formats. I would like to know what lossy formats can be considered more (or less) efficient - in this sense - than the others.

user162573

Posted 2013-05-15T09:45:57.377

Reputation:

This is really both content and encoder specific. If you had a file containing pure white noise, you would find that MP3/AAC might actually perform the worst (as they would drastically manipulate the frequency content of the resulting file). And that's when you have to start weighing the pros/cons of either assigning more bits, changing the encoder (or the parameters it uses), or even the codec you chose to begin with.

– Breakthrough – 2013-05-26T16:58:20.607

Answers

7

When you talk about "efficiency", you probably mean the subjective audio quality one codec offers at a given bit rate, i.e. how humans perceive the quality of a sound under certain conditions.

What are the most commonly used and most efficient audio codecs?

Now, there are far too many codecs to be able to compare those. Today, the most relevant and most efficient are:

  • AAC
  • Opus (which is specifically targeted at low bitrates)

And, while a little older, still relevant, but not as efficient:

Which one is the best?

In general, you can say that the AAC family of codecs is much more efficient than MP3. It is probably the codec of choice for most of today's multimedia applications. Opus again is the best choice for almost any application – particularly voice over IP –, but it is not as widely supported on standalone multimedia devices.

For a quality comparison of different codecs, have a look at this figure from the Opus website:

The higher the curve, the better the quality–bitrate tradeoff. You can see how Opus outperforms the other codecs, but AAC is close behind in higher bitrate ranges (which would be typical for complex sound such as music). Notice how bad MP3 is in comparison to most of these codecs?

So, in summary, I would recommend to stick to AAC for multimedia applications.


What versions of AAC are there?

There are various versions of AAC, depending on what features are used. Those are called "profiles". Particularly well known are AAC-LC (low complexity) and HE-AAC (high efficiency). The European Broadcasting Union (EBU) has published a detailed technical review of HE-AAC v2 in 2006, which gives more details about the implementation, its differences from "normal" AAC-LC and compares it to other codecs.

Also, MP3 is quite easily outperformed by AAC and Vorbis in low-bitrate scenarios.


More details on codecs please?

Often, a codec specification only tells you how to decode (i.e. how to structure and parse the bitstream). This means there are no limits on how to write an encoder. Because of that, you can experience drastic differences in the subjective quality between two different MP3 encoders, for example. The same goes for AAC and Vorbis as well.

Since encoders are not standardized, there's quite a bit of competition on the market, and in some cases, "market leaders" have emerged, such as LAME in the section of free MP3 encoders, or FAAC for free AAC encoders (although fdk-aac is supposed to be better). Of course, commercial encoders such as the Fraunhofer MP3 encoder or the Nero AAC encoder exist as well.

It ultimately comes down to personal preference. Naturally, you can't objectively evaluate how "good" an encoder is. You need to get a number of people and have them listen to sound examples. This is called a codec listening test. There are multiple variants of tests, depending on what exactly you want to find out, e.g.:

  • Is codec A better than B? (For example, if AAC is better than MP3 at low bitrates)
  • Which codec is the best? (For example, all kinds of codecs are sorted by preference)

The possible combinations are near endless, and of course these tests are carried out with specific encoders (e.g. FAAC) rather than just testing "AAC" as a codec. As those tests take time and careful preparation, and the results cannot be summarized in one sentence, I suggest you take a look at Wikipedia's result section, where quite a number of test results have been publicized.

Depending on your application, you will find the "most efficient" format under the winners there. For example, here's a listening test taken from the EBU tech report I linked to above, which shows how AAC generally outperforms MP3 and Windows Media Audio at 48 kBit/s (low bitrate):

Another report from the EBU is available, which gives you even more details about the actual test, including the codecs and test settings involved.

slhck

Posted 2013-05-15T09:45:57.377

Reputation: 182 472

And you may want to add that aacPlus, AAC+ and HE-AAC are synonymous. They all refer to an AAC stream that applies SBR at lower bitrate. – Niels B. – 2013-05-15T11:38:37.707

and that eAAC+, Enhanced AAC+ or HE-AAC V2 means HE-AAC with parametric stero added. – Niels B. – 2013-05-15T11:40:19.043

Thanks for the info. It's all mentioned in the EBU tech report though – I added a little more on that part but don't want to get all too technical. – slhck – 2013-05-15T11:49:30.923

great answer. my intention was to know in relation to transcoding between lossy formats (that is mainly: from other lossy formats to mp3, beside aac>mp3 conversion, clarified in the answer i got to my other question) in which cases the bitrate of an output/less-efficient file should be increased. (that's why i ask which is more efficient.the idea is based on this answer). that is: should it be so for ogg>mp3? what about wma>mp3. i prefer to use flac when i can but mp3 is needed for some devices

– None – 2013-05-15T12:30:18.487

3@cipricus For OGG → MP3 conversion you won't need to increase the bitrate as much as for WMA → MP3, but rather than aiming at specific numbers I suggest you take a few files that are representative of what you encode, and then listen to various bitrates. If you can't tell the difference anymore between the original and the transcode, stop increasing the bitrate. – slhck – 2013-05-15T12:36:18.090

There are just too many knobs that can be twiddled in the encoding process, and only a small number of them are exposed to the user. Every encoder is going to make different decisions about its parameters and how to save space. It should be possible to conduct listening tests to determine equivalent perceived quality levels and then compare bitrates, but your conclusions still must be qualified as being the result of using certain encoders with certain settings on certain input audio; it's difficult to draw conclusions about the general efficiency of formats without gobs of data. – Mike Brown – 2013-05-24T05:53:22.890