how to implement new effects

Asked by PhoneixS

Can we implement new effects for openshot? I mean, openshot is designed to admit new effect without going too deep into the main code. I have seen that it is a folder called effect with xml defining the interface of effects, but no logic implemented. Where must be implemented effect logic? Is there a tutorial of how to implement a new effect?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Solved by:
Andy Finch
Solved:
Last query:
Last reply:
Revision history for this message
Best Andy Finch (fincha) said :
#1

There isn't a tutorial. Currently, the video effects are provided by the MLT or frei0r libraries and audio effects are from SOX. Each of the effects (and its parameters) is exposed by MLT.

The xml files provide Openshot with the data needed to create the GUI for the effect parameters, there is some general code in Openshot which parses the GUI fields and passes the parameter values into Openshot.

So to create a new effect, an XML file is required that describes the effect and its parameters, and then medium & small icons.

The command line tool melt will show what effects are available on your system, e.g.

melt -query filters

and then each filter can be queried, e.g.

melt -query filter=volume

Revision history for this message
PhoneixS (phoneixsegovia) said :
#2

Thanks Andy Finch, that solved my question.