shapewipe

shapewipe — Adds a shape wipe transition to a video stream

Synopsis

                    GstShapeWipe;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstShapeWipe

Properties

  "border"                   gfloat                : Read / Write
  "position"                 gfloat                : Read / Write

Description

The shapewipe element provides custom transitions on video streams based on a grayscale bitmap. The state of the transition can be controlled by the position property and an optional blended border can be added by the border property.

Transition bitmaps can be downloaded from the Cinelerra transition page.

Example launch line

gst-launch -v videotestsrc ! video/x-raw-yuv,width=640,height=480 ! shapewipe position=0.5 name=shape ! videomixer name=mixer ! ffmpegcolorspace ! autovideosink     filesrc location=mask.png ! typefind ! decodebin2 ! ffmpegcolorspace ! videoscale ! queue ! shape.mask_sink    videotestsrc pattern=snow ! video/x-raw-yuv,width=640,height=480 ! queue ! mixer.
This pipeline adds the transition from mask.png with position 0.5 to an SMPTE test screen and snow.

Details

GstShapeWipe

typedef struct _GstShapeWipe GstShapeWipe;

Property Details

The "border" property

  "border"                   gfloat                : Read / Write

Border of the mask.

Allowed values: [0,1]

Default value: 0


The "position" property

  "position"                 gfloat                : Read / Write

Position of the mask.

Allowed values: [0,1]

Default value: 0