Commit 9757abf2 authored by Julius Künzel's avatar Julius Künzel
Browse files

Add dependencies and category for mask_start and mask_apply

parent 29df1929
......@@ -36,13 +36,14 @@ Line 1:
Line 2:
| tag name | description |
| :---------| :------------- |
| `tag` | MLT ("mlt_service") name of the effect (see [MLT Docs](https://www.mltframework.org/docs/)) |
| `id` | internal kdenlive id, can be anything, but must be unique for each effect |
| `type` | _(default = `"video"`)_ whether effect modifies video or audio (use `"audio"` then) |
| `unique` | _(default = `"0"`)_ this effect cannot be attached multiple times to one clip (speed, fades, ...) |
| `version` | _(optional)_ minimum version of the effect required to be available (works only if the MLT filter provides the necessary metadata) |
| tag name | description |
| :------------| :------------- |
| `tag` | MLT ("mlt_service") name of the effect (see [MLT Docs](https://www.mltframework.org/docs/)) |
| `id` | internal kdenlive id, can be anything, but must be unique for each effect |
| `type` | _(default = `"video"`)_ whether effect modifies video or audio (use `"audio"` then) |
| `unique` | _(default = `"0"`)_ this effect cannot be attached multiple times to one clip (speed, fades, ...) |
| `version` | _(optional)_ minimum version of the effect required to be available (works only if the MLT filter provides the necessary metadata) |
| `dependency` | _(optional)_ ) MLT ("mlt_service") name of an effect or composition this asset depends on. If the dependency is not available this asset will not be available in Kdenlive too|
Line 3:
* name of the effect that will appear to the user
......@@ -75,6 +76,7 @@ The rest:
| `visualmin` | the minimal value displayed in timeline keyframes (can be > than min) |
| `visualmax` | the maximal value displayed in timeline keyframes (can be < than max) |
| `default` | initial value, format depends on parameter type |
| `value` | |
| `optional` | if it is set, it means that this parameter can have an empty value. So then loading a project, don't set its value to default |
| `type` | widget (GUI) to use. See section below for possible values
......
<!DOCTYPE kpartgui>
<effect tag="mask_apply" id="mask_apply">
<effect tag="mask_apply" id="mask_apply" dependency="frei0r.composition">
<name context="Mask Apply Effect Name">Mask Apply</name>
<description>Apply the previous effects in the zone defined by a Mask Start effect.</description>
<author>Dan Dennedy</author>
......
<!DOCTYPE kpartgui>
<effect LC_NUMERIC="C" tag="mask_start" id="mask_start">
<effect LC_NUMERIC="C" tag="mask_start" id="mask_start" dependency="frei0r.alphaspot">
<name>Setup a Filter Mask</name>
<author>Dan Dennedy</author>
<parameter type="list" name="filter.Shape" default="0" paramlist="0;0.38;0.62;1">
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<data name="effects" version="0">
<group list="chroma,frei0r.alpha0ps,frei0r.alphagrad,frei0r.alphaspot,frei0r.transparency,frei0r.mask0mate,rotoscoping,frei0r.keyspillm0pup,avfilter.despill,obscure,frei0r.bluescreen0r,lumakey,shape,spot_remover,frei0r.select0r,frei0r.spillsupress,frei0r.bgsubtract0r,opencv.tracker,strobe">
<group list="chroma,frei0r.alpha0ps,frei0r.alphagrad,frei0r.alphaspot,frei0r.transparency,frei0r.mask0mate,rotoscoping,frei0r.keyspillm0pup,avfilter.despill,obscure,frei0r.bluescreen0r,lumakey,shape,spot_remover,frei0r.select0r,frei0r.spillsupress,frei0r.bgsubtract0r,opencv.tracker,strobe,mask_start,mask_apply">
<text>Alpha, Mask and Keying</text>
</group>
<group list="boxblur,frei0r.squareblur,avfilter.avgblur,avfilter.gblur,avfilter.smartblur,avfilter.boxblur,avfilter.unsharp,avfilter.sab">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment