noise-suppression-for-voice icon indicating copy to clipboard operation
noise-suppression-for-voice copied to clipboard

Question: Use as a filter for files

Open nilp0inter opened this issue 3 years ago • 9 comments

Hi,

it would be very nice to have the possibility to have a binary that can be used to process noise audio files and produce clean output files.

Personally I'd find it very useful to cleanup audio from lectures on Youtube.

Do you think is doable? Do you have any plans of implementing such a feature? If not, could you point me on how to do it?

Thanks

nilp0inter avatar Jul 09 '20 22:07 nilp0inter

You can use the plugins in many audio/video editing programs.

For example, I use the VST plugin with Davinci Resolve.

theglobe avatar Jul 10 '20 10:07 theglobe

Unfortunately I can't find a way to use this from the command line. Do you know of any software to do that?

nilp0inter avatar Jul 15 '20 07:07 nilp0inter

I only use GUI based software, but maybe ffmpeg can transcode with the ladspa plugin.

theglobe avatar Jul 15 '20 09:07 theglobe

FFmpeg also have native filter, arnndn, you need to get rnnoise model files though.

richardpl avatar Jul 15 '20 09:07 richardpl

For the command-line tool. The original rnnoise repo may help you.

jagger2048 avatar Jul 15 '20 10:07 jagger2048

maybe ffmpeg can transcode with the ladspa plugin.

Yes, I think ffmpeg should be able to do this, see https://ffmpeg.org/ffmpeg-filters.html#ladspa

werman avatar Jul 15 '20 11:07 werman

You might have to compile FFmpeg with LADSPA support.

realies avatar Aug 08 '20 22:08 realies

You can use the plugins in many audio/video editing programs.

For example, I use the VST plugin with Davinci Resolve.

How? Most times it shows it loaded fine but I can't find it and resolve (Fairlight) is lame in it has no way to rescan your VSTs. When Resolve Studio 16 finally did show it for me it created a wide stereo and no reduction.

DarkAlchy avatar Aug 31 '20 20:08 DarkAlchy

You can use the ladspa plugin directly with mpv:

mpv --af=lavfi='[ladspa=librnnoise_ladspa:p=noise_suppressor_mono]' file.mp4

This then should work with the youtube-dl integration of mpv.

THS-on avatar Dec 15 '20 11:12 THS-on