Comments (7)
Removing the *.so
file extension worked. I did not follow the meaning of your instruction to use the proper suffix for x64. I am on x64 and the following worked for me.
INPUT=/data/sample_car.wav
OUTPUT=/data/sample_car.nsfv.wav
docker run \
--mount type=bind,src=$(pwd),dst=/data \
denoise \
"ffmpeg -hide_banner -i $INPUT -af ladspa=file=librnnoise_ladspa:plugin=noise_suppressor_stereo $OUTPUT"
And for the benefit of others who are not going through a docker container, the command would be.
ffmpeg -hide_banner -i $INPUT -af ladspa=file=librnnoise_ladspa:plugin=noise_suppressor_stereo $OUTPUT
Thank you all for your help.
from noise-suppression-for-voice.
I'll try to check later what's going wrong there.
from noise-suppression-for-voice.
Also, I have never really deployed a LADSPA plugin before, and it is possible that I have done it incorrectly. I got rid of the LADSPA_PATH
and I put a single file from your build output here: /usr/local/lib/ladspa/librnnoise_ladspa.so
(which is apparently the default place to look).
That doesn't work either. Maybe I am missing a configuration step or something.
from noise-suppression-for-voice.
Your command incarnation is simply wrong, : separates options.
Correct syntax is:
-af ladspa=file=librnnoise_ladspa.so:plugin=noise_suppressor_stereo
from noise-suppression-for-voice.
@richardpl Thank you for your suggestion. Unfortunately I tried using the colon and I got the same error.
[Parsed_ladspa_0 @ 0x564afdf5f0c0] Failed to load 'librnnoise_ladspa.so'
[AVFilterGraph @ 0x564afdf17bc0] Error initializing filter 'ladspa' with args 'file=librnnoise_ladspa.so:plugin=noise_suppressor_stereo'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!
I am providing docker instructions for perfect reproducability.
FROM ubuntu:19.04
SHELL ["/bin/bash", "-c"]
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install --yes apt-utils \
&& apt-get install --yes ffmpeg build-essential cmake git python3 python3-pip ninja-build \
dh-autoreconf pkg-config lv2-dev
RUN pip3 install meson
# --------------------------------
# ladspa noise_suppressor_* plugins
# --------------------------------
RUN mkdir -p /github/werman/noise-suppression-for-voice
WORKDIR /github/werman/noise-suppression-for-voice
RUN chmod -R a+rwx . \
&& git clone https://github.com/werman/noise-suppression-for-voice.git .
RUN mkdir build
WORKDIR build
RUN cmake build .. \
&& make
RUN mkdir -p /usr/local/lib/ladspa \
&& chmod -R a+rx /usr/local/lib/ladspa \
&& cp bin/ladspa/librnnoise_ladspa.so /usr/local/lib/ladspa
# --------------------------------
# lv2 speech-denoiser
# --------------------------------
RUN mkdir -p /github/lucianodato/speech-denoiser
WORKDIR /github/lucianodato/speech-denoiser
RUN chmod -R a+rwx . \
&& git clone https://github.com/lucianodato/speech-denoiser.git .
RUN chmod +x install.sh \
&& ./install.sh
RUN apt-get install --yes lilv-utils
# --------------------------------
# data folder
# --------------------------------
RUN mkdir /data \
&& chmod -R a+rwx /data
WORKDIR /data
ENTRYPOINT ["/bin/bash", "-c"]
Here is how I built it:
docker build --tag denoise:latest .
Here is how I ran it:
INPUT=/data/sample_car.wav
OUTPUT=/data/sample_car.nsfv.wav
docker run \
--mount type=bind,src=$(pwd),dst=/data \
denoise \
"ffmpeg -hide_banner -i $INPUT -af ladspa=file=librnnoise_ladspa.so:plugin=noise_suppressor_stereo $OUTPUT"
from noise-suppression-for-voice.
Remove ".so" it is not needed.
Also if you are on x64 you need to use proper suffix.
from noise-suppression-for-voice.
Remove ".so" it is not needed.
Also if you are on x64 you need to use proper suffix.
Yep, .so
is not needed, I've tested and without it ffmpeg sees plugin and does its work.
from noise-suppression-for-voice.
Related Issues (20)
- The mono LV2 plugin isn't seen by carla and qtractor HOT 2
- about rnnoise_demo.c
- How can I make it so the output doesn't automatically connect to a sink? HOT 1
- Pipewire does not run properly and there is no input source created. HOT 6
- Game audio issues HOT 1
- 16000Hz? HOT 3
- The rnnoise.vst3 plugin isn't built with juce-7.0.6
- Latency changes between relaunches, no delay compensation HOT 2
- Non-voice noise suppression
- Train on noises/add noises
- Mix Knob
- Mouse, keyboard, and music from headsets
- Integrate this into Python/Perl scripting
- Audacity LADSPA Linux plugin, last two knobs, 'Placeholder 1 and 2'
- VST not working on Windows 10 1809 with lighthost? HOT 1
- FL Studio
- Can you tell me how to change the name of the Plugin
- How use rnnoise with echo-cancel HOT 1
- New Xiph's RNNoise v0.2 HOT 17
- Sorry a little slow but HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noise-suppression-for-voice.