Commit 9b379288 authored by Julius Künzel's avatar Julius Künzel
Browse files

Make more effects work with mask_start: rotoscoping, shape

Fixes #82
parent 9757abf2
......@@ -111,7 +111,9 @@ lightshow.xml
loudness.xml
luma.xml
lumaliftgaingamma.xml
mask_start.xml
mask_start_frei0r_alphaspot.xml
mask_start_rotoscoping.xml
mask_start_shape.xml
mask_apply.xml
mirror.xml
mono.xml
......
<!DOCTYPE kpartgui>
<effect LC_NUMERIC="C" tag="mask_start" id="mask_start" dependency="frei0r.alphaspot">
<name>Setup a Filter Mask</name>
<author>Dan Dennedy</author>
<effect LC_NUMERIC="C" tag="mask_start" id="mask_start-frei0r.alphaspot" dependency="frei0r.alphaspot">
<name>Alpha shapes (Mask)</name>
<description>This filter makes a snapshop of the frame before it draws simple shapes into the alpha channel. Use it together with the mask_apply effect, that uses a transition to composite the current frame's image over the snapshot. The typical use case is to add effects in the following sequence: this effect, zero or more effects, mask_apply.</description>
<author>Marko Cebokli, Dan Dennedy</author>
<parameter type="list" name="filter.Shape" default="0" paramlist="0;0.38;0.62;1">
<paramlistdisplay>Rectangle,Ellipse,Triangle,Diamond</paramlistdisplay>
<name>Shape</name>
......
<!DOCTYPE kpartgui>
<effect tag="mask_start" id="mask_start-rotoscoping" dependency="rotoscoping">
<name>Rotoscoping (Mask)</name>
<description>This filter makes a snapshop of the frame before a keyframable vector based rotoscoping is applied. Use it together with the mask_apply effect, that uses a transition to composite the current frame's image over the snapshot. The typical use case is to add effects in the following sequence: this effect, zero or more effects, mask_apply.</description>
<author>Till Theato, Dan Dennedy</author>
<parameter type="fixed" name="filter" value="rotoscoping">
<name>Filter</name>
</parameter>
<parameter type="roto-spline" name="filter.spline" default="" />
<parameter type="list" name="filter.mode" default="alpha" paramlist="alpha;luma;rgb">
<paramlistdisplay>Alpha,Luma,RGB</paramlistdisplay>
<name>Mode</name>
</parameter>
<parameter type="list" name="filter.alpha_operation" default="clear" paramlist="clear;max;min;add;sub">
<paramlistdisplay>Write on clear,Maximum,Minimum,Add,Subtract</paramlistdisplay>
<name>Alpha Operation</name>
</parameter>
<parameter type="bool" name="filter.invert" default="0">
<name>Invert</name>
</parameter>
<!--<parameter type="bool" name="filter.track" default="0">
<name>Track</name>
</parameter>-->
<parameter type="constant" name="filter.feather" max="500" min="0" default="0">
<name>Feather width</name>
</parameter>
<parameter type="constant" name="filter.feather_passes" max="20" min="1" default="1">
<name>Feathering passes</name>
</parameter>
</effect>
<!DOCTYPE kpartgui>
<effect tag="mask_start" id="mask_start-shape" dependency="shape">
<name>Shape Alpha (Mask)</name>
<description>This filter makes a snapshop of the frame before an alpha channel (transparency) is created based on another resource. Use it together with the mask_apply effect, that uses a transition to composite the current frame's image over the snapshot. The typical use case is to add effects in the following sequence: this effect, zero or more effects, mask_apply.</description>
<author>Charles Yates, Dan Dennedy</author>
<parameter type="fixed" name="filter" value="shape">
<name>Filter</name>
</parameter>
<parameter type="url" name="filter.resource" filter="*|Video files">
<name>Image or video resource</name>
</parameter>
<parameter type="constant" name="filter.mix" max="100" min="0" default="100" suffix="%">
<name>Threshold</name>
<comment>Convert alpha or luma values below this level as opaque and above this level as transparent. This is mostly useful for luma wipe images.</comment>
</parameter>
<parameter type="constant" name="filter.softness" max="1" min="0" default="0.1" decimals="2">
<name>Softness</name>
<comment>When using mix (threshold) how soft to make the edge around the threshold. 0.0 = no softness, 1.0 = too soft.</comment>
</parameter>
<parameter type="bool" name="filter.invert" default="0" min="0" max="1">
<name>Invert</name>
<comment>Use the inverse of the alpha or luma value.</comment>
</parameter>
<parameter type="bool" name="filter.use_luminance" default="0" min="0" max="1">
<name>Use Luma</name>
<comment>Use the image luma instead of the alpha channel.</comment>
</parameter>
<parameter type="bool" name="filter.use_mix" default="1" min="0" max="1">
<name>Use Threshold</name>
<comment>Whether to apply a threshold filter to the luma or alpha or not. If not, luma or alpha value of the resource (File) is copied to the alpha channel.</comment>
</parameter>
</effect>
<?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,mask_start,mask_apply">
<group list="chroma,frei0r.alpha0ps,frei0r.alphagrad,frei0r.alphaspot,frei0r.transparency,frei0r.mask0mate,rotoscoping,mask_start-rotoscoping,frei0r.keyspillm0pup,avfilter.despill,obscure,frei0r.bluescreen0r,lumakey,shape,mask_start-shape,spot_remover,frei0r.select0r,frei0r.spillsupress,frei0r.bgsubtract0r,opencv.tracker,strobe,mask_start-frei0r.alphaspot,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