/usr/share/mlt/rotoscoping/filter_rotoscoping.yml is in libmlt-data 0.9.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | schema_version: 0.1
type: filter
identifier: rotoscoping
title: Rotoscoping
copyright: Copyright (C) 2011 Till Theato
version: 0.3
license: GPL
language: en
url: none
creator: Till Theato <root@ttill.de>
tags:
- Video
description: Keyframable vector based rotoscoping
bugs:
- in some cases top most row in polygon is assigned to outside
parameters:
- identifier: mode
title: Mode
type: string
description: How to visualize the area described by the spline
readonly: no
required: no
default: alpha
mutable: yes
widget: dropdown
values:
- alpha
- luma
- rgb
- identifier: alpha_operation
title: Alpha Operation
type: string
description: |
How to proceed with the current alpha mask (only if mode = alpha).
clear = existing alpha mask is overwritten
max = maximum: existing alpha mask, mask generated by this filter
min = minimum: existing alpha mask, mask generated by this filter
add = existing alpha mask + generated mask
sub = existing alpha mask - generated mask
readonly: no
required: no
default: clear
mutable: yes
widget: dropdown
values:
- clear
- max
- min
- add
- sub
- identifier: invert
title: Invert
type: integer
description: use area inside of spline (0) or the outside (1)
readonly: no
required: no
minimum: 0
maximum: 1
default: 0
mutable: yes
widget: checkbox
- identifier: feather
title: Feather
type: integer
description: amount of feathering (radius of "average" blur applied on mask)
readonly: no
required: no
minimum: 0
maximum: 1000 # no real limit
default: 0
mutable: yes
widget: spinner
- identifier: feather_passes
title: Feathering passes
type: integer
description: number of blur (feathering) passes
readonly: no
required: no
minimum: 1
maximum: 1000 # no real limit
default: 1
mutable: yes
widget: spinner
- identifier: spline
title: Spline
type: string
description: >
The spline, a list of cubic Bézier curves, is described using JSON.
The most basic parts are the coordinate tuples: [x, y]; x,y will be mapped from the range 0-1 to the image dimensions.
Next layer are the Bézier points: [handle 1, point, handle 2] with handle 1, point, handle 2 being coordinate tuples
The spline is a list of Bézier points.
Optionally keyframes can be defined as a object of frame values, relative to the filter's in point, assigned to splines.
readonly: no
required: yes
mutable: yes
|