smpte

smpte — Apply the standard SMPTE transitions on video images

Synopsis

                    GstSMPTE;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstSMPTE

Properties

  "border"                   gint                  : Read / Write
  "depth"                    gint                  : Read / Write
  "fps"                      gfloat                : Read / Write
  "type"                     GstSMPTETransitionType  : Read / Write
  "duration"                 guint64               : Read / Write

Description

smpte can accept I420 video streams with the same width, height and framerate. The two incomming buffers are blended together using an effect specific alpha mask.

The "depth" property defines the presision in bits of the mask. A higher presision will create a mask with smoother gradients in order to avoid banding.

Sample pipelines

gst-launch -v videotestsrc pattern=1 ! smpte name=s border=20000 type=234 duration=2000000000 ! ffmpegcolorspace ! ximagesink videotestsrc ! s.
A pipeline to demonstrate the smpte transition. It shows a pinwheel transition a from a snow videotestsrc to an smpte pattern videotestsrc. The transition will take 2 seconds to complete. The edges of the transition are smoothed with a 20000 big border.

Details

GstSMPTE

typedef struct _GstSMPTE GstSMPTE;

Property Details

The "border" property

  "border"                   gint                  : Read / Write

The border width of the transition.

Allowed values: >= 0

Default value: 0


The "depth" property

  "depth"                    gint                  : Read / Write

Depth of the mask in bits.

Allowed values: [1,24]

Default value: 16


The "fps" property

  "fps"                      gfloat                : Read / Write

Frames per second if no input files are given (deprecated).

Allowed values: >= 0

Default value: 0


The "type" property

  "type"                     GstSMPTETransitionType  : Read / Write

The type of transition to use.

Default value: A bar moves from left to right


The "duration" property

  "duration"                 guint64               : Read / Write

Duration of the transition effect in nanoseconds.

Default value: 1000000000