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

tencentcloud.getVodAdaptiveDynamicStreamingTemplates

Explore with Pulumi AI

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

    Use this data source to query detailed information of VOD adaptive dynamic streaming templates.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const fooVodAdaptiveDynamicStreamingTemplate = new tencentcloud.VodAdaptiveDynamicStreamingTemplate("fooVodAdaptiveDynamicStreamingTemplate", {
        format: "HLS",
        drmType: "SimpleAES",
        disableHigherVideoBitrate: false,
        disableHigherVideoResolution: false,
        comment: "test",
        streamInfos: [
            {
                video: {
                    codec: "libx265",
                    fps: 4,
                    bitrate: 129,
                    resolutionAdaptive: false,
                    width: 128,
                    height: 128,
                    fillType: "stretch",
                },
                audio: {
                    codec: "libmp3lame",
                    bitrate: 129,
                    sampleRate: 44100,
                    audioChannel: "dual",
                },
                removeAudio: false,
            },
            {
                video: {
                    codec: "libx264",
                    fps: 4,
                    bitrate: 256,
                },
                audio: {
                    codec: "libfdk_aac",
                    bitrate: 256,
                    sampleRate: 44100,
                },
                removeAudio: true,
            },
        ],
    });
    const fooVodAdaptiveDynamicStreamingTemplates = tencentcloud.getVodAdaptiveDynamicStreamingTemplatesOutput({
        type: "Custom",
        definition: fooVodAdaptiveDynamicStreamingTemplate.vodAdaptiveDynamicStreamingTemplateId,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    foo_vod_adaptive_dynamic_streaming_template = tencentcloud.VodAdaptiveDynamicStreamingTemplate("fooVodAdaptiveDynamicStreamingTemplate",
        format="HLS",
        drm_type="SimpleAES",
        disable_higher_video_bitrate=False,
        disable_higher_video_resolution=False,
        comment="test",
        stream_infos=[
            {
                "video": {
                    "codec": "libx265",
                    "fps": 4,
                    "bitrate": 129,
                    "resolution_adaptive": False,
                    "width": 128,
                    "height": 128,
                    "fill_type": "stretch",
                },
                "audio": {
                    "codec": "libmp3lame",
                    "bitrate": 129,
                    "sample_rate": 44100,
                    "audio_channel": "dual",
                },
                "remove_audio": False,
            },
            {
                "video": {
                    "codec": "libx264",
                    "fps": 4,
                    "bitrate": 256,
                },
                "audio": {
                    "codec": "libfdk_aac",
                    "bitrate": 256,
                    "sample_rate": 44100,
                },
                "remove_audio": True,
            },
        ])
    foo_vod_adaptive_dynamic_streaming_templates = tencentcloud.get_vod_adaptive_dynamic_streaming_templates_output(type="Custom",
        definition=foo_vod_adaptive_dynamic_streaming_template.vod_adaptive_dynamic_streaming_template_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		fooVodAdaptiveDynamicStreamingTemplate, err := tencentcloud.NewVodAdaptiveDynamicStreamingTemplate(ctx, "fooVodAdaptiveDynamicStreamingTemplate", &tencentcloud.VodAdaptiveDynamicStreamingTemplateArgs{
    			Format:                       pulumi.String("HLS"),
    			DrmType:                      pulumi.String("SimpleAES"),
    			DisableHigherVideoBitrate:    pulumi.Bool(false),
    			DisableHigherVideoResolution: pulumi.Bool(false),
    			Comment:                      pulumi.String("test"),
    			StreamInfos: tencentcloud.VodAdaptiveDynamicStreamingTemplateStreamInfoArray{
    				&tencentcloud.VodAdaptiveDynamicStreamingTemplateStreamInfoArgs{
    					Video: &tencentcloud.VodAdaptiveDynamicStreamingTemplateStreamInfoVideoArgs{
    						Codec:              pulumi.String("libx265"),
    						Fps:                pulumi.Float64(4),
    						Bitrate:            pulumi.Float64(129),
    						ResolutionAdaptive: pulumi.Bool(false),
    						Width:              pulumi.Float64(128),
    						Height:             pulumi.Float64(128),
    						FillType:           pulumi.String("stretch"),
    					},
    					Audio: &tencentcloud.VodAdaptiveDynamicStreamingTemplateStreamInfoAudioArgs{
    						Codec:        pulumi.String("libmp3lame"),
    						Bitrate:      pulumi.Float64(129),
    						SampleRate:   pulumi.Float64(44100),
    						AudioChannel: pulumi.String("dual"),
    					},
    					RemoveAudio: pulumi.Bool(false),
    				},
    				&tencentcloud.VodAdaptiveDynamicStreamingTemplateStreamInfoArgs{
    					Video: &tencentcloud.VodAdaptiveDynamicStreamingTemplateStreamInfoVideoArgs{
    						Codec:   pulumi.String("libx264"),
    						Fps:     pulumi.Float64(4),
    						Bitrate: pulumi.Float64(256),
    					},
    					Audio: &tencentcloud.VodAdaptiveDynamicStreamingTemplateStreamInfoAudioArgs{
    						Codec:      pulumi.String("libfdk_aac"),
    						Bitrate:    pulumi.Float64(256),
    						SampleRate: pulumi.Float64(44100),
    					},
    					RemoveAudio: pulumi.Bool(true),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_ = tencentcloud.GetVodAdaptiveDynamicStreamingTemplatesOutput(ctx, tencentcloud.GetVodAdaptiveDynamicStreamingTemplatesOutputArgs{
    			Type:       pulumi.String("Custom"),
    			Definition: fooVodAdaptiveDynamicStreamingTemplate.VodAdaptiveDynamicStreamingTemplateId,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var fooVodAdaptiveDynamicStreamingTemplate = new Tencentcloud.VodAdaptiveDynamicStreamingTemplate("fooVodAdaptiveDynamicStreamingTemplate", new()
        {
            Format = "HLS",
            DrmType = "SimpleAES",
            DisableHigherVideoBitrate = false,
            DisableHigherVideoResolution = false,
            Comment = "test",
            StreamInfos = new[]
            {
                new Tencentcloud.Inputs.VodAdaptiveDynamicStreamingTemplateStreamInfoArgs
                {
                    Video = new Tencentcloud.Inputs.VodAdaptiveDynamicStreamingTemplateStreamInfoVideoArgs
                    {
                        Codec = "libx265",
                        Fps = 4,
                        Bitrate = 129,
                        ResolutionAdaptive = false,
                        Width = 128,
                        Height = 128,
                        FillType = "stretch",
                    },
                    Audio = new Tencentcloud.Inputs.VodAdaptiveDynamicStreamingTemplateStreamInfoAudioArgs
                    {
                        Codec = "libmp3lame",
                        Bitrate = 129,
                        SampleRate = 44100,
                        AudioChannel = "dual",
                    },
                    RemoveAudio = false,
                },
                new Tencentcloud.Inputs.VodAdaptiveDynamicStreamingTemplateStreamInfoArgs
                {
                    Video = new Tencentcloud.Inputs.VodAdaptiveDynamicStreamingTemplateStreamInfoVideoArgs
                    {
                        Codec = "libx264",
                        Fps = 4,
                        Bitrate = 256,
                    },
                    Audio = new Tencentcloud.Inputs.VodAdaptiveDynamicStreamingTemplateStreamInfoAudioArgs
                    {
                        Codec = "libfdk_aac",
                        Bitrate = 256,
                        SampleRate = 44100,
                    },
                    RemoveAudio = true,
                },
            },
        });
    
        var fooVodAdaptiveDynamicStreamingTemplates = Tencentcloud.GetVodAdaptiveDynamicStreamingTemplates.Invoke(new()
        {
            Type = "Custom",
            Definition = fooVodAdaptiveDynamicStreamingTemplate.VodAdaptiveDynamicStreamingTemplateId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.VodAdaptiveDynamicStreamingTemplate;
    import com.pulumi.tencentcloud.VodAdaptiveDynamicStreamingTemplateArgs;
    import com.pulumi.tencentcloud.inputs.VodAdaptiveDynamicStreamingTemplateStreamInfoArgs;
    import com.pulumi.tencentcloud.inputs.VodAdaptiveDynamicStreamingTemplateStreamInfoVideoArgs;
    import com.pulumi.tencentcloud.inputs.VodAdaptiveDynamicStreamingTemplateStreamInfoAudioArgs;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetVodAdaptiveDynamicStreamingTemplatesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var fooVodAdaptiveDynamicStreamingTemplate = new VodAdaptiveDynamicStreamingTemplate("fooVodAdaptiveDynamicStreamingTemplate", VodAdaptiveDynamicStreamingTemplateArgs.builder()
                .format("HLS")
                .drmType("SimpleAES")
                .disableHigherVideoBitrate(false)
                .disableHigherVideoResolution(false)
                .comment("test")
                .streamInfos(            
                    VodAdaptiveDynamicStreamingTemplateStreamInfoArgs.builder()
                        .video(VodAdaptiveDynamicStreamingTemplateStreamInfoVideoArgs.builder()
                            .codec("libx265")
                            .fps(4)
                            .bitrate(129)
                            .resolutionAdaptive(false)
                            .width(128)
                            .height(128)
                            .fillType("stretch")
                            .build())
                        .audio(VodAdaptiveDynamicStreamingTemplateStreamInfoAudioArgs.builder()
                            .codec("libmp3lame")
                            .bitrate(129)
                            .sampleRate(44100)
                            .audioChannel("dual")
                            .build())
                        .removeAudio(false)
                        .build(),
                    VodAdaptiveDynamicStreamingTemplateStreamInfoArgs.builder()
                        .video(VodAdaptiveDynamicStreamingTemplateStreamInfoVideoArgs.builder()
                            .codec("libx264")
                            .fps(4)
                            .bitrate(256)
                            .build())
                        .audio(VodAdaptiveDynamicStreamingTemplateStreamInfoAudioArgs.builder()
                            .codec("libfdk_aac")
                            .bitrate(256)
                            .sampleRate(44100)
                            .build())
                        .removeAudio(true)
                        .build())
                .build());
    
            final var fooVodAdaptiveDynamicStreamingTemplates = TencentcloudFunctions.getVodAdaptiveDynamicStreamingTemplates(GetVodAdaptiveDynamicStreamingTemplatesArgs.builder()
                .type("Custom")
                .definition(fooVodAdaptiveDynamicStreamingTemplate.vodAdaptiveDynamicStreamingTemplateId())
                .build());
    
        }
    }
    
    resources:
      fooVodAdaptiveDynamicStreamingTemplate:
        type: tencentcloud:VodAdaptiveDynamicStreamingTemplate
        properties:
          format: HLS
          drmType: SimpleAES
          disableHigherVideoBitrate: false
          disableHigherVideoResolution: false
          comment: test
          streamInfos:
            - video:
                codec: libx265
                fps: 4
                bitrate: 129
                resolutionAdaptive: false
                width: 128
                height: 128
                fillType: stretch
              audio:
                codec: libmp3lame
                bitrate: 129
                sampleRate: 44100
                audioChannel: dual
              removeAudio: false
            - video:
                codec: libx264
                fps: 4
                bitrate: 256
              audio:
                codec: libfdk_aac
                bitrate: 256
                sampleRate: 44100
              removeAudio: true
    variables:
      fooVodAdaptiveDynamicStreamingTemplates:
        fn::invoke:
          function: tencentcloud:getVodAdaptiveDynamicStreamingTemplates
          arguments:
            type: Custom
            definition: ${fooVodAdaptiveDynamicStreamingTemplate.vodAdaptiveDynamicStreamingTemplateId}
    

    Using getVodAdaptiveDynamicStreamingTemplates

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getVodAdaptiveDynamicStreamingTemplates(args: GetVodAdaptiveDynamicStreamingTemplatesArgs, opts?: InvokeOptions): Promise<GetVodAdaptiveDynamicStreamingTemplatesResult>
    function getVodAdaptiveDynamicStreamingTemplatesOutput(args: GetVodAdaptiveDynamicStreamingTemplatesOutputArgs, opts?: InvokeOptions): Output<GetVodAdaptiveDynamicStreamingTemplatesResult>
    def get_vod_adaptive_dynamic_streaming_templates(definition: Optional[str] = None,
                                                     id: Optional[str] = None,
                                                     result_output_file: Optional[str] = None,
                                                     sub_app_id: Optional[float] = None,
                                                     type: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetVodAdaptiveDynamicStreamingTemplatesResult
    def get_vod_adaptive_dynamic_streaming_templates_output(definition: Optional[pulumi.Input[str]] = None,
                                                     id: Optional[pulumi.Input[str]] = None,
                                                     result_output_file: Optional[pulumi.Input[str]] = None,
                                                     sub_app_id: Optional[pulumi.Input[float]] = None,
                                                     type: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[GetVodAdaptiveDynamicStreamingTemplatesResult]
    func GetVodAdaptiveDynamicStreamingTemplates(ctx *Context, args *GetVodAdaptiveDynamicStreamingTemplatesArgs, opts ...InvokeOption) (*GetVodAdaptiveDynamicStreamingTemplatesResult, error)
    func GetVodAdaptiveDynamicStreamingTemplatesOutput(ctx *Context, args *GetVodAdaptiveDynamicStreamingTemplatesOutputArgs, opts ...InvokeOption) GetVodAdaptiveDynamicStreamingTemplatesResultOutput

    > Note: This function is named GetVodAdaptiveDynamicStreamingTemplates in the Go SDK.

    public static class GetVodAdaptiveDynamicStreamingTemplates 
    {
        public static Task<GetVodAdaptiveDynamicStreamingTemplatesResult> InvokeAsync(GetVodAdaptiveDynamicStreamingTemplatesArgs args, InvokeOptions? opts = null)
        public static Output<GetVodAdaptiveDynamicStreamingTemplatesResult> Invoke(GetVodAdaptiveDynamicStreamingTemplatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVodAdaptiveDynamicStreamingTemplatesResult> getVodAdaptiveDynamicStreamingTemplates(GetVodAdaptiveDynamicStreamingTemplatesArgs args, InvokeOptions options)
    public static Output<GetVodAdaptiveDynamicStreamingTemplatesResult> getVodAdaptiveDynamicStreamingTemplates(GetVodAdaptiveDynamicStreamingTemplatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getVodAdaptiveDynamicStreamingTemplates:getVodAdaptiveDynamicStreamingTemplates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Definition string
    Unique ID filter of adaptive dynamic streaming template.
    Id string
    ResultOutputFile string
    Used to save results.
    SubAppId double
    Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
    Type string
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.
    Definition string
    Unique ID filter of adaptive dynamic streaming template.
    Id string
    ResultOutputFile string
    Used to save results.
    SubAppId float64
    Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
    Type string
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.
    definition String
    Unique ID filter of adaptive dynamic streaming template.
    id String
    resultOutputFile String
    Used to save results.
    subAppId Double
    Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
    type String
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.
    definition string
    Unique ID filter of adaptive dynamic streaming template.
    id string
    resultOutputFile string
    Used to save results.
    subAppId number
    Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
    type string
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.
    definition str
    Unique ID filter of adaptive dynamic streaming template.
    id str
    result_output_file str
    Used to save results.
    sub_app_id float
    Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
    type str
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.
    definition String
    Unique ID filter of adaptive dynamic streaming template.
    id String
    resultOutputFile String
    Used to save results.
    subAppId Number
    Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
    type String
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.

    getVodAdaptiveDynamicStreamingTemplates Result

    The following output properties are available:

    Id string
    TemplateLists List<GetVodAdaptiveDynamicStreamingTemplatesTemplateList>
    A list of adaptive dynamic streaming templates. Each element contains the following attributes:
    Definition string
    Unique ID of adaptive dynamic streaming template.
    ResultOutputFile string
    SubAppId double
    Type string
    Template type filter. Valid values: Preset,Custom. Preset: preset template; Custom: custom template.
    Id string
    TemplateLists []GetVodAdaptiveDynamicStreamingTemplatesTemplateList
    A list of adaptive dynamic streaming templates. Each element contains the following attributes:
    Definition string
    Unique ID of adaptive dynamic streaming template.
    ResultOutputFile string
    SubAppId float64
    Type string
    Template type filter. Valid values: Preset,Custom. Preset: preset template; Custom: custom template.
    id String
    templateLists List<GetVodAdaptiveDynamicStreamingTemplatesTemplateList>
    A list of adaptive dynamic streaming templates. Each element contains the following attributes:
    definition String
    Unique ID of adaptive dynamic streaming template.
    resultOutputFile String
    subAppId Double
    type String
    Template type filter. Valid values: Preset,Custom. Preset: preset template; Custom: custom template.
    id string
    templateLists GetVodAdaptiveDynamicStreamingTemplatesTemplateList[]
    A list of adaptive dynamic streaming templates. Each element contains the following attributes:
    definition string
    Unique ID of adaptive dynamic streaming template.
    resultOutputFile string
    subAppId number
    type string
    Template type filter. Valid values: Preset,Custom. Preset: preset template; Custom: custom template.
    id str
    template_lists Sequence[GetVodAdaptiveDynamicStreamingTemplatesTemplateList]
    A list of adaptive dynamic streaming templates. Each element contains the following attributes:
    definition str
    Unique ID of adaptive dynamic streaming template.
    result_output_file str
    sub_app_id float
    type str
    Template type filter. Valid values: Preset,Custom. Preset: preset template; Custom: custom template.
    id String
    templateLists List<Property Map>
    A list of adaptive dynamic streaming templates. Each element contains the following attributes:
    definition String
    Unique ID of adaptive dynamic streaming template.
    resultOutputFile String
    subAppId Number
    type String
    Template type filter. Valid values: Preset,Custom. Preset: preset template; Custom: custom template.

    Supporting Types

    GetVodAdaptiveDynamicStreamingTemplatesTemplateList

    Comment string
    Template description.
    CreateTime string
    Creation time of template in ISO date format.
    Definition string
    Unique ID filter of adaptive dynamic streaming template.
    DisableHigherVideoBitrate bool
    Whether to prohibit transcoding video from low bitrate to high bitrate. false: no, true: yes.
    DisableHigherVideoResolution bool
    Whether to prohibit transcoding from low resolution to high resolution. false: no, true: yes.
    DrmType string
    DRM scheme type.
    Format string
    Adaptive bitstream format.
    Name string
    Template name.
    StreamInfos List<GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfo>
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming.
    Type string
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.
    UpdateTime string
    Last modified time of template in ISO date format.
    Comment string
    Template description.
    CreateTime string
    Creation time of template in ISO date format.
    Definition string
    Unique ID filter of adaptive dynamic streaming template.
    DisableHigherVideoBitrate bool
    Whether to prohibit transcoding video from low bitrate to high bitrate. false: no, true: yes.
    DisableHigherVideoResolution bool
    Whether to prohibit transcoding from low resolution to high resolution. false: no, true: yes.
    DrmType string
    DRM scheme type.
    Format string
    Adaptive bitstream format.
    Name string
    Template name.
    StreamInfos []GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfo
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming.
    Type string
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.
    UpdateTime string
    Last modified time of template in ISO date format.
    comment String
    Template description.
    createTime String
    Creation time of template in ISO date format.
    definition String
    Unique ID filter of adaptive dynamic streaming template.
    disableHigherVideoBitrate Boolean
    Whether to prohibit transcoding video from low bitrate to high bitrate. false: no, true: yes.
    disableHigherVideoResolution Boolean
    Whether to prohibit transcoding from low resolution to high resolution. false: no, true: yes.
    drmType String
    DRM scheme type.
    format String
    Adaptive bitstream format.
    name String
    Template name.
    streamInfos List<GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfo>
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming.
    type String
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.
    updateTime String
    Last modified time of template in ISO date format.
    comment string
    Template description.
    createTime string
    Creation time of template in ISO date format.
    definition string
    Unique ID filter of adaptive dynamic streaming template.
    disableHigherVideoBitrate boolean
    Whether to prohibit transcoding video from low bitrate to high bitrate. false: no, true: yes.
    disableHigherVideoResolution boolean
    Whether to prohibit transcoding from low resolution to high resolution. false: no, true: yes.
    drmType string
    DRM scheme type.
    format string
    Adaptive bitstream format.
    name string
    Template name.
    streamInfos GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfo[]
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming.
    type string
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.
    updateTime string
    Last modified time of template in ISO date format.
    comment str
    Template description.
    create_time str
    Creation time of template in ISO date format.
    definition str
    Unique ID filter of adaptive dynamic streaming template.
    disable_higher_video_bitrate bool
    Whether to prohibit transcoding video from low bitrate to high bitrate. false: no, true: yes.
    disable_higher_video_resolution bool
    Whether to prohibit transcoding from low resolution to high resolution. false: no, true: yes.
    drm_type str
    DRM scheme type.
    format str
    Adaptive bitstream format.
    name str
    Template name.
    stream_infos Sequence[GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfo]
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming.
    type str
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.
    update_time str
    Last modified time of template in ISO date format.
    comment String
    Template description.
    createTime String
    Creation time of template in ISO date format.
    definition String
    Unique ID filter of adaptive dynamic streaming template.
    disableHigherVideoBitrate Boolean
    Whether to prohibit transcoding video from low bitrate to high bitrate. false: no, true: yes.
    disableHigherVideoResolution Boolean
    Whether to prohibit transcoding from low resolution to high resolution. false: no, true: yes.
    drmType String
    DRM scheme type.
    format String
    Adaptive bitstream format.
    name String
    Template name.
    streamInfos List<Property Map>
    List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming.
    type String
    Template type filter. Valid values: Preset, Custom. Preset: preset template; Custom: custom template.
    updateTime String
    Last modified time of template in ISO date format.

    GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfo

    Audios List<GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoAudio>
    Audio parameter information.
    RemoveAudio bool
    Whether to remove audio stream. false: no, true: yes.
    Videos List<GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoVideo>
    Video parameter information.
    Audios []GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoAudio
    Audio parameter information.
    RemoveAudio bool
    Whether to remove audio stream. false: no, true: yes.
    Videos []GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoVideo
    Video parameter information.
    audios List<GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoAudio>
    Audio parameter information.
    removeAudio Boolean
    Whether to remove audio stream. false: no, true: yes.
    videos List<GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoVideo>
    Video parameter information.
    audios GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoAudio[]
    Audio parameter information.
    removeAudio boolean
    Whether to remove audio stream. false: no, true: yes.
    videos GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoVideo[]
    Video parameter information.
    audios List<Property Map>
    Audio parameter information.
    removeAudio Boolean
    Whether to remove audio stream. false: no, true: yes.
    videos List<Property Map>
    Video parameter information.

    GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoAudio

    AudioChannel string
    Audio channel system. Valid values: mono, dual, stereo.
    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.
    SampleRate double
    Audio stream sample rate. Valid values: 32000, 44100, 48000. Unit is HZ.
    AudioChannel string
    Audio channel system. Valid values: mono, dual, stereo.
    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.
    SampleRate float64
    Audio stream sample rate. Valid values: 32000, 44100, 48000. Unit is HZ.
    audioChannel String
    Audio channel system. Valid values: mono, dual, stereo.
    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.
    sampleRate Double
    Audio stream sample rate. Valid values: 32000, 44100, 48000. Unit is HZ.
    audioChannel string
    Audio channel system. Valid values: mono, dual, stereo.
    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.
    sampleRate number
    Audio stream sample rate. Valid values: 32000, 44100, 48000. Unit is HZ.
    audio_channel str
    Audio channel system. Valid values: mono, dual, stereo.
    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.
    sample_rate float
    Audio stream sample rate. Valid values: 32000, 44100, 48000. Unit is HZ.
    audioChannel String
    Audio channel system. Valid values: mono, dual, stereo.
    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.
    sampleRate Number
    Audio stream sample rate. Valid values: 32000, 44100, 48000. Unit is HZ.

    GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoVideo

    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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. 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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. 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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. 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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. 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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. 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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. Note: this field may return null, indicating that no valid values can be obtained.
    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. Note: this field may return null, indicating that no valid values can be obtained.

    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