[FFmpeg-user] Error implementing the AFFTDN filter with a noise type of w

tmason at trueprobity.com tmason at trueprobity.com
Wed Feb 5 16:48:07 EET 2020

HI Moritz,

Thank you for your assistance.  I will make sure in the future to include the full console in my posts.  

This change in command worked for me.

Kind Regards,
            Tim Mason

-----Original Message-----
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> On Behalf Of Moritz Barsnick
Sent: Wednesday, February 05, 2020 9:44 AM
To: FFmpeg user discussions <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] Error implementing the AFFTDN filter with a noise type of w

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.)

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list