jrottenberg/ffmpeg

Adding Chromaprint

geoffjukes opened this issue · 6 comments

Hi,

In reference to #247 (comment) I didn't see a ticket for adding Chromaprint - so I'm doing the honors :)

All the best,

Geoff

Ah ! ;-)

Now that there is an issue... I'll check this weekend 🤞

Fantastic!

I took a stab at it today, and hit an issue with FontConfig on Ubuntu 20.04. It felt a little catch-22, Chromaprint wants FFMpeg, which wants libchromaprint1

I tried compiling it from source, copying the pattern you established for the other 3rd party libraries (rather than just apt installing it). That didn't even work, because of FontConfig.

I'm wondering if I should try to compile the fpcalc version.... but I'm so far out of my comfort zone now, I'm not even sure which way is up.

I'm sure it will all make much more sense to you :)

Some (maybe) helpful links for you:

https://github.com/acoustid/chromaprint
https://github.com/acoustid/chromaprint-build-base

Right not super fun : chromaprint needs a vanilla ffmpeg built, and ffmpeg needs chromaprint deployed to --enable-chromaprint

I've tried to do exactly that, not sure it's satisfying but it passes, mostly : #325 .

I'll check the compiled version of chromaprint to break the chicken-egg

Yeah we're not the only one suffering from it : https://bugs.gentoo.org/625210#c5

Amazing @jrottenberg! Thank you for grinding through. I'll be testing this out today.