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 , Wim Taymans

Classification:Generic/Sink

Rank – none

Plugin – app

Package – GStreamer Base Plug-ins

Pad Templates

sink

ANY

Presencealways

Directionsink

Object typeGstPad


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
No description available
udata
No description available

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
No description available
udata
No description available
Returns ( GstFlowReturn * ) –
No description available

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
No description available
udata
No description available
Returns ( GstFlowReturn * ) –
No description available

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
No description available
udata
No description available
Returns ( GstSample * ) –
No description available

Flags: Run Last / Action


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
No description available
udata
No description available
Returns ( GstSample * ) –
No description available

Flags: Run Last / Action


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
No description available
arg0
No description available
udata
No description available
Returns ( GstSample * ) –
No description available

Flags: Run Last / Action


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
No description available
arg0
No description available
udata
No description available
Returns ( GstSample * ) –
No description available

Flags: Run Last / Action


Properties

buffer-list

“buffer-list” gboolean

Use buffer lists

Flags : Read / Write

Default value : false


caps

“caps” GstCaps *

The allowed caps for the sink pad

Flags : Read / Write


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


eos

“eos” gboolean

Check if the sink is EOS or not started

Flags : Read

Default value : true


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