gstpbutils.encoding_target

Module for [EncodingTarget] class

Types 3

Collection of #GstEncodingProfile for a specific target or use-case.

When being stored/loaded, targets come from a specific category, like #GST_ENCODING_CATEGORY_DEVICE.

Methods
GType _gType() @property
EncodingTarget self()Returns `this`, for use in `with` statements.
EncodingTargetGidBuilder builder()Get builder for [gstpbutils.encoding_target.EncodingTarget] Returns: New builder object
gstpbutils.encoding_target.EncodingTarget load(string name, string category = null)Searches for the #GstEncodingTarget with the given name, loads it and returns it.
gstpbutils.encoding_target.EncodingTarget loadFromFile(string filepath)Opens the provided file and returns the contained #GstEncodingTarget.
bool addProfile(gstpbutils.encoding_profile.EncodingProfile profile)Adds the given profile to the target. Each added profile must have a unique name within the profile.
string getCategory()
string getName()
string getPath()
bool save()Saves the target to a default user-local directory. Returns: true if the target was correctly saved, else false. Throws: [ErrorWrap]
bool saveToFile(string filepath)Saves the target to the provided file location.
Constructors
this(void * ptr, Flag!"Take" take)
this(string name, string category, string description, gstpbutils.encoding_profile.EncodingProfile[] profiles)Creates a new #GstEncodingTarget.

Fluent builder for [gstpbutils.encoding_target.EncodingTarget]