# simplevideomark

This plugin produces pattern-count squares in the bottom left corner of the video frames. The squares have a width and height of respectively pattern-width and pattern-height. Even squares will be black and odd squares will be white.

After writing the pattern, pattern-data-count squares after the pattern squares are produced as the bitarray given in pattern-data. 1 bits will produce white squares and 0 bits will produce black squares.

The element can be enabled with the enabled property. It is mostly used together with the simplevideomarkdetect plugin.

## Example launch line

     gst-launch-1.0 videotestsrc ! simplevideomark ! videoconvert ! ximagesink

Add the default black/white squares at the bottom left of the video frames.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstVideoFilter
                            ╰──simplevideomark

## Factory details

Authors: – Wim Taymans <wim></wim>

Classification: – `Filter/Effect/Video`

Rank – none

Plugin – videosignal

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: { I420, YV12, Y41B, Y42B, Y444, YUY2, UYVY, AYUV, YVYU }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
             format: { I420, YV12, Y41B, Y42B, Y444, YUY2, UYVY, AYUV, YVYU }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### bottom-offset

    “bottom-offset” gint

The offset from the bottom border where the pattern starts

Flags : Read / Write / Construct

Default value : 0

### enabled

    “enabled” gboolean

Enable or disable the filter

Flags : Read / Write / Construct

Default value : true

### left-offset

    “left-offset” gint

The offset from the left border where the pattern starts

Flags : Read / Write / Construct

Default value : 0

### pattern-count

    “pattern-count” gint

The number of pattern markers

Flags : Read / Write / Construct

Default value : 4

### pattern-data

    “pattern-data” guint64

The extra data pattern markers

Flags : Read / Write / Construct

Default value : 10

### pattern-data-count

    “pattern-data-count” gint

The number of extra data pattern markers

Flags : Read / Write / Construct

Default value : 5

### pattern-height

    “pattern-height” gint

The height of the pattern markers

Flags : Read / Write / Construct

Default value : 16

### pattern-width

    “pattern-width” gint

The width of the pattern markers

Flags : Read / Write / Construct

Default value : 4

The results of the search are