]> git.sesse.net Git - mlt/blobdiff - src/modules/opengl/filter_movit_opacity.yml
Add alpha property to movit.opacity filter.
[mlt] / src / modules / opengl / filter_movit_opacity.yml
index cf4d1d65dac2107114ede725c6ffd7c6080bf0cb..264ce321780d1168859900a5676936b2bb566710 100644 (file)
@@ -15,6 +15,7 @@ notes: >
   the other video. If the video this is applied to already has an alpha channel,
   then this preserves that by multiplying the opacity level with the alpha channel.
   This filter is especially handy when used in conjunction with movit.overlay.
+  You can also use this to fade a clip from and to black.
 
 parameters:
   - identifier: opacity
@@ -24,3 +25,16 @@ parameters:
     maximum: 1
     default: 1
     mutable: yes
+
+  - identifier: alpha
+    title: Alpha
+    description: >
+      When this is less than zero, the alpha component of the Movit mutliply
+      effect follows opacity. Otherwise, you can set this to another value to
+      control the alpha component independently. If you set this to 1, then
+      the opacity parameter can be used to fade to and from black.
+    type: float
+    minimum: -1
+    maximum: 1
+    default: -1
+    mutable: yes