GstPbutils.EncodingContainerProfile

g GObject.Object GObject.Object GstPbutils.EncodingProfile GstPbutils.EncodingProfile GObject.Object->GstPbutils.EncodingProfile GstPbutils.EncodingContainerProfile GstPbutils.EncodingContainerProfile GstPbutils.EncodingProfile->GstPbutils.EncodingContainerProfile

Subclasses:

None

Methods

Inherited:

GstPbutils.EncodingProfile (29), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (name, description, format, preset)

add_profile (profile)

contains_profile (profile)

get_profiles ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

GstPbutils.EncodingProfile (2)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class GstPbutils.EncodingContainerProfile(**kwargs)
Bases:

GstPbutils.EncodingProfile

Abstract:

No

Structure:

GstPbutils.EncodingContainerProfileClass

Encoding profiles for containers. Keeps track of a list of GstPbutils.EncodingProfile

classmethod new(name, description, format, preset)
Parameters:
  • name (str or None) – The name of the container profile, can be None

  • description (str or None) – The description of the container profile, can be None

  • format (Gst.Caps) – The format to use for this profile

  • preset (str or None) – The preset to use for this profile.

Returns:

The newly created GstPbutils.EncodingContainerProfile.

Return type:

GstPbutils.EncodingContainerProfile

Creates a new GstPbutils.EncodingContainerProfile.

add_profile(profile)
Parameters:

profile (GstPbutils.EncodingProfile) – the GstPbutils.EncodingProfile to add.

Returns:

True if the stream was properly added, else False.

Return type:

bool

Add a GstPbutils.EncodingProfile to the list of profiles handled by self.

No copy of profile will be made, if you wish to use it elsewhere after this method you should increment its reference count.

contains_profile(profile)
Parameters:

profile (GstPbutils.EncodingProfile) – a GstPbutils.EncodingProfile

Returns:

True if self contains a GstPbutils.EncodingProfile identical to profile, else False.

Return type:

bool

Checks if self contains a GstPbutils.EncodingProfile identical to profile.

get_profiles()
Returns:

the list of contained GstPbutils.EncodingProfile.

Return type:

[GstPbutils.EncodingProfile]