gstpbutils.encoding_video_profile
Module for [EncodingVideoProfile] class
Types 3
Variant of #GstEncodingProfile for video streams, allows specifying the @pass.
Methods
EncodingVideoProfile self()Returns `this`, for use in `with` statements.EncodingVideoProfileGidBuilder builder()Get builder for [gstpbutils.encodingvideoprofile.EncodingVideoProfile] Returns: New builder objectuint getPass()Get 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()> 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)Sets 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)If 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 #GstEncodingVideoProfileclassEncodingVideoProfileGidBuilder : EncodingVideoProfileGidBuilderImpl!EncodingVideoProfileGidBuilder
Fluent builder for [gstpbutils.encoding_video_profile.EncodingVideoProfile]
Methods