![]() |
![]() |
![]() |
GStreamer Good Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
"border" gint : Read / Write "depth" gint : Read / Write "fps" gfloat : Read / Write "type" GstSMPTETransitionType : Read / Write "duration" guint64 : Read / Write
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.
Here is a pipeline to demonstrate the smpte transition :
gst-launch -v videotestsrc pattern=1 ! smpte name=s border=20000 type=234 duration=2000000000 ! ffmpegcolorspace ! ximagesink videotestsrc ! s.
This 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.
plugin |
smpte |
author |
Wim Taymans <wim.taymans@chello.be> |
class |
Filter/Editor/Video |
name |
src |
direction |
source |
presence |
always |
details |
video/x-raw-yuv, format=(fourcc)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-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] |
name |
sink1 |
direction |
sink |
presence |
always |
details |
video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] |
"border"
property"border" gint : Read / Write
The border width of the transition.
Allowed values: >= 0
Default value: 0
"depth"
property"depth" gint : Read / Write
Depth of the mask in bits.
Allowed values: [1,24]
Default value: 16
"fps"
property"fps" gfloat : Read / Write
Frames per second if no input files are given (deprecated).
Allowed values: >= 0
Default value: 0
"type"
property"type" GstSMPTETransitionType : Read / Write
The type of transition to use.
Default value: A bar moves from left to right
"duration"
property"duration" guint64 : Read / Write
Duration of the transition effect in nanoseconds.
Default value: 1000000000