How to Set FFmpeg AAC Cutoff Frequency

This guide explains how to configure the low-pass filter cutoff frequency when using the native, built-in AAC encoder in FFmpeg. You will learn the specific command-line parameter required to adjust this frequency limit, how it impacts audio quality, and how to apply it directly to your audio encoding workflows.

To set the cutoff frequency for the built-in AAC encoder in FFmpeg, you use the -cutoff option followed by the desired frequency value in Hertz (Hz).

By default, FFmpeg’s native AAC encoder (-c:a aac) automatically calculates a cutoff frequency based on the selected bitrate to optimize compression. However, you can manually override this behavior using the following command syntax:

ffmpeg -i input.wav -c:a aac -b:a 128k -cutoff 15000 output.m4a

Parameter Breakdown

Why Adjust the Cutoff Frequency?

Disabling the Cutoff

To allow the encoder to encode up to the maximum physical frequency limit (Nyquist frequency) of your input audio, you can set the cutoff value to a high number or disable it:

ffmpeg -i input.wav -c:a aac -b:a 256k -cutoff 22050 output.m4a

Using these adjustments ensures you have complete control over the frequency response and audio fidelity of your compressed AAC files.