Error implementing the AFFTDN filter with a noise type of w
Hello, I am trying to clean up an audio file which contains background noise using the AFFTDN filter with a noise type of white noise. 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 When I run this Unalbe to find a suitable output format for afftdn="'nt=w':om='o'": Invalid argument. Thank you in advance for your help. Tim Mason
On Wed, Feb 05, 2020 at 08:53:29 -0500, tmason@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
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@ffmpeg.org> On Behalf Of Moritz Barsnick Sent: Wednesday, February 05, 2020 9:44 AM To: FFmpeg user discussions <ffmpeg-user@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@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 _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
participants (2)
-
Moritz Barsnick -
tmason@trueprobity.com