]> git.sesse.net Git - mlt/blob - src/modules/opengl/filter_movit_opacity.yml
Add alpha property to movit.opacity filter.
[mlt] / src / modules / opengl / filter_movit_opacity.yml
1 schema_version: 0.1
2 type: filter
3 identifier: movit.opacity
4 title: Opacity (GLSL)
5 version: 1
6 copyright: Dan Dennedy
7 creator: Steinar H. Gunderson
8 license: GPLv2
9 language: en
10 tags:
11   - Video
12 description: Adjust the opacity of an image through the alpha channel.
13 notes: >
14   When used in some transitions this will cause this video to be mixed with
15   the other video. If the video this is applied to already has an alpha channel,
16   then this preserves that by multiplying the opacity level with the alpha channel.
17   This filter is especially handy when used in conjunction with movit.overlay.
18   You can also use this to fade a clip from and to black.
19
20 parameters:
21   - identifier: opacity
22     title: Opacity
23     type: float
24     minimum: 0
25     maximum: 1
26     default: 1
27     mutable: yes
28
29   - identifier: alpha
30     title: Alpha
31     description: >
32       When this is less than zero, the alpha component of the Movit mutliply
33       effect follows opacity. Otherwise, you can set this to another value to
34       control the alpha component independently. If you set this to 1, then
35       the opacity parameter can be used to fade to and from black.
36     type: float
37     minimum: -1
38     maximum: 1
39     default: -1
40     mutable: yes