Function

GstPbutils-1.0GstPbutilscodec_utils_mpeg4video_caps_set_level_and_profile

  • Sets the level and profile in caps if it can be determined from vis_obj_seq. See gst_codec_utils_mpeg4video_get_level() and gst_codec_utils_mpeg4video_get_profile() for more details on the parameters.

    Parameters

    • caps: Gst.Caps

      the Gst.Caps to which the level and profile are to be added

    • vis_obj_seq: string | Uint8Array<ArrayBufferLike>

      Pointer to the visual object sequence for the stream.

    Returns boolean

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