m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.56k stars 266 forks source link

Request: Add --enable-lv2 #1890

Open dolpsdw opened 3 years ago

dolpsdw commented 3 years ago

I have tried to add this option to ffmpeg_options.txt

But the configure fails because no lilv-0 found.

--enable-lv2 is required for lv2 plugins to work. (like broadband noise reduction https://github.com/lucianodato/noise-repellent) (Seems like only need that library and pass in the ./configure the --enable-lv2 https://stackoverflow.com/questions/58600620/ffmpeg-complex-filtering-how-to-get-around)

lilv can be build from here https://github.com/lv2/lilv After initialize Submodules

-Fix WafLib sumbmodule folder if required by going to line 466> txt = conf.cmd_and_log(args) and return empty string

Dependencies


lv2 -> https://gitlab.com/lv2/lv2.git


on /build/lv2 with a Fixed WafLib folder run ./waf configure CC=gcc.exe --prefix=/mingw64 --no-plugins run ./waf run ./waf install


serd -> https://gitlab.com/drobilla/serd.git


on /build/serd with a Fixed WafLib folder run ./waf configure CC=gcc.exe --prefix=/mingw64 run ./waf run ./waf install


sord -> https://gitlab.com/drobilla/sord.git


on /build/serd with a Fixed WafLib folder run ./waf configure CC=gcc.exe --prefix=/mingw64 run ./waf

run ./waf run ./waf install


sratom-> https://gitlab.com/lv2/sratom.git


on /build/serd with a Fixed WafLib folder run ./waf configure CC=gcc.exe --prefix=/mingw64 run ./waf run ./waf install


FINAL lilv


on /build/lilv cloned repo ./waf configure CC=gcc.exe --prefix=/mingw64 run ./waf configure CC=gcc.exe --prefix=/mingw64 run ./waf

*This is crassing like lv2 before --no-plugins flag passed with errors like media-autobuild_suite/local64/lib/../lib/libsndfile.a(flac.c.o):flac.c:(.text+0x69e): undefined reference to `FLAC__stream_decoder_seek_absolute'

*Available as package in mingw-w64-lilv https://aur.archlinux.org/packages/mingw-w64-lilv/

dolpsdw commented 3 years ago

I would love to get some help in correctly link lv2 and final livl the Flac,ogg,opus.... stuff

1480c1 commented 3 years ago

I am currently still trying to fix some issues with libmediainfo with clang, after than I can try to look into this

Barough commented 2 years ago

Any news/info regarding this?