Top |
guint64 | audio-jitter-tolerance | Read / Write |
gboolean | avoid-reencoding | Read / Write |
GstEncodeBinFlags | flags | Read / Write |
GstEncodingProfile * | profile | Read / Write |
guint | queue-buffers-max | Read / Write |
guint | queue-bytes-max | Read / Write |
guint64 | queue-time-max | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBin ╰── GstEncodeBin
EncodeBin provides a bin for encoding/muxing various streams according to a specified GstEncodingProfile.
Based on the profile that was set (via the “profile” property), EncodeBin will internally select and configure the required elements (encoders, muxers, but also audio and video converters) so that you can provide it raw or pre-encoded streams of data in input and have your encoded/muxed/converted stream in output.
plugin |
encoding |
author |
Edward Hervey <edward.hervey@collabora.co.uk> |
class |
Generic/Bin/Encoder |
“audio-jitter-tolerance”
property“audio-jitter-tolerance” guint64
Amount of timestamp jitter/imperfection to allow on audio streams before inserting/dropping samples (ns).
Flags: Read / Write
Default value: 20000000
“avoid-reencoding”
property“avoid-reencoding” gboolean
Whether to re-encode portions of compatible video streams that lay on segment boundaries.
Flags: Read / Write
Default value: FALSE
“flags”
property “flags” GstEncodeBinFlags
Control the behaviour of encodebin.
Flags: Read / Write
“profile”
property“profile” GstEncodingProfile *
The GstEncodingProfile to use. This property must be set before going
to GST_STATE_PAUSED
or higher.
Flags: Read / Write
“queue-buffers-max”
property“queue-buffers-max” guint
Max. number of buffers in the queue (0=disable).
Flags: Read / Write
Default value: 200
“queue-bytes-max”
property“queue-bytes-max” guint
Max. amount of data in the queue (bytes, 0=disable).
Flags: Read / Write
Default value: 10485760
“queue-time-max”
property“queue-time-max” guint64
Max. amount of data in the queue (in ns, 0=disable).
Flags: Read / Write
Default value: 1000000000
“request-pad”
signalGstPad* user_function (GstEncodeBin *encodebin, GstCaps *caps, gpointer user_data)
Use this method to request an unused sink request GstPad that can take the
provided caps
as input. You must release the pad with
gst_element_release_request_pad()
when you are done with it.
encodebin |
a GstEncodeBin instance |
|
caps |
a GstCaps |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
“request-profile-pad”
signalGstPad* user_function (GstEncodeBin *encodebin, gchar *profilename, gpointer user_data)
Use this method to request an unused sink request GstPad from the profile
profilename
. You must release the pad with
gst_element_release_request_pad()
when you are done with it.
encodebin |
a GstEncodeBin instance |
|
profilename |
the name of a GstEncodingProfile |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action