# frei0r-filter-keyspillm0pup

Reduces the visibility of key color spill in chroma keying

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstVideoFilter
                            ╰──frei0r-filter-keyspillm0pup

## Factory details

Authors: – Sebastian Dröge <sebastian.droege>, Marko Cebokli</sebastian.droege>

Classification: – `Filter/Effect/Video`

Rank – none

Plugin – frei0r

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: RGBA
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
             format: RGBA
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### amount-1

    “amount-1” gdouble

Flags : Read / Write

Default value : 0.55

### amount-2

    “amount-2” gdouble

Flags : Read / Write

Default value : 0

### hue-gate

    “hue-gate” gdouble

Restrict mask to hues close to key

Flags : Read / Write

Default value : 0.25

### key-color-b

    “key-color-b” gfloat

Key color that was used for chroma keying

Flags : Read / Write

Default value : 0.1

### key-color-g

    “key-color-g” gfloat

Key color that was used for chroma keying

Flags : Read / Write

Default value : 0.8

### key-color-r

    “key-color-r” gfloat

Key color that was used for chroma keying

Flags : Read / Write

Default value : 0.1

### mask-to-alpha

    “mask-to-alpha” gboolean

Replace alpha channel with the mask

Flags : Read / Write

Default value : false

### mask-type

    “mask-type” gchararray

Which mask to apply [0,1,2,3]

Flags : Read / Write

Default value : 0

### operation-1

    “operation-1” gchararray

First operation 1 [0,1,2]

Flags : Read / Write

Default value : 1

### operation-2

    “operation-2” gchararray

Second operation 2 [0,1,2]

Flags : Read / Write

Default value : 0

### saturation-threshold

    “saturation-threshold” gdouble

Restrict mask to saturated colors

Flags : Read / Write

Default value : 0.15

### show-mask

    “show-mask” gboolean

Replace image with the mask

Flags : Read / Write

Default value : false

### slope

    “slope” gdouble

Range of colors around the key where effect gradually decreases

Flags : Read / Write

Default value : 0.4

### target-color-b

    “target-color-b” gfloat

Desired color to replace key residue with

Flags : Read / Write

Default value : 0.4

### target-color-g

    “target-color-g” gfloat

Desired color to replace key residue with

Flags : Read / Write

Default value : 0.5

### target-color-r

    “target-color-r” gfloat

Desired color to replace key residue with

Flags : Read / Write

Default value : 0.78

### tolerance

    “tolerance” gdouble

Range of colors around the key, where effect is full strength

Flags : Read / Write

Default value : 0.24

The results of the search are