codecUtilsH264CapsSetLevelAndProfile

Sets the level and profile in caps if it can be determined from sps. See gstpbutils.global.codecUtilsH264GetLevel and gstpbutils.global.codecUtilsH264GetProfile for more details on the parameters.

bool
codecUtilsH264CapsSetLevelAndProfile

Parameters

caps gst.caps.Caps

the #GstCaps to which the level and profile are to be added

sps ubyte[]

Pointer to the sequence parameter set for the stream.

Return Value

Type: bool

true if the level and profile could be set, false otherwise.