gstpbutils.encoding_profile

Module for [EncodingProfile] class

Types 3

The opaque base class object for all encoding profiles. This contains generic information like name, description, format and preset.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
EncodingProfile self() nothrowReturns `this`, for use in `with` statements.
EncodingProfileGidBuilder builder() static nothrowGet builder for [gstpbutils.encoding_profile.EncodingProfile] Returns: New builder object
gst.structure.Structure elementProperties() @property nothrowGet `elementProperties` property. Returns: A #GstStructure defining the properties to be set to the element the profile represents.
void elementProperties(gst.structure.Structure propval) @property nothrowSet `elementProperties` property. Params: propval = A #GstStructure defining the properties to be set to the element the profile represents.
gst.caps.Caps restrictionCaps() @property nothrow
void restrictionCaps(gst.caps.Caps propval) @property nothrow
gstpbutils.encoding_profile.EncodingProfile find(string targetname, string profilename = null, string category = null) static nothrowFind the #GstEncodingProfile with the specified name and category.
gstpbutils.encoding_profile.EncodingProfile fromDiscoverer(gstpbutils.discoverer_info.DiscovererInfo info) static nothrowCreates a #GstEncodingProfile matching the formats from the given #GstDiscovererInfo. Streams other than audio or video (eg, subtitles), are currently ignored.
gstpbutils.encoding_profile.EncodingProfile copy() nothrowMakes a deep copy of self Returns: The copy of self
bool getAllowDynamicOutput() nothrowGet whether the format that has been negotiated in at some point can be renegotiated later during the encoding. Returns:
string getDescription() nothrow
string getFileExtension() nothrow
gst.caps.Caps getInputCaps() nothrowComputes the full output caps that this profile will be able to consume. Returns: The full caps the given profile can consume. Call gst_caps_unref() when you are done with the caps.
string getName() nothrow
uint getPresence() nothrow
string getPreset() nothrow
string getPresetName() nothrow
bool getSingleSegment() nothrow
string getTypeNick() nothrow
bool isEnabled() nothrow
bool isEqual(gstpbutils.encoding_profile.EncodingProfile b) nothrowChecks whether the two #GstEncodingProfile are equal
void setAllowDynamicOutput(bool allowDynamicOutput) nothrowSets whether the format that has been negotiated in at some point can be renegotiated later during the encoding.
void setDescription(string description = null) nothrowSet description as the given description for the profile. A copy of description will be made internally.
void setElementProperties(gst.structure.Structure elementProperties) nothrowThis allows setting the muxing/encoding element properties.
void setEnabled(bool enabled) nothrowSet whether the profile should be used or not.
void setFormat(gst.caps.Caps format) nothrowSets the media format used in the profile.
void setName(string name = null) nothrowSet name as the given name for the profile. A copy of name will be made internally.
void setPresence(uint presence) nothrowSet the number of time the profile is used in its parent container profile. If 0, it is not a mandatory stream
void setPreset(string preset = null) nothrowSets the name of the #GstElement that implements the #GstPreset interface to use for the profile. This is the name that has been set when saving the preset.
void setPresetName(string presetName = null) nothrowSets the name of the #GstPreset's factory to be used in the profile.
void setRestriction(gst.caps.Caps restriction = null) nothrowSet the restriction #GstCaps to apply before the encoder that will be used in the profile. See [gstpbutils.encoding_profile.EncodingProfile.getRestriction] for more about restrictions. Does not app...
void setSingleSegment(bool singleSegment) nothrowIf using a single segment, buffers will be retimestamped and segments will be eat so as to appear as one segment.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gstpbutils.encoding_profile.EncodingProfile

Methods
T elementProperties(gst.structure.Structure propval) nothrowSet `elementProperties` property. Params: propval = A #GstStructure defining the properties to be set to the element the profile represents.
T restrictionCaps(gst.caps.Caps propval) nothrow