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

tencentcloud.CssLiveTranscodeTemplate

Explore with Pulumi AI

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

    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:

    TemplateName string
    template name, only support 0-9 and a-z.
    VideoBitrate double
    video bitrate, 0 for origin, range 0kbps - 8000kbps.
    Acodec string
    default aac, not support now.
    AdaptBitratePercent double
    high speed mode adapt bitrate, support 0 - 0.5.
    AiTransCode double
    enable high speed mode, default 0, 1 for enable, 0 for no.
    AudioBitrate double
    default 0, range 0 - 500.
    BitrateToOrig double
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    CssLiveTranscodeTemplateId string
    ID of the resource.
    Description string
    template desc.
    DrmTracks string
    DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
    DrmType string
    DRM type, support fairplay/normalaes/widevine.
    Fps double
    video fps, default 0, range 0 - 60.
    FpsToOrig double
    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.
    HeightToOrig double
    base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
    NeedAudio double
    keep audio or not, default 1 for yes, 0 for no.
    NeedVideo 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.
    ShortEdgeAsHeight double
    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.
    TemplateName string
    template name, only support 0-9 and a-z.
    VideoBitrate float64
    video bitrate, 0 for origin, range 0kbps - 8000kbps.
    Acodec string
    default aac, not support now.
    AdaptBitratePercent float64
    high speed mode adapt bitrate, support 0 - 0.5.
    AiTransCode float64
    enable high speed mode, default 0, 1 for enable, 0 for no.
    AudioBitrate float64
    default 0, range 0 - 500.
    BitrateToOrig float64
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    CssLiveTranscodeTemplateId string
    ID of the resource.
    Description string
    template desc.
    DrmTracks string
    DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
    DrmType string
    DRM type, support fairplay/normalaes/widevine.
    Fps float64
    video fps, default 0, range 0 - 60.
    FpsToOrig float64
    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.
    HeightToOrig float64
    base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
    NeedAudio float64
    keep audio or not, default 1 for yes, 0 for no.
    NeedVideo 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.
    ShortEdgeAsHeight float64
    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.
    templateName String
    template name, only support 0-9 and a-z.
    videoBitrate Double
    video bitrate, 0 for origin, range 0kbps - 8000kbps.
    acodec String
    default aac, not support now.
    adaptBitratePercent Double
    high speed mode adapt bitrate, support 0 - 0.5.
    aiTransCode Double
    enable high speed mode, default 0, 1 for enable, 0 for no.
    audioBitrate Double
    default 0, range 0 - 500.
    bitrateToOrig Double
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    cssLiveTranscodeTemplateId String
    ID of the resource.
    description String
    template desc.
    drmTracks String
    DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
    drmType String
    DRM type, support fairplay/normalaes/widevine.
    fps Double
    video fps, default 0, range 0 - 60.
    fpsToOrig Double
    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.
    heightToOrig Double
    base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
    needAudio Double
    keep audio or not, default 1 for yes, 0 for no.
    needVideo 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.
    shortEdgeAsHeight Double
    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.
    templateName string
    template name, only support 0-9 and a-z.
    videoBitrate number
    video bitrate, 0 for origin, range 0kbps - 8000kbps.
    acodec string
    default aac, not support now.
    adaptBitratePercent number
    high speed mode adapt bitrate, support 0 - 0.5.
    aiTransCode number
    enable high speed mode, default 0, 1 for enable, 0 for no.
    audioBitrate number
    default 0, range 0 - 500.
    bitrateToOrig number
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    cssLiveTranscodeTemplateId string
    ID of the resource.
    description string
    template desc.
    drmTracks string
    DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
    drmType string
    DRM type, support fairplay/normalaes/widevine.
    fps number
    video fps, default 0, range 0 - 60.
    fpsToOrig number
    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.
    heightToOrig number
    base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
    needAudio number
    keep audio or not, default 1 for yes, 0 for no.
    needVideo 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.
    shortEdgeAsHeight number
    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_percent float
    high speed mode adapt bitrate, support 0 - 0.5.
    ai_trans_code float
    enable high speed mode, default 0, 1 for enable, 0 for no.
    audio_bitrate float
    default 0, range 0 - 500.
    bitrate_to_orig float
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    css_live_transcode_template_id str
    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_orig float
    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_orig float
    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_as_height float
    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.
    templateName String
    template name, only support 0-9 and a-z.
    videoBitrate Number
    video bitrate, 0 for origin, range 0kbps - 8000kbps.
    acodec String
    default aac, not support now.
    adaptBitratePercent Number
    high speed mode adapt bitrate, support 0 - 0.5.
    aiTransCode Number
    enable high speed mode, default 0, 1 for enable, 0 for no.
    audioBitrate Number
    default 0, range 0 - 500.
    bitrateToOrig Number
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    cssLiveTranscodeTemplateId String
    ID of the resource.
    description String
    template desc.
    drmTracks String
    DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
    drmType String
    DRM type, support fairplay/normalaes/widevine.
    fps Number
    video fps, default 0, range 0 - 60.
    fpsToOrig Number
    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.
    heightToOrig Number
    base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
    needAudio Number
    keep audio or not, default 1 for yes, 0 for no.
    needVideo 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.
    shortEdgeAsHeight Number
    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.
    The following state arguments are supported:
    Acodec string
    default aac, not support now.
    AdaptBitratePercent double
    high speed mode adapt bitrate, support 0 - 0.5.
    AiTransCode double
    enable high speed mode, default 0, 1 for enable, 0 for no.
    AudioBitrate double
    default 0, range 0 - 500.
    BitrateToOrig double
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    CssLiveTranscodeTemplateId string
    ID of the resource.
    Description string
    template desc.
    DrmTracks string
    DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
    DrmType string
    DRM type, support fairplay/normalaes/widevine.
    Fps double
    video fps, default 0, range 0 - 60.
    FpsToOrig double
    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.
    HeightToOrig double
    base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
    NeedAudio double
    keep audio or not, default 1 for yes, 0 for no.
    NeedVideo 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.
    ShortEdgeAsHeight double
    let the short edge as the height.
    TemplateName string
    template name, only support 0-9 and a-z.
    Vcodec string
    video codec, default origin, support h264/h265/origin.
    VideoBitrate 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.
    AdaptBitratePercent float64
    high speed mode adapt bitrate, support 0 - 0.5.
    AiTransCode float64
    enable high speed mode, default 0, 1 for enable, 0 for no.
    AudioBitrate float64
    default 0, range 0 - 500.
    BitrateToOrig float64
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    CssLiveTranscodeTemplateId string
    ID of the resource.
    Description string
    template desc.
    DrmTracks string
    DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
    DrmType string
    DRM type, support fairplay/normalaes/widevine.
    Fps float64
    video fps, default 0, range 0 - 60.
    FpsToOrig float64
    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.
    HeightToOrig float64
    base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
    NeedAudio float64
    keep audio or not, default 1 for yes, 0 for no.
    NeedVideo 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.
    ShortEdgeAsHeight float64
    let the short edge as the height.
    TemplateName string
    template name, only support 0-9 and a-z.
    Vcodec string
    video codec, default origin, support h264/h265/origin.
    VideoBitrate 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.
    adaptBitratePercent Double
    high speed mode adapt bitrate, support 0 - 0.5.
    aiTransCode Double
    enable high speed mode, default 0, 1 for enable, 0 for no.
    audioBitrate Double
    default 0, range 0 - 500.
    bitrateToOrig Double
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    cssLiveTranscodeTemplateId String
    ID of the resource.
    description String
    template desc.
    drmTracks String
    DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
    drmType String
    DRM type, support fairplay/normalaes/widevine.
    fps Double
    video fps, default 0, range 0 - 60.
    fpsToOrig Double
    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.
    heightToOrig Double
    base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
    needAudio Double
    keep audio or not, default 1 for yes, 0 for no.
    needVideo 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.
    shortEdgeAsHeight Double
    let the short edge as the height.
    templateName String
    template name, only support 0-9 and a-z.
    vcodec String
    video codec, default origin, support h264/h265/origin.
    videoBitrate 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.
    adaptBitratePercent number
    high speed mode adapt bitrate, support 0 - 0.5.
    aiTransCode number
    enable high speed mode, default 0, 1 for enable, 0 for no.
    audioBitrate number
    default 0, range 0 - 500.
    bitrateToOrig number
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    cssLiveTranscodeTemplateId string
    ID of the resource.
    description string
    template desc.
    drmTracks string
    DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
    drmType string
    DRM type, support fairplay/normalaes/widevine.
    fps number
    video fps, default 0, range 0 - 60.
    fpsToOrig number
    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.
    heightToOrig number
    base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
    needAudio number
    keep audio or not, default 1 for yes, 0 for no.
    needVideo 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.
    shortEdgeAsHeight number
    let the short edge as the height.
    templateName string
    template name, only support 0-9 and a-z.
    vcodec string
    video codec, default origin, support h264/h265/origin.
    videoBitrate 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_percent float
    high speed mode adapt bitrate, support 0 - 0.5.
    ai_trans_code float
    enable high speed mode, default 0, 1 for enable, 0 for no.
    audio_bitrate float
    default 0, range 0 - 500.
    bitrate_to_orig float
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    css_live_transcode_template_id str
    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_orig float
    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_orig float
    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_as_height float
    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.
    adaptBitratePercent Number
    high speed mode adapt bitrate, support 0 - 0.5.
    aiTransCode Number
    enable high speed mode, default 0, 1 for enable, 0 for no.
    audioBitrate Number
    default 0, range 0 - 500.
    bitrateToOrig Number
    base on origin bitrate if origin bitrate is lower than the setting bitrate. default 0, 1 for yes, 0 for no.
    cssLiveTranscodeTemplateId String
    ID of the resource.
    description String
    template desc.
    drmTracks String
    DRM tracks, support AUDIO/SD/HD/UHD1/UHD2.
    drmType String
    DRM type, support fairplay/normalaes/widevine.
    fps Number
    video fps, default 0, range 0 - 60.
    fpsToOrig Number
    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.
    heightToOrig Number
    base on origin height if origin height is lower than the setting height. default 0, 1 for yes, 0 for no.
    needAudio Number
    keep audio or not, default 1 for yes, 0 for no.
    needVideo 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.
    shortEdgeAsHeight Number
    let the short edge as the height.
    templateName String
    template name, only support 0-9 and a-z.
    vcodec String
    video codec, default origin, support h264/h265/origin.
    videoBitrate 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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack