tencentcloud.CssLiveTranscodeTemplate
Explore with Pulumi AI
Provides a resource to create a css live_transcode_template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const liveTranscodeTemplate = new tencentcloud.CssLiveTranscodeTemplate("liveTranscodeTemplate", {
acodec: "aac",
adaptBitratePercent: 0,
aiTransCode: 0,
audioBitrate: 128,
bitrateToOrig: 0,
description: "This_is_a_tf_test_temp.",
drmTracks: "SD",
drmType: "fairplay",
fps: 0,
fpsToOrig: 0,
gop: 2,
height: 0,
heightToOrig: 0,
needAudio: 1,
needVideo: 1,
profile: "baseline",
rotate: 0,
shortEdgeAsHeight: 0,
templateName: "template_name",
vcodec: "origin",
videoBitrate: 100,
width: 0,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
live_transcode_template = tencentcloud.CssLiveTranscodeTemplate("liveTranscodeTemplate",
acodec="aac",
adapt_bitrate_percent=0,
ai_trans_code=0,
audio_bitrate=128,
bitrate_to_orig=0,
description="This_is_a_tf_test_temp.",
drm_tracks="SD",
drm_type="fairplay",
fps=0,
fps_to_orig=0,
gop=2,
height=0,
height_to_orig=0,
need_audio=1,
need_video=1,
profile="baseline",
rotate=0,
short_edge_as_height=0,
template_name="template_name",
vcodec="origin",
video_bitrate=100,
width=0)
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 {
_, err := tencentcloud.NewCssLiveTranscodeTemplate(ctx, "liveTranscodeTemplate", &tencentcloud.CssLiveTranscodeTemplateArgs{
Acodec: pulumi.String("aac"),
AdaptBitratePercent: pulumi.Float64(0),
AiTransCode: pulumi.Float64(0),
AudioBitrate: pulumi.Float64(128),
BitrateToOrig: pulumi.Float64(0),
Description: pulumi.String("This_is_a_tf_test_temp."),
DrmTracks: pulumi.String("SD"),
DrmType: pulumi.String("fairplay"),
Fps: pulumi.Float64(0),
FpsToOrig: pulumi.Float64(0),
Gop: pulumi.Float64(2),
Height: pulumi.Float64(0),
HeightToOrig: pulumi.Float64(0),
NeedAudio: pulumi.Float64(1),
NeedVideo: pulumi.Float64(1),
Profile: pulumi.String("baseline"),
Rotate: pulumi.Float64(0),
ShortEdgeAsHeight: pulumi.Float64(0),
TemplateName: pulumi.String("template_name"),
Vcodec: pulumi.String("origin"),
VideoBitrate: pulumi.Float64(100),
Width: pulumi.Float64(0),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var liveTranscodeTemplate = new Tencentcloud.CssLiveTranscodeTemplate("liveTranscodeTemplate", new()
{
Acodec = "aac",
AdaptBitratePercent = 0,
AiTransCode = 0,
AudioBitrate = 128,
BitrateToOrig = 0,
Description = "This_is_a_tf_test_temp.",
DrmTracks = "SD",
DrmType = "fairplay",
Fps = 0,
FpsToOrig = 0,
Gop = 2,
Height = 0,
HeightToOrig = 0,
NeedAudio = 1,
NeedVideo = 1,
Profile = "baseline",
Rotate = 0,
ShortEdgeAsHeight = 0,
TemplateName = "template_name",
Vcodec = "origin",
VideoBitrate = 100,
Width = 0,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CssLiveTranscodeTemplate;
import com.pulumi.tencentcloud.CssLiveTranscodeTemplateArgs;
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 liveTranscodeTemplate = new CssLiveTranscodeTemplate("liveTranscodeTemplate", CssLiveTranscodeTemplateArgs.builder()
.acodec("aac")
.adaptBitratePercent(0)
.aiTransCode(0)
.audioBitrate(128)
.bitrateToOrig(0)
.description("This_is_a_tf_test_temp.")
.drmTracks("SD")
.drmType("fairplay")
.fps(0)
.fpsToOrig(0)
.gop(2)
.height(0)
.heightToOrig(0)
.needAudio(1)
.needVideo(1)
.profile("baseline")
.rotate(0)
.shortEdgeAsHeight(0)
.templateName("template_name")
.vcodec("origin")
.videoBitrate(100)
.width(0)
.build());
}
}
resources:
liveTranscodeTemplate:
type: tencentcloud:CssLiveTranscodeTemplate
properties:
acodec: aac
adaptBitratePercent: 0
aiTransCode: 0
audioBitrate: 128
bitrateToOrig: 0
description: This_is_a_tf_test_temp.
drmTracks: SD
drmType: fairplay
fps: 0
fpsToOrig: 0
gop: 2
height: 0
heightToOrig: 0
needAudio: 1
needVideo: 1
profile: baseline
rotate: 0
shortEdgeAsHeight: 0
templateName: template_name
vcodec: origin
videoBitrate: 100
width: 0
Create CssLiveTranscodeTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CssLiveTranscodeTemplate(name: string, args: CssLiveTranscodeTemplateArgs, opts?: CustomResourceOptions);
@overload
def CssLiveTranscodeTemplate(resource_name: str,
args: CssLiveTranscodeTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CssLiveTranscodeTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
template_name: Optional[str] = None,
video_bitrate: Optional[float] = None,
fps_to_orig: Optional[float] = None,
height_to_orig: Optional[float] = None,
bitrate_to_orig: Optional[float] = None,
css_live_transcode_template_id: Optional[str] = None,
description: Optional[str] = None,
drm_tracks: Optional[str] = None,
drm_type: Optional[str] = None,
fps: Optional[float] = None,
acodec: Optional[str] = None,
gop: Optional[float] = None,
height: Optional[float] = None,
audio_bitrate: Optional[float] = None,
need_audio: Optional[float] = None,
need_video: Optional[float] = None,
profile: Optional[str] = None,
rotate: Optional[float] = None,
short_edge_as_height: Optional[float] = None,
ai_trans_code: Optional[float] = None,
vcodec: Optional[str] = None,
adapt_bitrate_percent: Optional[float] = None,
width: Optional[float] = None)
func NewCssLiveTranscodeTemplate(ctx *Context, name string, args CssLiveTranscodeTemplateArgs, opts ...ResourceOption) (*CssLiveTranscodeTemplate, error)
public CssLiveTranscodeTemplate(string name, CssLiveTranscodeTemplateArgs args, CustomResourceOptions? opts = null)
public CssLiveTranscodeTemplate(String name, CssLiveTranscodeTemplateArgs args)
public CssLiveTranscodeTemplate(String name, CssLiveTranscodeTemplateArgs args, CustomResourceOptions options)
type: tencentcloud:CssLiveTranscodeTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CssLiveTranscodeTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CssLiveTranscodeTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CssLiveTranscodeTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CssLiveTranscodeTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CssLiveTranscodeTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CssLiveTranscodeTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CssLiveTranscodeTemplate resource accepts the following input properties:
- Template
Name string - template name, only support 0-9 and a-z.
- Video
Bitrate double - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- Acodec string
- default aac, not support now.
- Adapt
Bitrate doublePercent - high speed mode adapt bitrate, support 0 - 0.5.
- Ai
Trans doubleCode - enable high speed mode, default 0, 1 for enable, 0 for no.
- Audio
Bitrate double - default 0, range 0 - 500.
- Bitrate
To doubleOrig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- Css
Live stringTranscode Template Id - ID of the resource.
- Description string
- template desc.
- Drm
Tracks string - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- Drm
Type string - DRM type, support fairplay/normalaes/widevine.
- Fps double
- video fps, default 0, range 0 - 60.
- Fps
To doubleOrig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- Gop double
- gop of the video, second, default origin of the video, range 2 - 6.
- Height double
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- Height
To doubleOrig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- Need
Audio double - keep audio or not, default 1 for yes, 0 for no.
- Need
Video double - keep video or not, default 1 for yes, 0 for no.
- Profile string
- quality of the video, default baseline, support baseline/main/high.
- Rotate double
- roate degree, default 0, support 0/90/180/270.
- Short
Edge doubleAs Height - let the short edge as the height.
- Vcodec string
- video codec, default origin, support h264/h265/origin.
- Width double
- template width, default 0, range 0 - 3000, must be pow of 2.
- Template
Name string - template name, only support 0-9 and a-z.
- Video
Bitrate float64 - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- Acodec string
- default aac, not support now.
- Adapt
Bitrate float64Percent - high speed mode adapt bitrate, support 0 - 0.5.
- Ai
Trans float64Code - enable high speed mode, default 0, 1 for enable, 0 for no.
- Audio
Bitrate float64 - default 0, range 0 - 500.
- Bitrate
To float64Orig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- Css
Live stringTranscode Template Id - ID of the resource.
- Description string
- template desc.
- Drm
Tracks string - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- Drm
Type string - DRM type, support fairplay/normalaes/widevine.
- Fps float64
- video fps, default 0, range 0 - 60.
- Fps
To float64Orig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- Gop float64
- gop of the video, second, default origin of the video, range 2 - 6.
- Height float64
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- Height
To float64Orig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- Need
Audio float64 - keep audio or not, default 1 for yes, 0 for no.
- Need
Video float64 - keep video or not, default 1 for yes, 0 for no.
- Profile string
- quality of the video, default baseline, support baseline/main/high.
- Rotate float64
- roate degree, default 0, support 0/90/180/270.
- Short
Edge float64As Height - let the short edge as the height.
- Vcodec string
- video codec, default origin, support h264/h265/origin.
- Width float64
- template width, default 0, range 0 - 3000, must be pow of 2.
- template
Name String - template name, only support 0-9 and a-z.
- video
Bitrate Double - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- acodec String
- default aac, not support now.
- adapt
Bitrate DoublePercent - high speed mode adapt bitrate, support 0 - 0.5.
- ai
Trans DoubleCode - enable high speed mode, default 0, 1 for enable, 0 for no.
- audio
Bitrate Double - default 0, range 0 - 500.
- bitrate
To DoubleOrig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- css
Live StringTranscode Template Id - ID of the resource.
- description String
- template desc.
- drm
Tracks String - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- drm
Type String - DRM type, support fairplay/normalaes/widevine.
- fps Double
- video fps, default 0, range 0 - 60.
- fps
To DoubleOrig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- gop Double
- gop of the video, second, default origin of the video, range 2 - 6.
- height Double
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- height
To DoubleOrig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- need
Audio Double - keep audio or not, default 1 for yes, 0 for no.
- need
Video Double - keep video or not, default 1 for yes, 0 for no.
- profile String
- quality of the video, default baseline, support baseline/main/high.
- rotate Double
- roate degree, default 0, support 0/90/180/270.
- short
Edge DoubleAs Height - let the short edge as the height.
- vcodec String
- video codec, default origin, support h264/h265/origin.
- width Double
- template width, default 0, range 0 - 3000, must be pow of 2.
- template
Name string - template name, only support 0-9 and a-z.
- video
Bitrate number - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- acodec string
- default aac, not support now.
- adapt
Bitrate numberPercent - high speed mode adapt bitrate, support 0 - 0.5.
- ai
Trans numberCode - enable high speed mode, default 0, 1 for enable, 0 for no.
- audio
Bitrate number - default 0, range 0 - 500.
- bitrate
To numberOrig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- css
Live stringTranscode Template Id - ID of the resource.
- description string
- template desc.
- drm
Tracks string - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- drm
Type string - DRM type, support fairplay/normalaes/widevine.
- fps number
- video fps, default 0, range 0 - 60.
- fps
To numberOrig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- gop number
- gop of the video, second, default origin of the video, range 2 - 6.
- height number
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- height
To numberOrig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- need
Audio number - keep audio or not, default 1 for yes, 0 for no.
- need
Video number - keep video or not, default 1 for yes, 0 for no.
- profile string
- quality of the video, default baseline, support baseline/main/high.
- rotate number
- roate degree, default 0, support 0/90/180/270.
- short
Edge numberAs Height - let the short edge as the height.
- vcodec string
- video codec, default origin, support h264/h265/origin.
- width number
- template width, default 0, range 0 - 3000, must be pow of 2.
- template_
name str - template name, only support 0-9 and a-z.
- video_
bitrate float - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- acodec str
- default aac, not support now.
- adapt_
bitrate_ floatpercent - high speed mode adapt bitrate, support 0 - 0.5.
- ai_
trans_ floatcode - enable high speed mode, default 0, 1 for enable, 0 for no.
- audio_
bitrate float - default 0, range 0 - 500.
- bitrate_
to_ floatorig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- css_
live_ strtranscode_ template_ id - ID of the resource.
- description str
- template desc.
- drm_
tracks str - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- drm_
type str - DRM type, support fairplay/normalaes/widevine.
- fps float
- video fps, default 0, range 0 - 60.
- fps_
to_ floatorig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- gop float
- gop of the video, second, default origin of the video, range 2 - 6.
- height float
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- height_
to_ floatorig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- need_
audio float - keep audio or not, default 1 for yes, 0 for no.
- need_
video float - keep video or not, default 1 for yes, 0 for no.
- profile str
- quality of the video, default baseline, support baseline/main/high.
- rotate float
- roate degree, default 0, support 0/90/180/270.
- short_
edge_ floatas_ height - let the short edge as the height.
- vcodec str
- video codec, default origin, support h264/h265/origin.
- width float
- template width, default 0, range 0 - 3000, must be pow of 2.
- template
Name String - template name, only support 0-9 and a-z.
- video
Bitrate Number - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- acodec String
- default aac, not support now.
- adapt
Bitrate NumberPercent - high speed mode adapt bitrate, support 0 - 0.5.
- ai
Trans NumberCode - enable high speed mode, default 0, 1 for enable, 0 for no.
- audio
Bitrate Number - default 0, range 0 - 500.
- bitrate
To NumberOrig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- css
Live StringTranscode Template Id - ID of the resource.
- description String
- template desc.
- drm
Tracks String - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- drm
Type String - DRM type, support fairplay/normalaes/widevine.
- fps Number
- video fps, default 0, range 0 - 60.
- fps
To NumberOrig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- gop Number
- gop of the video, second, default origin of the video, range 2 - 6.
- height Number
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- height
To NumberOrig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- need
Audio Number - keep audio or not, default 1 for yes, 0 for no.
- need
Video Number - keep video or not, default 1 for yes, 0 for no.
- profile String
- quality of the video, default baseline, support baseline/main/high.
- rotate Number
- roate degree, default 0, support 0/90/180/270.
- short
Edge NumberAs Height - let the short edge as the height.
- vcodec String
- video codec, default origin, support h264/h265/origin.
- width Number
- template width, default 0, range 0 - 3000, must be pow of 2.
Outputs
All input properties are implicitly available as output properties. Additionally, the CssLiveTranscodeTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CssLiveTranscodeTemplate Resource
Get an existing CssLiveTranscodeTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CssLiveTranscodeTemplateState, opts?: CustomResourceOptions): CssLiveTranscodeTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
acodec: Optional[str] = None,
adapt_bitrate_percent: Optional[float] = None,
ai_trans_code: Optional[float] = None,
audio_bitrate: Optional[float] = None,
bitrate_to_orig: Optional[float] = None,
css_live_transcode_template_id: Optional[str] = None,
description: Optional[str] = None,
drm_tracks: Optional[str] = None,
drm_type: Optional[str] = None,
fps: Optional[float] = None,
fps_to_orig: Optional[float] = None,
gop: Optional[float] = None,
height: Optional[float] = None,
height_to_orig: Optional[float] = None,
need_audio: Optional[float] = None,
need_video: Optional[float] = None,
profile: Optional[str] = None,
rotate: Optional[float] = None,
short_edge_as_height: Optional[float] = None,
template_name: Optional[str] = None,
vcodec: Optional[str] = None,
video_bitrate: Optional[float] = None,
width: Optional[float] = None) -> CssLiveTranscodeTemplate
func GetCssLiveTranscodeTemplate(ctx *Context, name string, id IDInput, state *CssLiveTranscodeTemplateState, opts ...ResourceOption) (*CssLiveTranscodeTemplate, error)
public static CssLiveTranscodeTemplate Get(string name, Input<string> id, CssLiveTranscodeTemplateState? state, CustomResourceOptions? opts = null)
public static CssLiveTranscodeTemplate get(String name, Output<String> id, CssLiveTranscodeTemplateState state, CustomResourceOptions options)
resources: _: type: tencentcloud:CssLiveTranscodeTemplate get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Acodec string
- default aac, not support now.
- Adapt
Bitrate doublePercent - high speed mode adapt bitrate, support 0 - 0.5.
- Ai
Trans doubleCode - enable high speed mode, default 0, 1 for enable, 0 for no.
- Audio
Bitrate double - default 0, range 0 - 500.
- Bitrate
To doubleOrig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- Css
Live stringTranscode Template Id - ID of the resource.
- Description string
- template desc.
- Drm
Tracks string - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- Drm
Type string - DRM type, support fairplay/normalaes/widevine.
- Fps double
- video fps, default 0, range 0 - 60.
- Fps
To doubleOrig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- Gop double
- gop of the video, second, default origin of the video, range 2 - 6.
- Height double
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- Height
To doubleOrig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- Need
Audio double - keep audio or not, default 1 for yes, 0 for no.
- Need
Video double - keep video or not, default 1 for yes, 0 for no.
- Profile string
- quality of the video, default baseline, support baseline/main/high.
- Rotate double
- roate degree, default 0, support 0/90/180/270.
- Short
Edge doubleAs Height - let the short edge as the height.
- Template
Name string - template name, only support 0-9 and a-z.
- Vcodec string
- video codec, default origin, support h264/h265/origin.
- Video
Bitrate double - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- Width double
- template width, default 0, range 0 - 3000, must be pow of 2.
- Acodec string
- default aac, not support now.
- Adapt
Bitrate float64Percent - high speed mode adapt bitrate, support 0 - 0.5.
- Ai
Trans float64Code - enable high speed mode, default 0, 1 for enable, 0 for no.
- Audio
Bitrate float64 - default 0, range 0 - 500.
- Bitrate
To float64Orig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- Css
Live stringTranscode Template Id - ID of the resource.
- Description string
- template desc.
- Drm
Tracks string - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- Drm
Type string - DRM type, support fairplay/normalaes/widevine.
- Fps float64
- video fps, default 0, range 0 - 60.
- Fps
To float64Orig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- Gop float64
- gop of the video, second, default origin of the video, range 2 - 6.
- Height float64
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- Height
To float64Orig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- Need
Audio float64 - keep audio or not, default 1 for yes, 0 for no.
- Need
Video float64 - keep video or not, default 1 for yes, 0 for no.
- Profile string
- quality of the video, default baseline, support baseline/main/high.
- Rotate float64
- roate degree, default 0, support 0/90/180/270.
- Short
Edge float64As Height - let the short edge as the height.
- Template
Name string - template name, only support 0-9 and a-z.
- Vcodec string
- video codec, default origin, support h264/h265/origin.
- Video
Bitrate float64 - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- Width float64
- template width, default 0, range 0 - 3000, must be pow of 2.
- acodec String
- default aac, not support now.
- adapt
Bitrate DoublePercent - high speed mode adapt bitrate, support 0 - 0.5.
- ai
Trans DoubleCode - enable high speed mode, default 0, 1 for enable, 0 for no.
- audio
Bitrate Double - default 0, range 0 - 500.
- bitrate
To DoubleOrig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- css
Live StringTranscode Template Id - ID of the resource.
- description String
- template desc.
- drm
Tracks String - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- drm
Type String - DRM type, support fairplay/normalaes/widevine.
- fps Double
- video fps, default 0, range 0 - 60.
- fps
To DoubleOrig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- gop Double
- gop of the video, second, default origin of the video, range 2 - 6.
- height Double
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- height
To DoubleOrig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- need
Audio Double - keep audio or not, default 1 for yes, 0 for no.
- need
Video Double - keep video or not, default 1 for yes, 0 for no.
- profile String
- quality of the video, default baseline, support baseline/main/high.
- rotate Double
- roate degree, default 0, support 0/90/180/270.
- short
Edge DoubleAs Height - let the short edge as the height.
- template
Name String - template name, only support 0-9 and a-z.
- vcodec String
- video codec, default origin, support h264/h265/origin.
- video
Bitrate Double - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- width Double
- template width, default 0, range 0 - 3000, must be pow of 2.
- acodec string
- default aac, not support now.
- adapt
Bitrate numberPercent - high speed mode adapt bitrate, support 0 - 0.5.
- ai
Trans numberCode - enable high speed mode, default 0, 1 for enable, 0 for no.
- audio
Bitrate number - default 0, range 0 - 500.
- bitrate
To numberOrig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- css
Live stringTranscode Template Id - ID of the resource.
- description string
- template desc.
- drm
Tracks string - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- drm
Type string - DRM type, support fairplay/normalaes/widevine.
- fps number
- video fps, default 0, range 0 - 60.
- fps
To numberOrig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- gop number
- gop of the video, second, default origin of the video, range 2 - 6.
- height number
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- height
To numberOrig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- need
Audio number - keep audio or not, default 1 for yes, 0 for no.
- need
Video number - keep video or not, default 1 for yes, 0 for no.
- profile string
- quality of the video, default baseline, support baseline/main/high.
- rotate number
- roate degree, default 0, support 0/90/180/270.
- short
Edge numberAs Height - let the short edge as the height.
- template
Name string - template name, only support 0-9 and a-z.
- vcodec string
- video codec, default origin, support h264/h265/origin.
- video
Bitrate number - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- width number
- template width, default 0, range 0 - 3000, must be pow of 2.
- acodec str
- default aac, not support now.
- adapt_
bitrate_ floatpercent - high speed mode adapt bitrate, support 0 - 0.5.
- ai_
trans_ floatcode - enable high speed mode, default 0, 1 for enable, 0 for no.
- audio_
bitrate float - default 0, range 0 - 500.
- bitrate_
to_ floatorig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- css_
live_ strtranscode_ template_ id - ID of the resource.
- description str
- template desc.
- drm_
tracks str - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- drm_
type str - DRM type, support fairplay/normalaes/widevine.
- fps float
- video fps, default 0, range 0 - 60.
- fps_
to_ floatorig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- gop float
- gop of the video, second, default origin of the video, range 2 - 6.
- height float
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- height_
to_ floatorig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- need_
audio float - keep audio or not, default 1 for yes, 0 for no.
- need_
video float - keep video or not, default 1 for yes, 0 for no.
- profile str
- quality of the video, default baseline, support baseline/main/high.
- rotate float
- roate degree, default 0, support 0/90/180/270.
- short_
edge_ floatas_ height - let the short edge as the height.
- template_
name str - template name, only support 0-9 and a-z.
- vcodec str
- video codec, default origin, support h264/h265/origin.
- video_
bitrate float - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- width float
- template width, default 0, range 0 - 3000, must be pow of 2.
- acodec String
- default aac, not support now.
- adapt
Bitrate NumberPercent - high speed mode adapt bitrate, support 0 - 0.5.
- ai
Trans NumberCode - enable high speed mode, default 0, 1 for enable, 0 for no.
- audio
Bitrate Number - default 0, range 0 - 500.
- bitrate
To NumberOrig - base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
- css
Live StringTranscode Template Id - ID of the resource.
- description String
- template desc.
- drm
Tracks String - DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
- drm
Type String - DRM type, support fairplay/normalaes/widevine.
- fps Number
- video fps, default 0, range 0 - 60.
- fps
To NumberOrig - base on origin fps if origin fps is lower than the setting fps. default 0, 1 for yes, 0 for no.
- gop Number
- gop of the video, second, default origin of the video, range 2 - 6.
- height Number
- template height, default 0, range 0 - 3000, must be pow of 2, needed while AiTransCode = 1.
- height
To NumberOrig - base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
- need
Audio Number - keep audio or not, default 1 for yes, 0 for no.
- need
Video Number - keep video or not, default 1 for yes, 0 for no.
- profile String
- quality of the video, default baseline, support baseline/main/high.
- rotate Number
- roate degree, default 0, support 0/90/180/270.
- short
Edge NumberAs Height - let the short edge as the height.
- template
Name String - template name, only support 0-9 and a-z.
- vcodec String
- video codec, default origin, support h264/h265/origin.
- video
Bitrate Number - video bitrate, 0 for origin, range 0kbps - 8000kbps.
- width Number
- template width, default 0, range 0 - 3000, must be pow of 2.
Import
css live_transcode_template can be imported using the id, e.g.
$ pulumi import tencentcloud:index/cssLiveTranscodeTemplate:CssLiveTranscodeTemplate live_transcode_template liveTranscodeTemplate_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.