gstpbutils.encoding_video_profile

Module for [EncodingVideoProfile] class

Types 3

Variant of #GstEncodingProfile for video streams, allows specifying the @pass.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
EncodingVideoProfile self() nothrowReturns `this`, for use in `with` statements.
EncodingVideoProfileGidBuilder builder() static nothrowGet builder for [gstpbutils.encoding_video_profile.EncodingVideoProfile] Returns: New builder object
uint getPass() nothrowGet the pass number if this is part of a multi-pass profile. Returns: The pass number. Starts at 1 for multi-pass. 0 if this is not a multi-pass profile
bool getVariableframerate() nothrow> NOTE: Fixed framerate won't be enforced when #encodebin:avoid-reencoding > is set. Returns: Whether non-constant video framerate is allowed for encoding.
void setPass(uint pass) nothrowSets the pass number of this video profile. The first pass profile should have this value set to 1. If this video profile isn't part of a multi-pass profile, you may set it to 0 (the default value).
void setVariableframerate(bool variableframerate) nothrowIf set to true, then the incoming stream will be allowed to have non-constant framerate. If set to false (default value), then the incoming stream will be normalized by dropping/duplicating frames ...
Constructors
this(void * ptr, Flag!"Take" take)
this(gst.caps.Caps format, string preset, gst.caps.Caps restriction, uint presence)Creates a new #GstEncodingVideoProfile