appsink
Appsink is a sink plugin that supports many different methods for making the application get a handle on the GStreamer data in a pipeline. Unlike most GStreamer elements, Appsink provides external API functions.
For the documentation of the API, please see the
libgstapp section in the GStreamer Plugins Base Libraries documentation.Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseSink ╰──appsink
Implemented interfaces
Factory details
Authors: – David Schleef
Classification: – Generic/Sink
Rank – none
Plugin – app
Package – GStreamer Base Plug-ins
Pad Templates
sink
ANY
Signals
eos
eos_callback (GstElement * param_0, gpointer udata)
def eos_callback (param_0, udata):
#python callback for the 'eos' signal
function eos_callback(param_0: GstElement * param_0, udata: gpointer udata): {
// javascript callback for the 'eos' signal
}
Parameters:
param_0
–
udata
–
Flags: Run Last
new-preroll
GstFlowReturn * new_preroll_callback (GstElement * param_0, gpointer udata)
def new_preroll_callback (param_0, udata):
#python callback for the 'new-preroll' signal
function new_preroll_callback(param_0: GstElement * param_0, udata: gpointer udata): {
// javascript callback for the 'new-preroll' signal
}
Parameters:
param_0
–
udata
–
Flags: Run Last
new-sample
GstFlowReturn * new_sample_callback (GstElement * param_0, gpointer udata)
def new_sample_callback (param_0, udata):
#python callback for the 'new-sample' signal
function new_sample_callback(param_0: GstElement * param_0, udata: gpointer udata): {
// javascript callback for the 'new-sample' signal
}
Parameters:
param_0
–
udata
–
Flags: Run Last
pull-preroll
GstSample * pull_preroll_callback (GstElement * param_0, gpointer udata)
def pull_preroll_callback (param_0, udata):
#python callback for the 'pull-preroll' signal
function pull_preroll_callback(param_0: GstElement * param_0, udata: gpointer udata): {
// javascript callback for the 'pull-preroll' signal
}
Parameters:
param_0
–
udata
–
pull-sample
GstSample * pull_sample_callback (GstElement * param_0, gpointer udata)
def pull_sample_callback (param_0, udata):
#python callback for the 'pull-sample' signal
function pull_sample_callback(param_0: GstElement * param_0, udata: gpointer udata): {
// javascript callback for the 'pull-sample' signal
}
Parameters:
param_0
–
udata
–
try-pull-preroll
GstSample * try_pull_preroll_callback (GstElement * param_0, guint64 arg0, gpointer udata)
def try_pull_preroll_callback (param_0, arg0, udata):
#python callback for the 'try-pull-preroll' signal
function try_pull_preroll_callback(param_0: GstElement * param_0, arg0: guint64 arg0, udata: gpointer udata): {
// javascript callback for the 'try-pull-preroll' signal
}
Parameters:
param_0
–
arg0
–
udata
–
try-pull-sample
GstSample * try_pull_sample_callback (GstElement * param_0, guint64 arg0, gpointer udata)
def try_pull_sample_callback (param_0, arg0, udata):
#python callback for the 'try-pull-sample' signal
function try_pull_sample_callback(param_0: GstElement * param_0, arg0: guint64 arg0, udata: gpointer udata): {
// javascript callback for the 'try-pull-sample' signal
}
Parameters:
param_0
–
arg0
–
udata
–
Properties
drop
“drop” gboolean
Drop old buffers when the buffer queue is filled
Flags : Read / Write
Default value : false
emit-signals
“emit-signals” gboolean
Emit new-preroll and new-sample signals
Flags : Read / Write
Default value : false
max-buffers
“max-buffers” guint
The maximum number of buffers to queue internally (0 = unlimited)
Flags : Read / Write
Default value : 0
wait-on-eos
“wait-on-eos” gboolean
Wait for all buffers to be processed after receiving an EOS
Flags : Read / Write
Default value : true
The results of the search are