]> git.sesse.net Git - kdenlive/commitdiff
Light Graffiti made keyframeable
authorSimon A. Eugster <simon.eu@gmail.com>
Mon, 24 Jan 2011 08:47:38 +0000 (08:47 +0000)
committerSimon A. Eugster <simon.eu@gmail.com>
Mon, 24 Jan 2011 08:47:38 +0000 (08:47 +0000)
svn path=/trunk/kdenlive/; revision=5350

effects/frei0r_lightgraffiti.xml

index 68c200303d219cd13763116c31297c0fde070605..25095c9dd76bfbaadb1444ab5ee4c36838e5ccf9 100644 (file)
@@ -5,35 +5,35 @@
         <full><![CDATA[This effect allows to do Light Painting (i.e. painting with light sources on a photo by keeping the shutter
         opened for a while), but for video.]]></full></description>
         <author>Simon A. Eugster (Granjow)</author>
-        <parameter type="constant" name="sensitivity" default="100" min="0" max="500" factor="100">
+        <parameter type="simplekeyframe" name="sensitivity" default="100" min="0" max="500" factor="100">
             <name>Sensitivity</name>
             <comment><![CDATA[Light sensitivity.<br/>
             For slowly moving light source try to use a lower sensitivity to obtain a better exposure.]]></comment>
         </parameter>
-        <parameter type="constant" name="thresholdBrightness" default="450" min="0" max="765" factor="1">
+        <parameter type="simplekeyframe" name="thresholdBrightness" default="450" min="0" max="765" factor="1">
             <name>Brightness Threshold</name>
             <comment><![CDATA[How bright (<code>R+G+B</code>) does a pixel need to be in order to be recognized as a light source?<br/>
             Increasing this threshold requires brighter light sources (i.e. more white or less color, respectively) but prevents some «false alarms» where semi-bright parts, e.g. hands where colors can change quite a lot compared to the background, are incorrectly recognized as light source.]]></comment>
         </parameter>
-        <parameter type="constant" name="thresholdDifference" default="80" min="0" max="255" factor="1">
+        <parameter type="simplekeyframe" name="thresholdDifference" default="80" min="0" max="255" factor="1">
             <name>Difference Threshold</name>
             <comment><![CDATA[How much does the strongest color channel of a pixel have to change, compared to the background image (<code>max(dR, dG, dB)</code>), in order to be recognized as light source? <br/>
             Increasing this threshold makes it harder for light sources to be accepted on bright backgrounds, but decreases the danger of noise or generally bright spots counting as light source.]]></comment>
         </parameter>
-        <parameter type="constant" name="thresholdDiffSum" default="0" min="0" max="765" factor="1">
+        <parameter type="simplekeyframe" name="thresholdDiffSum" default="0" min="0" max="765" factor="1">
             <name>Difference Sum Threshold</name>
             <comment><![CDATA[How much does the sum of all color channels <em>relative to the background image</em> (<code>dR + dG + dB</code>) have to change until a pixel is recognized as a light source?.<br/>
             Raising this value might, in some cases, avoid that some light objects lit by the light source are added to the light mask.]]></comment>
         </parameter>
-        <parameter type="constant" name="dim" default="0" min="0" max="255" factor="255">
+        <parameter type="simplekeyframe" name="dim" default="0" min="0" max="255" factor="255">
             <name>Dimming</name>
             <comment>Dims the light mask. Lights will leave a fainting trail if it is set to a value > 0.</comment>
         </parameter>
-        <parameter type="constant" name="backgroundWeight" default="0" min="0" max="100" factor="100">
+        <parameter type="simplekeyframe" name="backgroundWeight" default="0" min="0" max="100" factor="100">
             <name>Background Weight</name>
             <comment>Strength of the (calculated) background image. Setting it to 100 paints the light mask directly over the background, without the painting person in the image if the video starts with a «clean» background image. (See the α parameter.)</comment>
         </parameter>
-        <parameter type="constant" name="longAlpha" default="0" min="0" max="256" factor="256">
+        <parameter type="simplekeyframe" name="longAlpha" default="0" min="0" max="256" factor="256">
             <name>α</name>
             <comment><![CDATA[Determines how the effect tries to adapt to background changes. <br/>
             The Light Graffiti remembers the first frame of the clip it is applied to, so the clip should <em>always</em> start with the painter outside of the video. If the background constantly changes, e.g. on a street, try to set α > 0 to calculate an average background image.]]></comment>