EncodingVideoProfile


Description:

[ CCode ( has_construct_function = false ) ]
public EncodingVideoProfile (Caps format, string? preset, Caps? restriction, uint presence)

Creates a new EncodingVideoProfile

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 set_pass documentation.

If you wish to use/force a constant framerate please refer to the set_variableframerate documentation.

Parameters:

format

the Caps

preset

the preset(s) to use on the encoder, can be null

restriction

the Caps used to restrict the input to the encoder, can be NULL. See get_restriction for more details.

presence

the number of time this stream must be used. 0 means any number of times (including never)

Returns:

the newly created EncodingVideoProfile.