Remove Vinyl Clicks with FFmpeg adeclick

Digitizing vinyl records often introduces unwanted clicks, pops, and crackles caused by dust, scratches, or static electricity. This guide demonstrates how to use the powerful adeclick (Audio Declick) filter in FFmpeg to automatically detect and eliminate these impulse noises, restoring your analog recordings to clean digital audio without damaging the original fidelity.

To remove clicks with the default settings, run the following command in your terminal:

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

While the default settings work well for general noise, vinyl recordings often require fine-tuning to prevent the filter from accidentally removing desirable high-frequency sounds, like drum hits or brass transients. The adeclick filter uses several key parameters to control this process:

Advanced Vinyl Optimization Command

For heavily degraded vinyl records, you can customize the parameters to target persistent crackles. This advanced command increases detection sensitivity and adjusts the window size for more precise processing:

ffmpeg -i input.wav -af "adeclick=wsize=45:threshold=1.8:overlap=80:method=a" output.wav

To find the perfect balance for your specific vinyl rip, process a short, 30-second sample of a quiet section first. Adjust the threshold upward if you notice a loss of high-end detail or “dulled” transients, and downward if click noises are still audible.