Top |
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.
1 |
gst-launch-1.0 -v videotestsrc pattern=1 ! smpte name=s border=20000 type=234 duration=2000000000 ! videoconvert ! ximagesink videotestsrc ! s. |
plugin |
smpte |
author |
Wim Taymans <wim.taymans@chello.be> |
class |
Filter/Editor/Video |
name |
sink1 |
direction |
sink |
presence |
always |
details |
video/x-raw, format=(string)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] |
name |
sink2 |
direction |
sink |
presence |
always |
details |
video/x-raw, format=(string)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] |
name |
src |
direction |
source |
presence |
always |
details |
video/x-raw, format=(string)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] |
“border”
property “border” gint
The border width of the transition.
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“depth”
property “depth” gint
Depth of the mask in bits.
Flags: Read / Write
Allowed values: [1,24]
Default value: 16
“type”
property “type” GstSMPTETransitionType
The type of transition to use.
Flags: Read / Write
Default value: A bar moves from left to right
“duration”
property “duration” guint64
Duration of the transition effect in nanoseconds.
Flags: Read / Write
Default value: 1000000000