Adjust FFmpeg Crystalizer Filter Intensity

This article provides a quick guide on how to adjust the dynamic expansion intensity of the crystalizer audio filter in FFmpeg. You will learn the exact parameters to use, their value ranges, and practical command-line examples to customize your audio processing.

The FFmpeg crystalizer filter is an audio expander used to improve the dynamic range of audio, making it sound more vibrant and clear. You can control the strength of this dynamic expansion using the intensity (or i) parameter.

The Intensity Parameter

The intensity parameter accepts a floating-point number: * Value Range: -10.0 to 10.0 * Default Value: 2.0 * Effect: A value of 0.0 leaves the audio unchanged. Positive values (up to 10.0) increase the dynamic expansion, making quiet sounds quieter and loud sounds louder. Negative values reverse the expansion, resulting in a compression-like effect.

Command Examples

To apply the crystalizer filter with a custom intensity, use the -af (audio filter) flag followed by the filter name and the intensity (or i) option.

Example 1: Increase expansion intensity to 3.5

ffmpeg -i input.wav -af "crystalizer=intensity=3.5" output.wav

Example 2: Using the shorthand i parameter

ffmpeg -i input.wav -af "crystalizer=i=5.0" output.wav

Example 3: Controlling clipping By default, the filter prevents clipping (audio distortion from exceeding maximum volume) by enabling the clip parameter. If you want to disable clipping prevention while adjusting intensity, you can set the clip (or c) parameter to 0:

ffmpeg -i input.wav -af "crystalizer=i=4.0:clip=0" output.wav