codecUtilsMpeg4videoCapsSetLevelAndProfile

Sets the level and profile in caps if it can be determined from vis_obj_seq. See gstpbutils.global.codecUtilsMpeg4videoGetLevel and gstpbutils.global.codecUtilsMpeg4videoGetProfile for more details on the parameters.

bool
codecUtilsMpeg4videoCapsSetLevelAndProfile

Parameters

caps gst.caps.Caps

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

visObjSeq ubyte[]

Pointer to the visual object sequence for the stream.

Return Value

Type: bool

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