FFmpeg 4.3.8
Since* 4.1
#

Denoise audio samples with FFT.

A description of the accepted parameters follows.

nr

Set the noise reduction in dB, allowed range is 0.01 to 97. Default value is 12 dB.

nf

Set the noise floor in dB, allowed range is -80 to -20. Default value is -50 dB.

nt

Set the noise type.

It accepts the following values:

w

Select white noise.

v

Select vinyl noise.

s

Select shellac noise.

c

Select custom noise, defined in bn option.

Default value is white noise.

bn

Set custom band noise for every one of 15 bands. Bands are separated by ’ ’ or ’|’.

rf

Set the residual floor in dB, allowed range is -80 to -20. Default value is -38 dB.

tn

Enable noise tracking. By default is disabled. With this enabled, noise floor is automatically adjusted.

tr

Enable residual tracking. By default is disabled.

om

Set the output mode.

It accepts the following values:

i

Pass input unchanged.

o

Pass noise filtered out.

n

Pass only noise.

Default value is o.

#

Commands

This filter supports the following commands:

sample_noise, sn

Start or stop measuring noise profile. Syntax for the command is : "start" or "stop" string. After measuring noise profile is stopped it will be automatically applied in filtering.

noise_reduction, nr

Change noise reduction. Argument is single float number. Syntax for the command is : "noise_reduction"

noise_floor, nf

Change noise floor. Argument is single float number. Syntax for the command is : "noise_floor"

output_mode, om

Change output mode operation. Syntax for the command is : "i", "o" or "n" string.