Fraunhofer FDK AAC explained

Fraunhofer FDK AAC
Developer:Fraunhofer IIS
Ver Layout:stacked
Programming Language:C++, C
Operating System:Android
Language:English
Genre:Codec
License:"Fraunhofer FDK AAC license" (a free software license without a patent grant)[1] [2]

Fraunhofer FDK AAC is an open-source[3] library for encoding and decoding digital audio in the Advanced Audio Coding (AAC) format. Fraunhofer IIS developed this library for Android 4.1.[4] [5] It supports several Audio Object Types including MPEG-2 and MPEG-4 AAC LC, HE-AAC (AAC LC + SBR), HE-AACv2 (LC + SBR + PS) as well AAC-LD (low delay) and AAC-ELD (enhanced low delay) for real-time communication. The encoding library supports sample rates up to 96 kHz and up to eight channels (7.1 surround).[6]

Operation

The Android-targeted implementation of the Fraunhofer AAC encoder uses fixed-point math and is optimized for encoding on embedded devices/mobile phones. The library is currently limited to 16-bit PCM input. Other versions of the Fraunhofer encoder, like the one included in Winamp, are optimized for encoding music on desktop-class processors. Those versions of the encoder, however, are not open-source and require a commercial license.[7] Version 2 of the library, introduced with Android P, also includes support for xHE-AAC[8] and AAC-ELD v2.[9] [10] xHE-AAC extends the operating range of the codec from 12 to 300 kb/s for stereo signals and allows seamless switching between bitrates over this range for adaptive bitrate delivery (using standards such as MPEG-DASH or HLS for example). xHE-AAC also includes MPEG-D DRC mandatory loudness control to playback content at a consistent volume and offers new dynamic range control profiles for listening in noisy situations.

The FDK AAC encoder employs a more aggressive default low-pass filter than is used in other codecs. Higher frequencies are removed so that more bits are available to better describe sounds of lower frequencies, improving the overall quality for most combinations of recordings and listeners. In some, not completely rare, combinations the missing high frequencies are noticeable. The library allows overriding the low-pass filter setting, and in the highest VBR mode effectively applies no filter at all.[11]

A cross-platform source distribution is maintained by Martin Storsjö as part of the opencore-amr project under the name fdk-aac.[12] The code compiles into a shared library, libfdk-aac. The media frameworks FFmpeg and Libav support audio encoding through libfdk-aac.[13] [14]

AAC profiles that FDK supports!Profile name!MPEG-4 Objects involved!FDK!FDK 2
Low-Complexity (AAC-LC)2
High-Efficiency (HE-AAC)2, 5
High-Efficiency version 2 (HE-AAC)2, 5, 29
Baseline USAC42
Extended High-Efficiency (xHE-AAC)2, 5, 29, 42
Low-Delay (AAC-LD)23
Enhanced Low-Delay (AAC-ELD)39
Enhanced Low-Delay version 2 (AAC-ELDv2)44

Licensing

The license included by Fraunhofer in the FDK library source code[15] [1] allows redistribution in source or binary forms, but does not license patented technologies described by the code. The license states that the library may only be used for purposes as authorized by patent licenses. Via Licensing administers a patent pool that includes patent licenses for the AAC codecs, including xHE-AAC and MPEG-D DRC.[16] The FDK license also states that "most manufacturers of Android devices already license these patent claims through Via Licensing or directly from the patent owners, and therefore FDK AAC Codec software may already be covered under those patent licenses when it is used for those licensed purposes only." There is no license fee required for using an AAC codec such as FDK AAC,[17] only for manufacturing an "end-user" codec such as producing a phone loaded with AAC software.[18] [19]

Debian considers the FDK AAC license non-free because it prohibits people from charging a fee for distributing the library, which runs counter to the "No Discrimination Against Fields of Endeavor" rule in Debian Free Software Guidelines.[20] The license was classified as free by Fedora after a review by the legal department at Red Hat,[21] though it's no longer classified as "allowed" due Fedora adopting a more defensive posture toward patents. However, Fedora states that this will not affect the fdk-aac-free package, which enables only the commonly used "Low Complexity AAC" profile, which is what most people use. The US patents on LC-AAC have expired.[22] The FSF also considers it to be free, though discourages its use due to the explicit lack of a patent grant.[23]

See also

External links

Information
Implementations

Notes and References

  1. Web site: NOTICE file in Source Code. 12 March 2019.
  2. Web site: Various Licenses and Comments about Them. 10 November 2018.
  3. Web site: FDK Source Code. 1 August 2014.
  4. Web site: July 24, 2013. PRESS RELEASE Google selects HE-AAC Multichannel from Fraunhofer IIS for Google Play Movies in Surround. Fraunhofer IIS.
  5. Web site: Platforms. 2020-07-10. Fraunhofer Institute for Integrated Circuits IIS. en.
  6. Web site: Fraunhofer FDK AAC Information. 1 August 2014. HydrogenAudio.
  7. Web site: Fraunhofer Codec Availability. 27 September 2014.
  8. Web site: xHE-AAC. 2020-07-10. Fraunhofer Institute for Integrated Circuits IIS. en.
  9. Web site: AAC-ELD Family. 2020-07-10. Fraunhofer Institute for Integrated Circuits IIS. en.
  10. Web site: Fraunhofer's xHE-AAC Audio Codec Software Extends Native AAC Support In Android P For Better Quality At Low Bitrates. 2020-07-10. Fraunhofer Institute for Integrated Circuits IIS. en.
  11. HydrogenAudio Forum discussion on FDK AAC, some relevant posts regarding the low-pass filter: Web site: Post #34., Web site: Post #89., Web site: Post #142.
  12. Web site: opencore-amr . SourceForge . 12 March 2019.
  13. Web site: FFmpeg AAC Encoding Guide. 13 March 2019.
  14. Web site: Libav documentation . libav.org . 12 March 2019.
  15. Web site: NOTICE - platform/external/aac - Git at Google. 2020-07-10. android.googlesource.com.
  16. Web site: Via Adds MPEG-D DRC To Advanced Audio Coding Patent Pool – ViaCorp. 2020-07-11. en-US.
  17. Web site: AAC Licensing FAQ Q5 . Via Licensing . 2020-01-15 .
  18. Web site: AAC License Fees . Via Licensing . 2020-01-15 .
  19. Web site: Via Licensing Corporation . AAC PATENT LICENSE AGREEMENT . www.sec.gov . 21 April 2023 . June 5, 2018.
  20. Web site: Debian discussion regarding the FDK license. Debian Bug Tracker. 28 September 2014.
  21. Web site: Fedora fdk-aac package review. 24 January 2018.
  22. Web site: Licensing/FDK-AAC. Fedora Project Wiki. 24 January 2018.
  23. Web site: Recent licensing updates . 10 November 2018.