EncodingVideoProfile.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(gst.caps.Caps format, string preset, gst.caps.Caps restriction, uint presence)

Creates a new #GstEncodingVideoProfile

All provided allocatable arguments will be internally copied, so can be safely freed/unreferenced after calling this method.

If you wish to control the pass number (in case of multi-pass scenarios), please refer to the [gstpbutils.encoding_video_profile.EncodingVideoProfile.setPass] documentation.

If you wish to use/force a constant framerate please refer to the [gstpbutils.encoding_video_profile.EncodingVideoProfile.setVariableframerate] documentation.

Parameters

formatthe #GstCaps
presetthe preset(s) to use on the encoder, can be null
restrictionthe #GstCaps used to restrict the input to the encoder, can be NULL. See [gstpbutils.encoding_profile.EncodingProfile.getRestriction] for more details.
presencethe number of time this stream must be used. 0 means any number of times (including never)

Returns

the newly created #GstEncodingVideoProfile.