EncodingProfile
Object Hierarchy:
Description:
[ CCode ( cname = "GstEncodingProfile" , lower_case_cprefix = "gst_encoding_profile_" , type_id = "gst_encoding_profile_get_type ()" ) ]
[ GIR ( name = "EncodingProfile" ) ]
public class EncodingProfile : Object
The opaque base class object for all encoding profiles.
This contains generic information like name, description, format and preset.
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public EncodingProfile copy ()
Makes a deep copy of this
- public bool get_allow_dynamic_output ()
Get whether the format that has been negotiated in at some point can
be renegotiated later during the encoding.
- public unowned string get_description ()
- public Structure? get_element_properties ()
- public unowned string get_file_extension ()
- public Caps get_format ()
- public Caps get_input_caps ()
Computes the full output caps that this
this will be able to consume.
- public unowned string get_name ()
- public uint get_presence ()
- public unowned string get_preset ()
- public unowned string get_preset_name ()
- public Caps get_restriction ()
- public bool get_single_segment ()
- public unowned string get_type_nick ()
- public bool is_enabled ()
- public bool is_equal (EncodingProfile b)
Checks whether the two EncodingProfile are
equal
- public void set_allow_dynamic_output (bool allow_dynamic_output)
Sets whether the format that has been negotiated in at some point can
be renegotiated later during the encoding.
- public void set_description (string? description)
Set description
as the given description for the
this.
- public void set_element_properties (owned Structure element_properties)
This allows setting the muxing/encoding element properties.
- public void set_enabled (bool enabled)
Set whether the profile should be used or not.
- public void set_format (Caps format)
Sets the media format used in the profile.
- public void set_name (string? name)
Set name
as the given name for the
this.
- public void set_presence (uint presence)
Set the number of time the profile is used in its parent container
profile.
- public void set_preset (string? preset)
Sets the name of the Element that
implements the Preset interface to use for the profile.
- public void set_preset_name (string? preset_name)
Sets the name of the Preset's factory
to be used in the profile.
- public void set_restriction (owned Caps? restriction)
Set the restriction Caps to apply before
the encoder that will be used in the profile.
- public void set_single_segment (bool single_segment)
If using a single segment, buffers will be retimestamped and segments
will be eat so as to appear as one segment.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref