1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. VodAdaptiveDynamicStreamingTemplate
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.VodAdaptiveDynamicStreamingTemplate

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provide a resource to create a VOD adaptive dynamic streaming template.

    Create VodAdaptiveDynamicStreamingTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VodAdaptiveDynamicStreamingTemplate(name: string, args: VodAdaptiveDynamicStreamingTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def VodAdaptiveDynamicStreamingTemplate(resource_name: str,
                                            args: VodAdaptiveDynamicStreamingTemplateArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def VodAdaptiveDynamicStreamingTemplate(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            format: Optional[str] = None,
                                            stream_infos: Optional[Sequence[VodAdaptiveDynamicStreamingTemplateStreamInfoArgs]] = None,
                                            comment: Optional[str] = None,
                                            disable_higher_video_bitrate: Optional[bool] = None,
                                            disable_higher_video_resolution: Optional[bool] = None,
                                            drm_type: Optional[str] = None,
                                            name: Optional[str] = None,
                                            segment_type: Optional[str] = None,
                                            sub_app_id: Optional[float] = None,
                                            vod_adaptive_dynamic_streaming_template_id: Optional[str] = None)
    func NewVodAdaptiveDynamicStreamingTemplate(ctx *Context, name string, args VodAdaptiveDynamicStreamingTemplateArgs, opts ...ResourceOption) (*VodAdaptiveDynamicStreamingTemplate, error)
    public VodAdaptiveDynamicStreamingTemplate(string name, VodAdaptiveDynamicStreamingTemplateArgs args, CustomResourceOptions? opts = null)
    public VodAdaptiveDynamicStreamingTemplate(String name, VodAdaptiveDynamicStreamingTemplateArgs args)
    public VodAdaptiveDynamicStreamingTemplate(String name, VodAdaptiveDynamicStreamingTemplateArgs args, CustomResourceOptions options)
    
    type: tencentcloud:VodAdaptiveDynamicStreamingTemplate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VodAdaptiveDynamicStreamingTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VodAdaptiveDynamicStreamingTemplateArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VodAdaptiveDynamicStreamingTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VodAdaptiveDynamicStreamingTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VodAdaptiveDynamicStreamingTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    VodAdaptiveDynamicStreamingTemplate Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The VodAdaptiveDynamicStreamingTemplate resource accepts the following input properties:

    Format string
    Adaptive bitstream format. Valid values: HLS.
    StreamInfos List<VodAdaptiveDynamicStreamingTemplateStreamInfo>
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    Comment string
    Template description. Length limit: 256 characters.
    DisableHigherVideoBitrate bool
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    DisableHigherVideoResolution bool
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    DrmType string
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    Name string
    Template name. Length limit: 64 characters.
    SegmentType string
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    SubAppId double
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    VodAdaptiveDynamicStreamingTemplateId string
    ID of the resource.
    Format string
    Adaptive bitstream format. Valid values: HLS.
    StreamInfos []VodAdaptiveDynamicStreamingTemplateStreamInfoArgs
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    Comment string
    Template description. Length limit: 256 characters.
    DisableHigherVideoBitrate bool
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    DisableHigherVideoResolution bool
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    DrmType string
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    Name string
    Template name. Length limit: 64 characters.
    SegmentType string
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    SubAppId float64
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    VodAdaptiveDynamicStreamingTemplateId string
    ID of the resource.
    format String
    Adaptive bitstream format. Valid values: HLS.
    streamInfos List<VodAdaptiveDynamicStreamingTemplateStreamInfo>
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    comment String
    Template description. Length limit: 256 characters.
    disableHigherVideoBitrate Boolean
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    disableHigherVideoResolution Boolean
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    drmType String
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    name String
    Template name. Length limit: 64 characters.
    segmentType String
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    subAppId Double
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    vodAdaptiveDynamicStreamingTemplateId String
    ID of the resource.
    format string
    Adaptive bitstream format. Valid values: HLS.
    streamInfos VodAdaptiveDynamicStreamingTemplateStreamInfo[]
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    comment string
    Template description. Length limit: 256 characters.
    disableHigherVideoBitrate boolean
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    disableHigherVideoResolution boolean
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    drmType string
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    name string
    Template name. Length limit: 64 characters.
    segmentType string
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    subAppId number
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    vodAdaptiveDynamicStreamingTemplateId string
    ID of the resource.
    format str
    Adaptive bitstream format. Valid values: HLS.
    stream_infos Sequence[VodAdaptiveDynamicStreamingTemplateStreamInfoArgs]
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    comment str
    Template description. Length limit: 256 characters.
    disable_higher_video_bitrate bool
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    disable_higher_video_resolution bool
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    drm_type str
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    name str
    Template name. Length limit: 64 characters.
    segment_type str
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    sub_app_id float
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    vod_adaptive_dynamic_streaming_template_id str
    ID of the resource.
    format String
    Adaptive bitstream format. Valid values: HLS.
    streamInfos List<Property Map>
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    comment String
    Template description. Length limit: 256 characters.
    disableHigherVideoBitrate Boolean
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    disableHigherVideoResolution Boolean
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    drmType String
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    name String
    Template name. Length limit: 64 characters.
    segmentType String
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    subAppId Number
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    vodAdaptiveDynamicStreamingTemplateId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VodAdaptiveDynamicStreamingTemplate resource produces the following output properties:

    CreateTime string
    Creation time of template in ISO date format.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Last modified time of template in ISO date format.
    CreateTime string
    Creation time of template in ISO date format.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Last modified time of template in ISO date format.
    createTime String
    Creation time of template in ISO date format.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Last modified time of template in ISO date format.
    createTime string
    Creation time of template in ISO date format.
    id string
    The provider-assigned unique ID for this managed resource.
    updateTime string
    Last modified time of template in ISO date format.
    create_time str
    Creation time of template in ISO date format.
    id str
    The provider-assigned unique ID for this managed resource.
    update_time str
    Last modified time of template in ISO date format.
    createTime String
    Creation time of template in ISO date format.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Last modified time of template in ISO date format.

    Look up Existing VodAdaptiveDynamicStreamingTemplate Resource

    Get an existing VodAdaptiveDynamicStreamingTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VodAdaptiveDynamicStreamingTemplateState, opts?: CustomResourceOptions): VodAdaptiveDynamicStreamingTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            create_time: Optional[str] = None,
            disable_higher_video_bitrate: Optional[bool] = None,
            disable_higher_video_resolution: Optional[bool] = None,
            drm_type: Optional[str] = None,
            format: Optional[str] = None,
            name: Optional[str] = None,
            segment_type: Optional[str] = None,
            stream_infos: Optional[Sequence[VodAdaptiveDynamicStreamingTemplateStreamInfoArgs]] = None,
            sub_app_id: Optional[float] = None,
            update_time: Optional[str] = None,
            vod_adaptive_dynamic_streaming_template_id: Optional[str] = None) -> VodAdaptiveDynamicStreamingTemplate
    func GetVodAdaptiveDynamicStreamingTemplate(ctx *Context, name string, id IDInput, state *VodAdaptiveDynamicStreamingTemplateState, opts ...ResourceOption) (*VodAdaptiveDynamicStreamingTemplate, error)
    public static VodAdaptiveDynamicStreamingTemplate Get(string name, Input<string> id, VodAdaptiveDynamicStreamingTemplateState? state, CustomResourceOptions? opts = null)
    public static VodAdaptiveDynamicStreamingTemplate get(String name, Output<String> id, VodAdaptiveDynamicStreamingTemplateState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:VodAdaptiveDynamicStreamingTemplate    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Comment string
    Template description. Length limit: 256 characters.
    CreateTime string
    Creation time of template in ISO date format.
    DisableHigherVideoBitrate bool
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    DisableHigherVideoResolution bool
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    DrmType string
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    Format string
    Adaptive bitstream format. Valid values: HLS.
    Name string
    Template name. Length limit: 64 characters.
    SegmentType string
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    StreamInfos List<VodAdaptiveDynamicStreamingTemplateStreamInfo>
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    SubAppId double
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    UpdateTime string
    Last modified time of template in ISO date format.
    VodAdaptiveDynamicStreamingTemplateId string
    ID of the resource.
    Comment string
    Template description. Length limit: 256 characters.
    CreateTime string
    Creation time of template in ISO date format.
    DisableHigherVideoBitrate bool
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    DisableHigherVideoResolution bool
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    DrmType string
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    Format string
    Adaptive bitstream format. Valid values: HLS.
    Name string
    Template name. Length limit: 64 characters.
    SegmentType string
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    StreamInfos []VodAdaptiveDynamicStreamingTemplateStreamInfoArgs
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    SubAppId float64
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    UpdateTime string
    Last modified time of template in ISO date format.
    VodAdaptiveDynamicStreamingTemplateId string
    ID of the resource.
    comment String
    Template description. Length limit: 256 characters.
    createTime String
    Creation time of template in ISO date format.
    disableHigherVideoBitrate Boolean
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    disableHigherVideoResolution Boolean
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    drmType String
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    format String
    Adaptive bitstream format. Valid values: HLS.
    name String
    Template name. Length limit: 64 characters.
    segmentType String
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    streamInfos List<VodAdaptiveDynamicStreamingTemplateStreamInfo>
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    subAppId Double
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    updateTime String
    Last modified time of template in ISO date format.
    vodAdaptiveDynamicStreamingTemplateId String
    ID of the resource.
    comment string
    Template description. Length limit: 256 characters.
    createTime string
    Creation time of template in ISO date format.
    disableHigherVideoBitrate boolean
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    disableHigherVideoResolution boolean
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    drmType string
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    format string
    Adaptive bitstream format. Valid values: HLS.
    name string
    Template name. Length limit: 64 characters.
    segmentType string
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    streamInfos VodAdaptiveDynamicStreamingTemplateStreamInfo[]
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    subAppId number
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    updateTime string
    Last modified time of template in ISO date format.
    vodAdaptiveDynamicStreamingTemplateId string
    ID of the resource.
    comment str
    Template description. Length limit: 256 characters.
    create_time str
    Creation time of template in ISO date format.
    disable_higher_video_bitrate bool
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    disable_higher_video_resolution bool
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    drm_type str
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    format str
    Adaptive bitstream format. Valid values: HLS.
    name str
    Template name. Length limit: 64 characters.
    segment_type str
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    stream_infos Sequence[VodAdaptiveDynamicStreamingTemplateStreamInfoArgs]
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    sub_app_id float
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    update_time str
    Last modified time of template in ISO date format.
    vod_adaptive_dynamic_streaming_template_id str
    ID of the resource.
    comment String
    Template description. Length limit: 256 characters.
    createTime String
    Creation time of template in ISO date format.
    disableHigherVideoBitrate Boolean
    Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values: false,true. false: no, true: yes. Default value: false.
    disableHigherVideoResolution Boolean
    Whether to prohibit transcoding from low resolution to high resolution. Valid values: false,true. false: no, true: yes. Default value: false.
    drmType String
    DRM scheme type. Valid values: SimpleAES. If this field is an empty string, DRM will not be performed on the video.
    format String
    Adaptive bitstream format. Valid values: HLS.
    name String
    Template name. Length limit: 64 characters.
    segmentType String
    Segment type, valid when Format is HLS, optional values:

    • ts: ts segment;
    • fmp4: fmp4 segment; Default value: ts.
    streamInfos List<Property Map>
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
    subAppId Number
    The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    updateTime String
    Last modified time of template in ISO date format.
    vodAdaptiveDynamicStreamingTemplateId String
    ID of the resource.

    Supporting Types

    VodAdaptiveDynamicStreamingTemplateStreamInfo, VodAdaptiveDynamicStreamingTemplateStreamInfoArgs

    Audio VodAdaptiveDynamicStreamingTemplateStreamInfoAudio
    Audio parameter information.
    Video VodAdaptiveDynamicStreamingTemplateStreamInfoVideo
    Video parameter information.
    RemoveAudio bool
    Whether to remove audio stream. Valid values: false: no, true: yes. false by default.
    RemoveVideo bool
    Whether to remove video stream. Valid values: false: no, true: yes. false by default.
    TehdConfig VodAdaptiveDynamicStreamingTemplateStreamInfoTehdConfig
    Extremely fast HD transcoding parameters.
    Audio VodAdaptiveDynamicStreamingTemplateStreamInfoAudio
    Audio parameter information.
    Video VodAdaptiveDynamicStreamingTemplateStreamInfoVideo
    Video parameter information.
    RemoveAudio bool
    Whether to remove audio stream. Valid values: false: no, true: yes. false by default.
    RemoveVideo bool
    Whether to remove video stream. Valid values: false: no, true: yes. false by default.
    TehdConfig VodAdaptiveDynamicStreamingTemplateStreamInfoTehdConfig
    Extremely fast HD transcoding parameters.
    audio VodAdaptiveDynamicStreamingTemplateStreamInfoAudio
    Audio parameter information.
    video VodAdaptiveDynamicStreamingTemplateStreamInfoVideo
    Video parameter information.
    removeAudio Boolean
    Whether to remove audio stream. Valid values: false: no, true: yes. false by default.
    removeVideo Boolean
    Whether to remove video stream. Valid values: false: no, true: yes. false by default.
    tehdConfig VodAdaptiveDynamicStreamingTemplateStreamInfoTehdConfig
    Extremely fast HD transcoding parameters.
    audio VodAdaptiveDynamicStreamingTemplateStreamInfoAudio
    Audio parameter information.
    video VodAdaptiveDynamicStreamingTemplateStreamInfoVideo
    Video parameter information.
    removeAudio boolean
    Whether to remove audio stream. Valid values: false: no, true: yes. false by default.
    removeVideo boolean
    Whether to remove video stream. Valid values: false: no, true: yes. false by default.
    tehdConfig VodAdaptiveDynamicStreamingTemplateStreamInfoTehdConfig
    Extremely fast HD transcoding parameters.
    audio VodAdaptiveDynamicStreamingTemplateStreamInfoAudio
    Audio parameter information.
    video VodAdaptiveDynamicStreamingTemplateStreamInfoVideo
    Video parameter information.
    remove_audio bool
    Whether to remove audio stream. Valid values: false: no, true: yes. false by default.
    remove_video bool
    Whether to remove video stream. Valid values: false: no, true: yes. false by default.
    tehd_config VodAdaptiveDynamicStreamingTemplateStreamInfoTehdConfig
    Extremely fast HD transcoding parameters.
    audio Property Map
    Audio parameter information.
    video Property Map
    Video parameter information.
    removeAudio Boolean
    Whether to remove audio stream. Valid values: false: no, true: yes. false by default.
    removeVideo Boolean
    Whether to remove video stream. Valid values: false: no, true: yes. false by default.
    tehdConfig Property Map
    Extremely fast HD transcoding parameters.

    VodAdaptiveDynamicStreamingTemplateStreamInfoAudio, VodAdaptiveDynamicStreamingTemplateStreamInfoAudioArgs

    Bitrate double
    Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. If the value is 0, the bitrate of the audio stream will be the same as that of the original audio.
    Codec string
    Audio stream encoder. Valid value are: libfdk_aac and libmp3lame. while libfdk_aac is recommended.
    SampleRate double
    Audio stream sample rate. Valid values: 32000, 44100, 48000Hz.
    AudioChannel string
    Audio channel system. Valid values: mono, dual, stereo. Default value: dual.
    Bitrate float64
    Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. If the value is 0, the bitrate of the audio stream will be the same as that of the original audio.
    Codec string
    Audio stream encoder. Valid value are: libfdk_aac and libmp3lame. while libfdk_aac is recommended.
    SampleRate float64
    Audio stream sample rate. Valid values: 32000, 44100, 48000Hz.
    AudioChannel string
    Audio channel system. Valid values: mono, dual, stereo. Default value: dual.
    bitrate Double
    Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. If the value is 0, the bitrate of the audio stream will be the same as that of the original audio.
    codec String
    Audio stream encoder. Valid value are: libfdk_aac and libmp3lame. while libfdk_aac is recommended.
    sampleRate Double
    Audio stream sample rate. Valid values: 32000, 44100, 48000Hz.
    audioChannel String
    Audio channel system. Valid values: mono, dual, stereo. Default value: dual.
    bitrate number
    Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. If the value is 0, the bitrate of the audio stream will be the same as that of the original audio.
    codec string
    Audio stream encoder. Valid value are: libfdk_aac and libmp3lame. while libfdk_aac is recommended.
    sampleRate number
    Audio stream sample rate. Valid values: 32000, 44100, 48000Hz.
    audioChannel string
    Audio channel system. Valid values: mono, dual, stereo. Default value: dual.
    bitrate float
    Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. If the value is 0, the bitrate of the audio stream will be the same as that of the original audio.
    codec str
    Audio stream encoder. Valid value are: libfdk_aac and libmp3lame. while libfdk_aac is recommended.
    sample_rate float
    Audio stream sample rate. Valid values: 32000, 44100, 48000Hz.
    audio_channel str
    Audio channel system. Valid values: mono, dual, stereo. Default value: dual.
    bitrate Number
    Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. If the value is 0, the bitrate of the audio stream will be the same as that of the original audio.
    codec String
    Audio stream encoder. Valid value are: libfdk_aac and libmp3lame. while libfdk_aac is recommended.
    sampleRate Number
    Audio stream sample rate. Valid values: 32000, 44100, 48000Hz.
    audioChannel String
    Audio channel system. Valid values: mono, dual, stereo. Default value: dual.

    VodAdaptiveDynamicStreamingTemplateStreamInfoTehdConfig, VodAdaptiveDynamicStreamingTemplateStreamInfoTehdConfigArgs

    Type string
    Extreme high-speed HD type, available values:

    • TEHD-100: super high definition-100th;
    • OFF: turn off Ultra High definition.
    MaxVideoBitrate double
    Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.
    Type string
    Extreme high-speed HD type, available values:

    • TEHD-100: super high definition-100th;
    • OFF: turn off Ultra High definition.
    MaxVideoBitrate float64
    Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.
    type String
    Extreme high-speed HD type, available values:

    • TEHD-100: super high definition-100th;
    • OFF: turn off Ultra High definition.
    maxVideoBitrate Double
    Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.
    type string
    Extreme high-speed HD type, available values:

    • TEHD-100: super high definition-100th;
    • OFF: turn off Ultra High definition.
    maxVideoBitrate number
    Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.
    type str
    Extreme high-speed HD type, available values:

    • TEHD-100: super high definition-100th;
    • OFF: turn off Ultra High definition.
    max_video_bitrate float
    Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.
    type String
    Extreme high-speed HD type, available values:

    • TEHD-100: super high definition-100th;
    • OFF: turn off Ultra High definition.
    maxVideoBitrate Number
    Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.

    VodAdaptiveDynamicStreamingTemplateStreamInfoVideo, VodAdaptiveDynamicStreamingTemplateStreamInfoVideoArgs

    Bitrate double
    Bitrate of video stream in Kbps. Value range: 0 and [128, 35000]. If the value is 0, the bitrate of the video will be the same as that of the source video.
    Codec string
    Video stream encoder. Valid values: libx264,libx265,av1. libx264: H.264, libx265: H.265, av1: AOMedia Video 1. Currently, a resolution within 640x480 must be specified for H.265. and the av1 container only supports mp4.
    Fps double
    Video frame rate in Hz. Value range: [0, 60]. If the value is 0, the frame rate will be the same as that of the source video.
    CodecTag string
    Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:

    • hvc1: stands for hvc1 tag;
    • hev1: stands for the hev1 tag; Default value: hvc1.
    FillType string
    Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer; black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained.
    Gop double
    Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
    Height double
    Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.
    PreserveHdrSwitch string
    Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:

    • ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
    • OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
    ResolutionAdaptive bool
    Resolution adaption. Valid values: true,false. true: enabled. In this case, width represents the long side of a video, while height the short side; false: disabled. In this case, width represents the width of a video, while height the height. Default value: true. Note: this field may return null, indicating that no valid values can be obtained.
    Vcrf double
    Video constant bit rate control factor, value range is [1,51]. Note:

    • If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
    • This field is required when the video stream encoding format is H.266. The recommended value is 28;
    • If there are no special requirements, it is not recommended to specify this parameter.
    Width double
    Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.
    Bitrate float64
    Bitrate of video stream in Kbps. Value range: 0 and [128, 35000]. If the value is 0, the bitrate of the video will be the same as that of the source video.
    Codec string
    Video stream encoder. Valid values: libx264,libx265,av1. libx264: H.264, libx265: H.265, av1: AOMedia Video 1. Currently, a resolution within 640x480 must be specified for H.265. and the av1 container only supports mp4.
    Fps float64
    Video frame rate in Hz. Value range: [0, 60]. If the value is 0, the frame rate will be the same as that of the source video.
    CodecTag string
    Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:

    • hvc1: stands for hvc1 tag;
    • hev1: stands for the hev1 tag; Default value: hvc1.
    FillType string
    Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer; black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained.
    Gop float64
    Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
    Height float64
    Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.
    PreserveHdrSwitch string
    Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:

    • ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
    • OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
    ResolutionAdaptive bool
    Resolution adaption. Valid values: true,false. true: enabled. In this case, width represents the long side of a video, while height the short side; false: disabled. In this case, width represents the width of a video, while height the height. Default value: true. Note: this field may return null, indicating that no valid values can be obtained.
    Vcrf float64
    Video constant bit rate control factor, value range is [1,51]. Note:

    • If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
    • This field is required when the video stream encoding format is H.266. The recommended value is 28;
    • If there are no special requirements, it is not recommended to specify this parameter.
    Width float64
    Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.
    bitrate Double
    Bitrate of video stream in Kbps. Value range: 0 and [128, 35000]. If the value is 0, the bitrate of the video will be the same as that of the source video.
    codec String
    Video stream encoder. Valid values: libx264,libx265,av1. libx264: H.264, libx265: H.265, av1: AOMedia Video 1. Currently, a resolution within 640x480 must be specified for H.265. and the av1 container only supports mp4.
    fps Double
    Video frame rate in Hz. Value range: [0, 60]. If the value is 0, the frame rate will be the same as that of the source video.
    codecTag String
    Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:

    • hvc1: stands for hvc1 tag;
    • hev1: stands for the hev1 tag; Default value: hvc1.
    fillType String
    Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer; black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained.
    gop Double
    Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
    height Double
    Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.
    preserveHdrSwitch String
    Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:

    • ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
    • OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
    resolutionAdaptive Boolean
    Resolution adaption. Valid values: true,false. true: enabled. In this case, width represents the long side of a video, while height the short side; false: disabled. In this case, width represents the width of a video, while height the height. Default value: true. Note: this field may return null, indicating that no valid values can be obtained.
    vcrf Double
    Video constant bit rate control factor, value range is [1,51]. Note:

    • If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
    • This field is required when the video stream encoding format is H.266. The recommended value is 28;
    • If there are no special requirements, it is not recommended to specify this parameter.
    width Double
    Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.
    bitrate number
    Bitrate of video stream in Kbps. Value range: 0 and [128, 35000]. If the value is 0, the bitrate of the video will be the same as that of the source video.
    codec string
    Video stream encoder. Valid values: libx264,libx265,av1. libx264: H.264, libx265: H.265, av1: AOMedia Video 1. Currently, a resolution within 640x480 must be specified for H.265. and the av1 container only supports mp4.
    fps number
    Video frame rate in Hz. Value range: [0, 60]. If the value is 0, the frame rate will be the same as that of the source video.
    codecTag string
    Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:

    • hvc1: stands for hvc1 tag;
    • hev1: stands for the hev1 tag; Default value: hvc1.
    fillType string
    Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer; black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained.
    gop number
    Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
    height number
    Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.
    preserveHdrSwitch string
    Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:

    • ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
    • OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
    resolutionAdaptive boolean
    Resolution adaption. Valid values: true,false. true: enabled. In this case, width represents the long side of a video, while height the short side; false: disabled. In this case, width represents the width of a video, while height the height. Default value: true. Note: this field may return null, indicating that no valid values can be obtained.
    vcrf number
    Video constant bit rate control factor, value range is [1,51]. Note:

    • If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
    • This field is required when the video stream encoding format is H.266. The recommended value is 28;
    • If there are no special requirements, it is not recommended to specify this parameter.
    width number
    Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.
    bitrate float
    Bitrate of video stream in Kbps. Value range: 0 and [128, 35000]. If the value is 0, the bitrate of the video will be the same as that of the source video.
    codec str
    Video stream encoder. Valid values: libx264,libx265,av1. libx264: H.264, libx265: H.265, av1: AOMedia Video 1. Currently, a resolution within 640x480 must be specified for H.265. and the av1 container only supports mp4.
    fps float
    Video frame rate in Hz. Value range: [0, 60]. If the value is 0, the frame rate will be the same as that of the source video.
    codec_tag str
    Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:

    • hvc1: stands for hvc1 tag;
    • hev1: stands for the hev1 tag; Default value: hvc1.
    fill_type str
    Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer; black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained.
    gop float
    Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
    height float
    Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.
    preserve_hdr_switch str
    Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:

    • ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
    • OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
    resolution_adaptive bool
    Resolution adaption. Valid values: true,false. true: enabled. In this case, width represents the long side of a video, while height the short side; false: disabled. In this case, width represents the width of a video, while height the height. Default value: true. Note: this field may return null, indicating that no valid values can be obtained.
    vcrf float
    Video constant bit rate control factor, value range is [1,51]. Note:

    • If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
    • This field is required when the video stream encoding format is H.266. The recommended value is 28;
    • If there are no special requirements, it is not recommended to specify this parameter.
    width float
    Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.
    bitrate Number
    Bitrate of video stream in Kbps. Value range: 0 and [128, 35000]. If the value is 0, the bitrate of the video will be the same as that of the source video.
    codec String
    Video stream encoder. Valid values: libx264,libx265,av1. libx264: H.264, libx265: H.265, av1: AOMedia Video 1. Currently, a resolution within 640x480 must be specified for H.265. and the av1 container only supports mp4.
    fps Number
    Video frame rate in Hz. Value range: [0, 60]. If the value is 0, the frame rate will be the same as that of the source video.
    codecTag String
    Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:

    • hvc1: stands for hvc1 tag;
    • hev1: stands for the hev1 tag; Default value: hvc1.
    fillType String
    Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer; black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained.
    gop Number
    Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
    height Number
    Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.
    preserveHdrSwitch String
    Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:

    • ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
    • OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
    resolutionAdaptive Boolean
    Resolution adaption. Valid values: true,false. true: enabled. In this case, width represents the long side of a video, while height the short side; false: disabled. In this case, width represents the width of a video, while height the height. Default value: true. Note: this field may return null, indicating that no valid values can be obtained.
    vcrf Number
    Video constant bit rate control factor, value range is [1,51]. Note:

    • If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
    • This field is required when the video stream encoding format is H.266. The recommended value is 28;
    • If there are no special requirements, it is not recommended to specify this parameter.
    width Number
    Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4096]. If both width and height are 0, the resolution will be the same as that of the source video; If width is 0, but height is not 0, width will be proportionally scaled; If width is not 0, but height is 0, height will be proportionally scaled; If both width and height are not 0, the custom resolution will be used. Default value: 0. Note: this field may return null, indicating that no valid values can be obtained.

    Import

    VOD adaptive dynamic streaming template can be imported using the id($subAppId#$templateId), e.g.

    $ pulumi import tencentcloud:index/vodAdaptiveDynamicStreamingTemplate:VodAdaptiveDynamicStreamingTemplate foo $subAppId#$templateId
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack