tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getVodAdaptiveDynamicStreamingTemplates
Explore with Pulumi AI
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
- Result
Output stringFile - Used to save results.
- Sub
App doubleId - 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
- Result
Output stringFile - Used to save results.
- Sub
App float64Id - 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
- result
Output StringFile - Used to save results.
- sub
App DoubleId - 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
- result
Output stringFile - Used to save results.
- sub
App numberId - 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_ strfile - Used to save results.
- sub_
app_ floatid - 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
- result
Output StringFile - Used to save results.
- sub
App NumberId - 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
- Template
Lists List<GetVod Adaptive Dynamic Streaming Templates Template List> - A list of adaptive dynamic streaming templates. Each element contains the following attributes:
- Definition string
- Unique ID of adaptive dynamic streaming template.
- Result
Output stringFile - Sub
App doubleId - Type string
- Template type filter. Valid values:
Preset
,Custom
.Preset
: preset template;Custom
: custom template.
- Id string
- Template
Lists []GetVod Adaptive Dynamic Streaming Templates Template List - A list of adaptive dynamic streaming templates. Each element contains the following attributes:
- Definition string
- Unique ID of adaptive dynamic streaming template.
- Result
Output stringFile - Sub
App float64Id - Type string
- Template type filter. Valid values:
Preset
,Custom
.Preset
: preset template;Custom
: custom template.
- id String
- template
Lists List<GetVod Adaptive Dynamic Streaming Templates Template List> - A list of adaptive dynamic streaming templates. Each element contains the following attributes:
- definition String
- Unique ID of adaptive dynamic streaming template.
- result
Output StringFile - sub
App DoubleId - type String
- Template type filter. Valid values:
Preset
,Custom
.Preset
: preset template;Custom
: custom template.
- id string
- template
Lists GetVod Adaptive Dynamic Streaming Templates Template List[] - A list of adaptive dynamic streaming templates. Each element contains the following attributes:
- definition string
- Unique ID of adaptive dynamic streaming template.
- result
Output stringFile - sub
App numberId - type string
- Template type filter. Valid values:
Preset
,Custom
.Preset
: preset template;Custom
: custom template.
- id str
- template_
lists Sequence[GetVod Adaptive Dynamic Streaming Templates Template List] - A list of adaptive dynamic streaming templates. Each element contains the following attributes:
- definition str
- Unique ID of adaptive dynamic streaming template.
- result_
output_ strfile - sub_
app_ floatid - type str
- Template type filter. Valid values:
Preset
,Custom
.Preset
: preset template;Custom
: custom template.
- id String
- template
Lists 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.
- result
Output StringFile - sub
App NumberId - type String
- Template type filter. Valid values:
Preset
,Custom
.Preset
: preset template;Custom
: custom template.
Supporting Types
GetVodAdaptiveDynamicStreamingTemplatesTemplateList
- Comment string
- Template description.
- Create
Time string - Creation time of template in ISO date format.
- Definition string
- Unique ID filter of adaptive dynamic streaming template.
- Disable
Higher boolVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate.
false
: no,true
: yes. - Disable
Higher boolVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution.
false
: no,true
: yes. - Drm
Type string - DRM scheme type.
- Format string
- Adaptive bitstream format.
- Name string
- Template name.
- Stream
Infos List<GetVod Adaptive Dynamic Streaming Templates Template List Stream Info> - 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. - Update
Time string - Last modified time of template in ISO date format.
- Comment string
- Template description.
- Create
Time string - Creation time of template in ISO date format.
- Definition string
- Unique ID filter of adaptive dynamic streaming template.
- Disable
Higher boolVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate.
false
: no,true
: yes. - Disable
Higher boolVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution.
false
: no,true
: yes. - Drm
Type string - DRM scheme type.
- Format string
- Adaptive bitstream format.
- Name string
- Template name.
- Stream
Infos []GetVod Adaptive Dynamic Streaming Templates Template List Stream Info - 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. - Update
Time string - Last modified time of template in ISO date format.
- comment String
- Template description.
- create
Time String - Creation time of template in ISO date format.
- definition String
- Unique ID filter of adaptive dynamic streaming template.
- disable
Higher BooleanVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate.
false
: no,true
: yes. - disable
Higher BooleanVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution.
false
: no,true
: yes. - drm
Type String - DRM scheme type.
- format String
- Adaptive bitstream format.
- name String
- Template name.
- stream
Infos List<GetVod Adaptive Dynamic Streaming Templates Template List Stream Info> - 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. - update
Time String - Last modified time of template in ISO date format.
- comment string
- Template description.
- create
Time string - Creation time of template in ISO date format.
- definition string
- Unique ID filter of adaptive dynamic streaming template.
- disable
Higher booleanVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate.
false
: no,true
: yes. - disable
Higher booleanVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution.
false
: no,true
: yes. - drm
Type string - DRM scheme type.
- format string
- Adaptive bitstream format.
- name string
- Template name.
- stream
Infos GetVod Adaptive Dynamic Streaming Templates Template List Stream Info[] - 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. - update
Time 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_ boolvideo_ bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate.
false
: no,true
: yes. - disable_
higher_ boolvideo_ resolution - 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[GetVod Adaptive Dynamic Streaming Templates Template List Stream Info] - 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.
- create
Time String - Creation time of template in ISO date format.
- definition String
- Unique ID filter of adaptive dynamic streaming template.
- disable
Higher BooleanVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate.
false
: no,true
: yes. - disable
Higher BooleanVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution.
false
: no,true
: yes. - drm
Type String - DRM scheme type.
- format String
- Adaptive bitstream format.
- name String
- Template name.
- stream
Infos 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. - update
Time String - Last modified time of template in ISO date format.
GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfo
- Audios
List<Get
Vod Adaptive Dynamic Streaming Templates Template List Stream Info Audio> - Audio parameter information.
- Remove
Audio bool - Whether to remove audio stream.
false
: no,true
: yes. - Videos
List<Get
Vod Adaptive Dynamic Streaming Templates Template List Stream Info Video> - Video parameter information.
- Audios
[]Get
Vod Adaptive Dynamic Streaming Templates Template List Stream Info Audio - Audio parameter information.
- Remove
Audio bool - Whether to remove audio stream.
false
: no,true
: yes. - Videos
[]Get
Vod Adaptive Dynamic Streaming Templates Template List Stream Info Video - Video parameter information.
- audios
List<Get
Vod Adaptive Dynamic Streaming Templates Template List Stream Info Audio> - Audio parameter information.
- remove
Audio Boolean - Whether to remove audio stream.
false
: no,true
: yes. - videos
List<Get
Vod Adaptive Dynamic Streaming Templates Template List Stream Info Video> - Video parameter information.
- audios
Get
Vod Adaptive Dynamic Streaming Templates Template List Stream Info Audio[] - Audio parameter information.
- remove
Audio boolean - Whether to remove audio stream.
false
: no,true
: yes. - videos
Get
Vod Adaptive Dynamic Streaming Templates Template List Stream Info Video[] - Video parameter information.
- audios
Sequence[Get
Vod Adaptive Dynamic Streaming Templates Template List Stream Info Audio] - Audio parameter information.
- remove_
audio bool - Whether to remove audio stream.
false
: no,true
: yes. - videos
Sequence[Get
Vod Adaptive Dynamic Streaming Templates Template List Stream Info Video] - Video parameter information.
- audios List<Property Map>
- Audio parameter information.
- remove
Audio Boolean - Whether to remove audio stream.
false
: no,true
: yes. - videos List<Property Map>
- Video parameter information.
GetVodAdaptiveDynamicStreamingTemplatesTemplateListStreamInfoAudio
- Audio
Channel 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 is0
, 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 forH.265
. and theav1
container only supports mp4. - Sample
Rate double - Audio stream sample rate. Valid values:
32000
,44100
,48000
. Unit is HZ.
- Audio
Channel 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 is0
, 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 forH.265
. and theav1
container only supports mp4. - Sample
Rate float64 - Audio stream sample rate. Valid values:
32000
,44100
,48000
. Unit is HZ.
- audio
Channel 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 is0
, 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 forH.265
. and theav1
container only supports mp4. - sample
Rate Double - Audio stream sample rate. Valid values:
32000
,44100
,48000
. Unit is HZ.
- audio
Channel 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 is0
, 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 forH.265
. and theav1
container only supports mp4. - sample
Rate 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 is0
, 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 forH.265
. and theav1
container only supports mp4. - sample_
rate float - Audio stream sample rate. Valid values:
32000
,44100
,48000
. Unit is HZ.
- audio
Channel 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 is0
, 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 forH.265
. and theav1
container only supports mp4. - sample
Rate 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 is0
, 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 forH.265
. and theav1
container only supports mp4. - Fill
Type 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 is0
, 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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, 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, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, 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 is0
, 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 forH.265
. and theav1
container only supports mp4. - Fill
Type 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 is0
, 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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, 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, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, 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 is0
, 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 forH.265
. and theav1
container only supports mp4. - fill
Type 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 is0
, 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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Note: this field may return null, indicating that no valid values can be obtained. - resolution
Adaptive Boolean - Resolution adaption. Valid values:
true
,false
.true
: enabled. In this case,width
represents the long side of a video, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, 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 is0
, 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 forH.265
. and theav1
container only supports mp4. - fill
Type 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 is0
, 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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Note: this field may return null, indicating that no valid values can be obtained. - resolution
Adaptive boolean - Resolution adaption. Valid values:
true
,false
.true
: enabled. In this case,width
represents the long side of a video, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, 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 is0
, 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 forH.265
. and theav1
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 is0
, 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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, 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, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, 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 is0
, 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 forH.265
. and theav1
container only supports mp4. - fill
Type 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 is0
, 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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Note: this field may return null, indicating that no valid values can be obtained. - resolution
Adaptive Boolean - Resolution adaption. Valid values:
true
,false
.true
: enabled. In this case,width
represents the long side of a video, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
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 bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack