![]() |
![]() |
![]() |
GStreamer Base Plugins 1.0 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
GObject +----GInitiallyUnowned +----GstObject +----GstElement +----GstBin +----GstEncodeBin
"audio-jitter-tolerance" guint64 : Read / Write "avoid-reencoding" gboolean : Read / Write "profile" GstEncodingProfile* : Read / Write "queue-buffers-max" guint : Read / Write "queue-bytes-max" guint : Read / Write "queue-time-max" guint64 : Read / Write "flags" GstEncodeBinFlags : Read / Write
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 : Read / Write
Amount of timestamp jitter/imperfection to allow on audio streams before inserting/dropping samples (ns).
Default value: 20000000
"avoid-reencoding"
property"avoid-reencoding" gboolean : Read / Write
Whether to re-encode portions of compatible video streams that lay on segment boundaries.
Default value: FALSE
"profile"
property"profile" GstEncodingProfile* : Read / Write
The GstEncodingProfile to use. This property must be set before going
to GST_STATE_PAUSED
or higher.
"queue-buffers-max"
property"queue-buffers-max" guint : Read / Write
Max. number of buffers in the queue (0=disable).
Default value: 200
"queue-bytes-max"
property"queue-bytes-max" guint : Read / Write
Max. amount of data in the queue (bytes, 0=disable).
Default value: 10485760
"queue-time-max"
property "queue-time-max" guint64 : Read / Write
Max. amount of data in the queue (in ns, 0=disable).
Default value: 1000000000
"request-pad"
signalGstPad* user_function (GstEncodeBin *encodebin,
GstCaps *caps,
gpointer user_data) : Action
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.
|
a GstEncodeBin instance |
|
a GstCaps |
|
user data set when the signal handler was connected. |
Returns : |
A compatible GstPad, or NULL if no compatible GstPad could be
created or is available. |