MTG / essentia

C++ library for audio and music analysis, description and synthesis, including Python bindings
http://essentia.upf.edu
GNU Affero General Public License v3.0
2.87k stars 535 forks source link

Static builds with GAIA #1265

Open regorxxx opened 2 years ago

regorxxx commented 2 years ago

None of the binaries found at: https://mtg.github.io/essentia-labs/news/2015/12/22/static-binaries-for-extractors/ or https://acousticbrainz.org/download

Work with the svm_models provided here: https://essentia.upf.edu/svm_models/

2.1-beta 2 reports:

Identifier 'GaiaTransform' not found in registry...

2.1-beta 5 simply reports Gaia is not built-in.

Could binaries be provided compatible with the models? Now that AcousticBrainz is going to shut-down, the only way to replicate its usage for regular users is using binaries for streaming_extractor_music + svm_model. So now it's more needed than ever

daniele-athome commented 2 years ago

I did that by using Docker (it seemed the only sane way to do it: Gaia and Essentia requires a lot of stuff to be compiled and I didn't want to pollute my OS): https://gist.github.com/daniele-athome/3f7c3c241e7483e7b6454a9229031ca5

You will find executables inside in /usr/local/bin that you can run a container with.

regorxxx commented 2 years ago

Can't access a system with Docker so while I appreciate your help (that may come handy for some people), official binaries are still required on the web or somewhere. Specially for windows system users.

regorxxx commented 2 years ago

https://hydrogenaud.io/index.php/topic,120978.msg1013419.html#msg1013419 We have been trying to compile this with GAIA for some days without luck, at least getting windows binaries seems impossible (linux works though).

This repo need an urgent clean-up.. With modern ffmpeg/livAv qnd qt neither linux nor windows build up, so no shared builds. To build with shared libs you need libraries from 2020, (and for qt even older) but in this situation the windows cross-compile doesn't work because lame 3.10 doesn't compile with the old libs. Only option is static builds against static dependencies, but there is not static dependencies for gaia and qt for windows cross compiling. Total chaos. Beyond the binaries that they distribute, you only can build static binaries with gaia for linux.

Official help is needed or an up to date step by step guide for 2022.

regorxxx commented 1 year ago

Is some dev willing to fix this at some point? It makes zero sense to not being able to build this for windows and people keep reporting the guides and docs are outdated and nothing is done.