Configure FFmpeg Vaguedenoiser Filter

This article explains how to configure the vaguedenoiser filter in FFmpeg to effectively reduce video noise. It provides a direct overview of how to adjust the noise threshold, select the optimal thresholding method, and configure the wavelet properties to balance video quality and processing performance.

The vaguedenoiser filter is a wavelet-based video denoiser that transforms video frames into the frequency domain, filters out noise coefficients, and reconstructs the image. It is highly effective at removing high-frequency noise while preserving image details.

1. Setting the Denoising Threshold (threshold)

The threshold parameter determines the strength of the noise reduction. Coefficients below this value are treated as noise and are attenuated or discarded.

2. Choosing the Filtering Method (method)

The method parameter determines how the filter handles coefficients that fall below or near the threshold.

3. Managing Wavelet Properties (nsteps)

While the vaguedenoiser filter uses a fixed Cohen-Daubechies-Feauveau 9/7 wavelet type, you can configure how the wavelet decomposition is applied using the nsteps parameter.

4. Fine-Tuning Denoising Percentage (percent)

To prevent the video from looking overly processed or plastic, you can mix the original frames with the denoised frames using the percent parameter.

Example Commands

To apply the filter with a moderate threshold of 3, using the soft thresholding method, and 4 decomposition steps:

ffmpeg -i input.mp4 -vf "vaguedenoiser=threshold=3:method=soft:nsteps=4" output.mp4

To apply a more natural-looking denoise using the default garrote method, a threshold of 2.5, and retaining 20% of the original noise:

ffmpeg -i input.mp4 -vf "vaguedenoiser=threshold=2.5:method=garrote:nsteps=5:percent=80" output.mp4