]> git.sesse.net Git - mlt/blobdiff - src/modules/opengl/filter_movit_opacity.yml
Merge pull request #37 from jliljebl/luma-lift-gain-gamma
[mlt] / src / modules / opengl / filter_movit_opacity.yml
index fa82b60d8272fb0681227bebb78de3b178c4dcd7..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
@@ -23,3 +24,17 @@ parameters:
     minimum: 0
     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