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

tencentcloud.getVodAdaptiveDynamicStreamingTemplates

Explore with Pulumi AI

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,
});
Copy
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)
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
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}
Copy

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>
Copy
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]
Copy
func GetVodAdaptiveDynamicStreamingTemplates(ctx *Context, args *GetVodAdaptiveDynamicStreamingTemplatesArgs, opts ...InvokeOption) (*GetVodAdaptiveDynamicStreamingTemplatesResult, error)
func GetVodAdaptiveDynamicStreamingTemplatesOutput(ctx *Context, args *GetVodAdaptiveDynamicStreamingTemplatesOutputArgs, opts ...InvokeOption) GetVodAdaptiveDynamicStreamingTemplatesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetVodAdaptiveDynamicStreamingTemplatesResult> getVodAdaptiveDynamicStreamingTemplates(GetVodAdaptiveDynamicStreamingTemplatesArgs args, InvokeOptions options)
public static Output<GetVodAdaptiveDynamicStreamingTemplatesResult> getVodAdaptiveDynamicStreamingTemplates(GetVodAdaptiveDynamicStreamingTemplatesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getVodAdaptiveDynamicStreamingTemplates:getVodAdaptiveDynamicStreamingTemplates
  arguments:
    # arguments dictionary
Copy

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

GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfo

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

GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoAudio

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

GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoVideo

Bitrate This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.