Skip to main content

Create profile

POST 

/bv/configuration/v1/profiles

Creates a Profile 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 objectrequired

    Required.

    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.

Responses

A successful response.

Schema
    profile object
    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]

Loading...