Skip to main content

Create profile set

POST 

/bv/configuration/v1/profile-sets

Creates a ProfileSet resource.

Request

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Body

required
    profile_set objectrequired

    Required.

    name string

    Input only. The name of profile set.

    protocols - PROTOCOL_HLS: HTTP Live Streaming - PROTOCOL_DASH: Dynamic Adaptive Streaming over HTTP - PROTOCOL_WHEP: WebRTC-HTTP Egress Protocol - PROTOCOL_PROGRESSIVE: Progressive download (string)[]

    Possible values: [PROTOCOL_HLS, PROTOCOL_DASH, PROTOCOL_WHEP, PROTOCOL_PROGRESSIVE]

    Input only. The protocols.

    smart_abr boolean

    Input only. Smart abr.

    multiple_audio_track object

    Input only.

    lang_from string

    Possible values: [LANG_FROM_SOURCE, LANG_FROM_CUSTOMIZE, LANG_FROM_FIRST_TRACK]

    lang_customizes object[]
  • Array [
  • code string

    The language code of the audio track. The format is ISO639-1+ISO-3166-1 (e.g., en-US).

    display string
  • ]
  • video_codec - VIDEO_CODEC_H264: VIDEO_CODEC_H264 Indicates video code H.264 - VIDEO_CODEC_H265: VIDEO_CODEC_H265 Indicates video code H.265 (string)

    Possible values: [VIDEO_CODEC_H264, VIDEO_CODEC_H265]

    Input only. The video codec.

    profiles object[]

    Output only.

  • Array [
  • name string

    Input only. The name of profile.

    video_codec - VIDEO_CODEC_H264: VIDEO_CODEC_H264 Indicates video code H.264 - VIDEO_CODEC_H265: VIDEO_CODEC_H265 Indicates video code H.265 (string)

    Possible values: [VIDEO_CODEC_H264, VIDEO_CODEC_H265]

    Input only. The video codec.

    video_width int32

    Input only. The video width in pixels.

    video_height int32

    Input only. The video height in pixels.

    video_bitrate int64

    Input only. The video bitrate.

    audio_bitrate int64

    Input only. The audio bitrate.

    codec_profile string

    Possible values: [CODEC_PROFILE_AUTO, CODEC_PROFILE_BASELINE, CODEC_PROFILE_MAIN, CODEC_PROFILE_HIGH, CODEC_PROFILE_MAIN10]

    Input only. H.264/H.265 codec profile.

    level string

    Possible values: [CODEC_PROFILE_LEVEL_AUTO, CODEC_PROFILE_LEVEL_1, CODEC_PROFILE_LEVEL_1_1, CODEC_PROFILE_LEVEL_1_2, CODEC_PROFILE_LEVEL_1_3, CODEC_PROFILE_LEVEL_2, CODEC_PROFILE_LEVEL_2_1, CODEC_PROFILE_LEVEL_2_2, CODEC_PROFILE_LEVEL_3, CODEC_PROFILE_LEVEL_3_1, CODEC_PROFILE_LEVEL_3_2, CODEC_PROFILE_LEVEL_4, CODEC_PROFILE_LEVEL_4_1, CODEC_PROFILE_LEVEL_4_2, CODEC_PROFILE_LEVEL_5, CODEC_PROFILE_LEVEL_5_1, CODEC_PROFILE_LEVEL_5_2, CODEC_PROFILE_LEVEL_6]

    Input only. Specify level for H.264/H.265.

    b_frame boolean

    Input only. Enable/Disable B-frame.

    frame_rate string

    Possible values: [FRAME_RATE_10, FRAME_RATE_15, FRAME_RATE_23_97, FRAME_RATE_24, FRAME_RATE_25, FRAME_RATE_29_97, FRAME_RATE_30, FRAME_RATE_50, FRAME_RATE_59_94, FRAME_RATE_60, FRAME_RATE_SOURCE]

    Input only. The video frame rate.

    gop_size int32

    Input only. GOP size (keyframe interval) in seconds.

    segment_duration int32

    Input only. Length of video duration for each segment package in seconds.

  • ]
  • profile_ids string[]required

    Required. The maximum number of appended profiles is 10.

Responses

A successful response.

Schema
    profile_set objectrequired
    id string

    Output only. The resource identifier of profile set.

    name string

    Input only. The name of profile set.

    protocols - PROTOCOL_HLS: HTTP Live Streaming - PROTOCOL_DASH: Dynamic Adaptive Streaming over HTTP - PROTOCOL_WHEP: WebRTC-HTTP Egress Protocol - PROTOCOL_PROGRESSIVE: Progressive download (string)[]

    Possible values: [PROTOCOL_HLS, PROTOCOL_DASH, PROTOCOL_WHEP, PROTOCOL_PROGRESSIVE]

    Input only. The protocols.

    smart_abr boolean

    Input only. Smart abr.

    multiple_audio_track object

    Input only.

    lang_from string

    Possible values: [LANG_FROM_SOURCE, LANG_FROM_CUSTOMIZE, LANG_FROM_FIRST_TRACK]

    lang_customizes object[]
  • Array [
  • code string

    The language code of the audio track. The format is ISO639-1+ISO-3166-1 (e.g., en-US).

    display string
  • ]
  • video_codec - VIDEO_CODEC_H264: VIDEO_CODEC_H264 Indicates video code H.264 - VIDEO_CODEC_H265: VIDEO_CODEC_H265 Indicates video code H.265 (string)

    Possible values: [VIDEO_CODEC_H264, VIDEO_CODEC_H265]

    Input only. The video codec.

    profiles object[]

    Output only.

  • Array [
  • id string

    Output only. The resource identifier of profile.

    name string

    Input only. The name of profile.

    video_codec - VIDEO_CODEC_H264: VIDEO_CODEC_H264 Indicates video code H.264 - VIDEO_CODEC_H265: VIDEO_CODEC_H265 Indicates video code H.265 (string)

    Possible values: [VIDEO_CODEC_H264, VIDEO_CODEC_H265]

    Input only. The video codec.

    video_width int32

    Input only. The video width in pixels.

    video_height int32

    Input only. The video height in pixels.

    video_bitrate int64

    Input only. The video bitrate.

    audio_bitrate int64

    Input only. The audio bitrate.

    codec_profile string

    Possible values: [CODEC_PROFILE_AUTO, CODEC_PROFILE_BASELINE, CODEC_PROFILE_MAIN, CODEC_PROFILE_HIGH, CODEC_PROFILE_MAIN10]

    Input only. H.264/H.265 codec profile.

    level string

    Possible values: [CODEC_PROFILE_LEVEL_AUTO, CODEC_PROFILE_LEVEL_1, CODEC_PROFILE_LEVEL_1_1, CODEC_PROFILE_LEVEL_1_2, CODEC_PROFILE_LEVEL_1_3, CODEC_PROFILE_LEVEL_2, CODEC_PROFILE_LEVEL_2_1, CODEC_PROFILE_LEVEL_2_2, CODEC_PROFILE_LEVEL_3, CODEC_PROFILE_LEVEL_3_1, CODEC_PROFILE_LEVEL_3_2, CODEC_PROFILE_LEVEL_4, CODEC_PROFILE_LEVEL_4_1, CODEC_PROFILE_LEVEL_4_2, CODEC_PROFILE_LEVEL_5, CODEC_PROFILE_LEVEL_5_1, CODEC_PROFILE_LEVEL_5_2, CODEC_PROFILE_LEVEL_6]

    Input only. Specify level for H.264/H.265.

    b_frame boolean

    Input only. Enable/Disable B-frame.

    frame_rate string

    Possible values: [FRAME_RATE_10, FRAME_RATE_15, FRAME_RATE_23_97, FRAME_RATE_24, FRAME_RATE_25, FRAME_RATE_29_97, FRAME_RATE_30, FRAME_RATE_50, FRAME_RATE_59_94, FRAME_RATE_60, FRAME_RATE_SOURCE]

    Input only. The video frame rate.

    gop_size int32

    Input only. GOP size (keyframe interval) in seconds.

    segment_duration int32

    Input only. Length of video duration for each segment package in seconds.

    preset Output only. Preset is system or custom (boolean)
    standard Output only. Standard is sd|hd|fhd|4k (string)

    Possible values: [RESOLUTION_TYPE_SD, RESOLUTION_TYPE_HD, RESOLUTION_TYPE_FHD, RESOLUTION_TYPE_4K]

  • ]
  • preset boolean

    Output only. The prest is system or custom. If preset is true, the profile set is created by system, otherwise the profile set is created by custom.

Loading...