EncodingContainerProfile

Encoding profiles for containers. Keeps track of a list of #GstEncodingProfile

Constructors

this
this(string name, string description, gst.caps.Caps format, string preset)

Creates a new #GstEncodingContainerProfile.

Members

Functions

addProfile
bool addProfile(gstpbutils.encoding_profile.EncodingProfile profile)

Add a #GstEncodingProfile to the list of profiles handled by container.

containsProfile
bool containsProfile(gstpbutils.encoding_profile.EncodingProfile profile)

Checks if container contains a #GstEncodingProfile identical to profile.

getProfiles
gstpbutils.encoding_profile.EncodingProfile[] getProfiles()

Inherited Members

From EncodingProfile

find
gstpbutils.encoding_profile.EncodingProfile find(string targetname, string profilename, string category)

Find the #GstEncodingProfile with the specified name and category.

fromDiscoverer
gstpbutils.encoding_profile.EncodingProfile fromDiscoverer(gstpbutils.discoverer_info.DiscovererInfo info)

Creates a #GstEncodingProfile matching the formats from the given #GstDiscovererInfo. Streams other than audio or video (eg, subtitles), are currently ignored.

copy
gstpbutils.encoding_profile.EncodingProfile copy()

Makes a deep copy of self

getAllowDynamicOutput
bool getAllowDynamicOutput()

Get whether the format that has been negotiated in at some point can be renegotiated later during the encoding.

getDescription
string getDescription()
getElementProperties
gst.structure.Structure getElementProperties()
getFileExtension
string getFileExtension()
getFormat
gst.caps.Caps getFormat()
getInputCaps
gst.caps.Caps getInputCaps()

Computes the full output caps that this profile will be able to consume.

getName
string getName()
getPresence
uint getPresence()
getPreset
string getPreset()
getPresetName
string getPresetName()
getRestriction
gst.caps.Caps getRestriction()
getSingleSegment
bool getSingleSegment()
getTypeNick
string getTypeNick()
isEnabled
bool isEnabled()
isEqual
bool isEqual(gstpbutils.encoding_profile.EncodingProfile b)

Checks whether the two #GstEncodingProfile are equal

setAllowDynamicOutput
void setAllowDynamicOutput(bool allowDynamicOutput)

Sets whether the format that has been negotiated in at some point can be renegotiated later during the encoding.

setDescription
void setDescription(string description)

Set description as the given description for the profile. A copy of description will be made internally.

setElementProperties
void setElementProperties(gst.structure.Structure elementProperties)

This allows setting the muxing/encoding element properties.

setEnabled
void setEnabled(bool enabled)

Set whether the profile should be used or not.

setFormat
void setFormat(gst.caps.Caps format)

Sets the media format used in the profile.

setName
void setName(string name)

Set name as the given name for the profile. A copy of name will be made internally.

setPresence
void setPresence(uint presence)

Set the number of time the profile is used in its parent container profile. If 0, it is not a mandatory stream

setPreset
void setPreset(string preset)

Sets 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.

setPresetName
void setPresetName(string presetName)

Sets the name of the #GstPreset's factory to be used in the profile.

setRestriction
void setRestriction(gst.caps.Caps restriction)

Set 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 apply to #GstEncodingContainerProfile.

setSingleSegment
void setSingleSegment(bool singleSegment)

If using a single segment, buffers will be retimestamped and segments will be eat so as to appear as one segment.