Remove Clicks and Pops from Vinyl with FFmpeg adeclick

This article provides a straightforward guide on how to clean up audio rips from old vinyl records by removing annoying clicks and pops using FFmpeg’s built-in adeclick filter. You will learn the basic command structure, the key parameters available for fine-tuning the filter, and a practical example to get the best results for your digital audio archive.

The Basic Command

FFmpeg includes a powerful audio filter called adeclick (Audio Declick) designed specifically to detect and remove impulsive noise like clicks, pops, and crackles.

The simplest way to apply this filter to an audio file (such as a WAV or FLAC rip) is by using the following command:

ffmpeg -i input.wav -af adeclick output.wav

This command reads input.wav, applies the adeclick filter with its default settings, and saves the cleaned audio to output.wav.

Fine-Tuning the adeclick Parameters

While the default settings work well for general noise, vinyl rips often require custom adjustments to target specific types of crackle without degrading the quality of the music. You can customize the filter using several parameters:

For a typical vinyl record rip that suffers from moderate crackle and occasional louder pops, the following configuration is highly effective:

ffmpeg -i input.wav -af "adeclick=w=30:t=1.6:o=80" output.wav

Why these settings work: