Skip to content

Improve AAC encoding: disable band limit filter #33

Description

@ValdikSS

FDK-AAC software encoder in Android limits the bandwidth up to 17 kHz max for bitrates >= 192 kbit/s stereo.
Lower bitrates get capped more:

  • <144 kb/s: 16120 Hz
  • <112 kb/s: 15500 Hz
  • <80 kb/s: 14260 Hz

It's unclear why the bandwidth is set to 17 kHz max for CBR encoding, as the best VBR mode sets it to 20 kHz (maximum possible value, the filter could not be disabled completely). However VBR mode is not used for Bluetooth in Android.

FDK-AAC could be patched to set 20000 Hz for bitrates higher than 192 kbit/s with just a search&replace binary patch of the table linked above (no code patching required).

This is applicable only to software-only encoding (not "bluetooth offloading" with DSP).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions