[FFmpeg-user] Error implementing the AFFTDN filter with a noise type of w
Moritz Barsnick
barsnick at gmx.net
Wed Feb 5 16:44:29 EET 2020
On Wed, Feb 05, 2020 at 08:53:29 -0500, tmason at trueprobity.com wrote:
> I have not been able to find an example of the AFFTDN filter implemented and
> working. Based on other examples I tried this command line code.
>
> ffmpeg -i C:\Media\test.wav afftdn="'nt=w':om='o'" C:\media\test_clean.wav
We usually kindly ask you to show us the complete, uncut console output
of your ffmpeg command.
Though in this case:
> When I run this Unalbe to find a suitable output format for
> afftdn="'nt=w':om='o'": Invalid argument.
You didn't tell ffmpeg that this section is a filter command. You need
to prefix it with "-af", otherwise it is interpreted as the name of an
output.
$ ffmpeg -i C:\Media\test.wav -af afftdn="'nt=w':om='o'" C:\media\test_clean.wav
You have too much quoting as well, though it does not hurt. You can
also do:
$ ffmpeg -i C:\Media\test.wav -af afftdn=nt=w:om=o C:\media\test_clean.wav
(Use more quotation marks depending on content.)
Cheers,
Moritz
More information about the ffmpeg-user
mailing list