testsrcbin
This is a simple GstBin source that wraps audiotestsrc/videotestsrc
following specification passed in the URI (it implements the GstURIHandler interface)
in the form of testbin://audio+video
or setting the "stream-types" property
with the same format.
This element also provides GstStream and GstStreamCollection and thus the element is useful for testing the new playbin3 infrastructure.
Example pipeline:
gst-launch-1.0 playbin uri=testbin://audio,volume=0.5+video,pattern=white
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBin ╰──testsrcbin
Factory details
Authors: – Erik Walthinsen
Classification: – Generic/Bin
Rank – none
Plugin – gstdebugutilsbad
Package – GStreamer Bad Plug-ins
Pad Templates
Signals
no-more-pads
no_more_pads_callback (GstElement * param_0, gpointer udata)
def no_more_pads_callback (param_0, udata):
#python callback for the 'no-more-pads' signal
function no_more_pads_callback(param_0: GstElement * param_0, udata: gpointer udata): {
// javascript callback for the 'no-more-pads' signal
}
Parameters:
param_0
–
udata
–
Flags: Run Last
pad-added
pad_added_callback (GstElement * param_0, GstPad * arg0, gpointer udata)
def pad_added_callback (param_0, arg0, udata):
#python callback for the 'pad-added' signal
function pad_added_callback(param_0: GstElement * param_0, arg0: GstPad * arg0, udata: gpointer udata): {
// javascript callback for the 'pad-added' signal
}
Parameters:
param_0
–
arg0
–
udata
–
Flags: Run Last
pad-removed
pad_removed_callback (GstElement * param_0, GstPad * arg0, gpointer udata)
def pad_removed_callback (param_0, arg0, udata):
#python callback for the 'pad-removed' signal
function pad_removed_callback(param_0: GstElement * param_0, arg0: GstPad * arg0, udata: gpointer udata): {
// javascript callback for the 'pad-removed' signal
}
Parameters:
param_0
–
arg0
–
udata
–
Flags: Run Last
Properties
async-handling
“async-handling” gboolean
The bin will handle Asynchronous state changes
Flags : Read / Write
Default value : false
message-forward
“message-forward” gboolean
Forwards all children messages
Flags : Read / Write
Default value : false
stream-types
“stream-types” gchararray
String describing the stream types to expose, eg. "video+audio".
Flags : Read / Write
Default value : NULL
The results of the search are