GithubHelp home page GithubHelp logo

Comments (4)

jaromil avatar jaromil commented on June 18, 2024

We have never supported static build, also noone has asked so far.
Because of the way frei0r plugins are made (the principal function calls have the same namespace across different plugins) it is not trivial to have a static build. I can imagine one would need to rewrite the function names perhaps automatically. Feel free to contribute such a build setup, also considering that right now the preferred way to build frei0r is using cmake.

from frei0r.

tessus avatar tessus commented on June 18, 2024

@jaromil ok, now you have me totally confused.

There are configure switches for --enable-static and --disabled-shared. So how can it not be supported? Also, how would you incorporate frei0r in a static build of ffmpeg?
Btw, I have seen ffmpeg builds that use a static frei0r lib. But according to your statement above that should not even be possible. Also, I don't quite understand how they could do that, since it errors out anyway.

As I mentioned before: I'm totally confused.

from frei0r.

ddennedy avatar ddennedy commented on June 18, 2024

Those are standard switches provided by autoconf, which is a tool used to generate the configure script. Jaromil is correct, and we should close this. I have no idea how someone could be making a static frei0r lib and using it with FFmpeg unless there is some fork somewhere with a fairly heavy amount of changes to make it possible. I think you were mislead by this build you claim to have seen. More than likely, it includes support for frei0r plugins in a static build of ffmpeg, but it still dynamically loads any frei0r plugins you have to have installed.

from frei0r.

tessus avatar tessus commented on June 18, 2024

@ddennedy I'm using autotools myself and in my projects those options do not show up in ./configure --help. Anyhow, I understand that the plugin architecture does not make it possible to use one static library.

IT WOULDE BE AWESOME though! :-) The plugins are great and I'm sure people would love to be able to use them with a static ffmpeg build.

More than likely, it includes support for frei0r plugins in a static build of ffmpeg, but it still dynamically loads any frei0r plugins you have to have installed.

This could be the case. I haven't used these static ffmpeg builds, I just saw that libfrei0r was in their configure lines.

from frei0r.

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.