Giter VIP home page Giter VIP logo

Comments (1)

lalinsky avatar lalinsky commented on May 23, 2024

@kwizart This is an unfortunate situation. Using the ffmpeg binary from chromaprint is not an option.

There are two uses of FFmpeg:

  • libchromaprint - it needs FFT functions from libavcodec, there is no way to do this via the ffmpeg binary, this is a very low level API
  • fpcalc - it needs libavformat/libavcodec/libswscale for decoding audio files. while it could be theoretically possible to use the ffmpeg binary, I don't really want to do it, because the main deployment platform for fpcalc are standalone/static binaries built by me and calling another external process would be a big no-no there.

If the circular dependency is a problem, I'd suggest disabling the chromaprint filter in FFmpeg. It's not a commonly used feature and people who really need it can build FFmpeg themselves. It's far more common for applications to use the fpcalc binary to generate audio fingerprints.

If you want to resolve it, you would need to split the chromaprint package into two internally.

The first one only builds libchromaprint with fftw as the FFT library. It will not link to FFmpeg at all in that case.

Then you can build FFmpeg against libchromaprint.

And then you can build fpcalc against libchromaprint and libav* libraries.

from chromaprint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.