zebrastripe

The zebrastripe element marks areas of images in a video stream that are brighter than a threshold with a diagonal zebra stripe pattern. Typically, this is used to aid in adjusting the exposure setting on the camera. Setting the threshold to 95 or 100 will show areas that are completely overexposed and clipping. A threshold setting of 70 is often used to properly adjust skin tones.

Example launch line

 gst-launch-1.0 -v videotestsrc ! zebrastripe ! xvimagesink

Marks overexposed areas of the video with zebra stripes.

The threshold property is expressed as percentage of full scale, whereas common usage expresses thresholds in terms of IRE. The property setting can be calculated from IRE by using the formula percent = (IRE * 1.075) - 7.5. Note that 100 IRE corresponds to 100 %, and 70 IRE corresponds to 68 %.

Hierarchy

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

Factory details

Authors: – David Schleef

Classification:Filter/Analysis

Rank – none

Plugin – videofiltersbad

Package – GStreamer Bad Plug-ins

Pad Templates

sink

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

Presencealways

Directionsink

Object typeGstPad


src

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

Presencealways

Directionsrc

Object typeGstPad


Properties

threshold

“threshold” gint

Threshold above which the video is striped

Flags : Read / Write / Construct

Default value : 90


The results of the search are