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 _getGType() static nothrow
GType _gType() @property nothrow
EncodingTarget self() nothrowReturns `this`, for use in `with` statements.
EncodingTargetGidBuilder builder() static nothrowGet builder for [gstpbutils.encoding_target.EncodingTarget] Returns: New builder object
gstpbutils.encoding_target.EncodingTarget load(string name, string category = null) staticSearches for the #GstEncodingTarget with the given name, loads it and returns it.
gstpbutils.encoding_target.EncodingTarget loadFromFile(string filepath) staticOpens the provided file and returns the contained #GstEncodingTarget.
bool addProfile(gstpbutils.encoding_profile.EncodingProfile profile) nothrowAdds the given profile to the target. Each added profile must have a unique name within the profile.
string getCategory() nothrow
string getDescription() nothrow
string getName() nothrow
string getPath() nothrow
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.
Methods
EncodingTarget build() nothrowCreate object from builder. Returns: New object