Top |
gboolean | block | Read / Write |
GstCaps * | caps | Read / Write |
guint64 | current-level-bytes | Read |
gboolean | emit-signals | Read / Write |
GstFormat | format | Read / Write |
gboolean | is-live | Read / Write |
guint64 | max-bytes | Read / Write |
gint64 | max-latency | Read / Write |
gint64 | min-latency | Read / Write |
guint | min-percent | Read / Write |
gint64 | size | Read / Write |
GstAppStreamType | stream-type | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseSrc ╰── GstAppSrc
The appsrc element can be used by applications to insert data into a GStreamer pipeline. Unlike most GStreamer elements, Appsrc provides external API functions.
For the documentation of the API, please see the
libgstapp section in theGStreamer Plugins Base Libraries documentation.
plugin |
app |
author |
David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com> |
class |
Generic/Source |
“block”
property“block” gboolean
Block push-buffer when max-bytes are queued.
Flags: Read / Write
Default value: FALSE
“current-level-bytes”
property“current-level-bytes” guint64
The number of currently queued bytes.
Flags: Read
Default value: 0
“emit-signals”
property“emit-signals” gboolean
Emit need-data, enough-data and seek-data signals.
Flags: Read / Write
Default value: TRUE
“format”
property“format” GstFormat
The format of the segment events and seek.
Flags: Read / Write
Default value: GST_FORMAT_BYTES
“is-live”
property“is-live” gboolean
Whether to act as a live source.
Flags: Read / Write
Default value: FALSE
“max-bytes”
property“max-bytes” guint64
The maximum number of bytes to queue internally (0 = unlimited).
Flags: Read / Write
Default value: 200000
“max-latency”
property“max-latency” gint64
The maximum latency (-1 = unlimited).
Flags: Read / Write
Allowed values: >= G_MAXULONG
Default value: -1
“min-latency”
property“min-latency” gint64
The minimum latency (-1 = default).
Flags: Read / Write
Allowed values: >= G_MAXULONG
Default value: -1
“min-percent”
property“min-percent” guint
Emit need-data when queued bytes drops below this percent of max-bytes.
Flags: Read / Write
Allowed values: <= 100
Default value: 0
“size”
property“size” gint64
The size of the data stream in bytes (-1 if unknown).
Flags: Read / Write
Allowed values: >= G_MAXULONG
Default value: -1
“stream-type”
property“stream-type” GstAppStreamType
the type of the stream.
Flags: Read / Write
Default value: GST_APP_STREAM_TYPE_STREAM
“end-of-stream”
signalGstFlowReturn user_function (GstAppSrc *gstappsrc, gpointer user_data)
Flags: Action
“enough-data”
signalvoid user_function (GstAppSrc *gstappsrc, gpointer user_data)
Flags: Run Last
“need-data”
signalvoid user_function (GstAppSrc *gstappsrc, guint arg1, gpointer user_data)
Flags: Run Last
“push-buffer”
signalGstFlowReturn user_function (GstAppSrc *gstappsrc, GstBuffer *arg1, gpointer user_data)
Flags: Action
“seek-data”
signalgboolean user_function (GstAppSrc *gstappsrc, guint64 arg1, gpointer user_data)
Flags: Run Last
“push-sample”
signalGstFlowReturn user_function (GstAppSrc *gstappsrc, GstSample *arg1, gpointer user_data)
Flags: Action