GithubHelp home page GithubHelp logo

frei0r plugin for kdenlive about frei0r HOT 12 CLOSED

dyne avatar dyne commented on June 18, 2024
frei0r plugin for kdenlive

from frei0r.

Comments (12)

ddennedy avatar ddennedy commented on June 18, 2024

I do not know anything about the mailing list. It is out of my control. I have not seen this question come up on it. In any case, Kdenlive uses MLT for its frei0r interface, and MLT only uses f0r_get_param_value() to read the default value for a parameter. From then on, it only sets value and does not try support what you are trying to do. In most cases, it is out of scope for an image processing plugin to define a region unless that is its sole purpose because there are other plugins that already do this (define masks via alpha channel), and you should combine effects instead of making some uberffect.

from frei0r.

reneg49 avatar reneg49 commented on June 18, 2024

I see that some "transitions" provide the kind of behavior i'm looking for, but they are implemented as "true" MLT plugins that interact with the main app... pity... thanks for the info!

from frei0r.

reneg49 avatar reneg49 commented on June 18, 2024

from frei0r.

ddennedy avatar ddennedy commented on June 18, 2024

I see. Good explanation. I am thinking about a modification I can make to facilitate this such that reading a MLT property can invoke the f0r_get_param_value() function. I think lack of that is a shortcoming in the MLT binding to frei0r. Be patient, however, as I am busy this week preparing a new release of Shotcut. I will attempt this after that.

from frei0r.

reneg49 avatar reneg49 commented on June 18, 2024

from frei0r.

reneg49 avatar reneg49 commented on June 18, 2024

from frei0r.

ddennedy avatar ddennedy commented on June 18, 2024

I started working on this, but I am running into problems with various things including MLT properties animation/keyframes. I can make it work OK (not perfect) only if the MLT property is not using animation. The place where this hooks in does not have certain information such as time position, and it is not necessary to be requesting the image of a frame, which has this info, in order to read MLT properties.

I am not going to add support for this in MLT. You can make your effect a MLT service/plugin.
I am closing this since it is not a frei0r issue. If you make a corresponding MLT issue, then I will not volunteer to work on it. IOW, it will remain open until someone submits an approved pull request.

from frei0r.

reneg49 avatar reneg49 commented on June 18, 2024

from frei0r.

reneg49 avatar reneg49 commented on June 18, 2024

from frei0r.

ddennedy avatar ddennedy commented on June 18, 2024

All MLT service properties are available to read by the application. There is no need to "send" or "return". It is up to the application to read them as-needed. The application might need to be modified to read them as-needed or periodically. There is also a way in MLT for an application to receive a signal when a property is changed. However, I would not be surprised if Kdenlive does not use that. I think this is a new use case, which is interesting. I do not work on Kdenlive but rather Shotcut. If you submit your new service as a pull request on the mlt.git then I will take a look at it further in the context of Shotcut. Then, we will have more information to relay to the Kdenlive team.

from frei0r.

reneg49 avatar reneg49 commented on June 18, 2024

from frei0r.

reneg49 avatar reneg49 commented on June 18, 2024

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.