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
EncodingProfileGidBuilder builder() static nothrowGet builder for [gstpbutils.encoding_profile.EncodingProfile] Returns: New builder objectgst.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.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 selfbool getAllowDynamicOutput() nothrowGet whether the format that has been negotiated in at some point can be renegotiated later during the encoding. Returns:string getDescription() nothrowgst.structure.Structure getElementProperties() nothrowstring getFileExtension() nothrowgst.caps.Caps getFormat() nothrowgst.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() nothrowuint getPresence() nothrowstring getPreset() nothrowstring getPresetName() nothrowgst.caps.Caps getRestriction() nothrowbool getSingleSegment() nothrowstring getTypeNick() nothrowbool isEnabled() nothrowbool isEqual(gstpbutils.encoding_profile.EncodingProfile b) nothrowChecks whether the two #GstEncodingProfile are equalvoid 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 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 streamvoid 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.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) nothrowFluent builder for gstpbutils.encoding_profile.EncodingProfile
Methods