gstpbutils.encoding_video_profile
Module for [EncodingVideoProfile] class
Types 3
Variant of #GstEncodingProfile for video streams, allows specifying the @pass.
Methods
EncodingVideoProfileGidBuilder builder() static nothrowGet builder for [gstpbutils.encoding_video_profile.EncodingVideoProfile] Returns: New builder objectuint 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 profilebool 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(gst.caps.Caps format, string preset, gst.caps.Caps restriction, uint presence)Creates a new #GstEncodingVideoProfileclassEncodingVideoProfileGidBuilderImpl(T) : gstpbutils.encoding_profile.EncodingProfileGidBuilderImpl!T
Fluent builder implementation template for gstpbutils.encoding_video_profile.EncodingVideoProfile