-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot load plugin using ffmpeg lv2 #16
Comments
Update: In my original post, the error was because of a command-line parsing bug with ffmpeg -i $INPUT -af 'lv2=plugin=https\\://github.com/lucianodato/speech-denoiser' $OUTPUT ... I know have a new
Also, for completeness: The INPUT=/data/sample_car.wav
OUTPUT=/data/sample_car.sdenoise.wav
docker run \
--mount type=bind,src=$(pwd),dst=/data \
denoise \
"ffmpeg -i $INPUT -af 'lv2=plugin=https\\\\://github.com/lucianodato/speech-denoiser' $OUTPUT" |
BTW, I installed
So perhaps there is something wrong with the |
Hi! thanks for reporting this issue. I'll look into it but right now I'm migrating both this plugin and noise repellent to distrho framework. This will make the installation process much more simple and it'll allow me to not only distribute lv2 but vsts as well and for all platforms. I'll be working on these in the next couple of weeks. |
@adaviding you need to add environment variable also LV2_PATH in FROM ubuntu:19.04
SHELL ["/bin/bash", "-c"]
ENV DEBIAN_FRONTEND=noninteractive
ENV LV2_PATH=/usr/local/lib/lv2:/usr/lib/lv2
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
# --------------------------------
# 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
# --------------------------------
# data folder
# --------------------------------
RUN mkdir /data \
&& chmod -R a+rwx /data
WORKDIR /data
ENTRYPOINT ["/bin/bash", "-c"] In this case
Cheers, |
I'm on Ubuntu 19.04, and I successfully built and installed your
sdenoise.lv2
plugin from yourmaster
branch. I have also installed ffmpeg which can allegedly transform audio files using an installedlv2
filter.Presumably the command to use your filter is ...
... but it gives me an
Error initializing filter 'lv2' with args 'plugin=https://github.com/lucianodato/speech-denoiser'
error:BTW, here is the
Dockerfile
that I used get this ffmpeg command ready.And here are the actual docker commands that I used:
docker build --tag denoise:latest .
INPUT=/data/sample_car.wav OUTPUT=/data/sample_car.sdenoise.wav docker run \ --mount type=bind,src=/home/ding/Desktop/denoise-data,dst=/data \ denoise \ "ffmpeg -i $INPUT -af lv2=plugin=https\\\\://github.com/lucianodato/speech-denoiser $OUTPUT"
The text was updated successfully, but these errors were encountered: