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

tencentcloud.CiMediaTranscodeProTemplate

Explore with Pulumi AI

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

    Provides a resource to create a ci media_transcode_pro_template

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const mediaTranscodeProTemplate = new tencentcloud.CiMediaTranscodeProTemplate("mediaTranscodeProTemplate", {
        audio: {
            codec: "pcm_s24le",
            remove: "true",
        },
        bucket: "terraform-ci-xxxxxx",
        container: {
            format: "mxf",
        },
        timeInterval: {
            duration: "",
            start: "",
        },
        transConfig: {
            adjDarMethod: "scale",
            audioBitrateAdjMethod: "0",
            deleteMetadata: "false",
            isCheckAudioBitrate: "false",
            isCheckReso: "false",
            isCheckVideoBitrate: "false",
            isHdr2Sdr: "false",
            resoAdjMethod: "1",
            videoBitrateAdjMethod: "0",
        },
        video: {
            bitrate: "50000",
            codec: "xavc",
            fps: "30000/1001",
            height: "1080",
            interlaced: "true",
            profile: "XAVC-HD_422_10bit",
            width: "1920",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    media_transcode_pro_template = tencentcloud.CiMediaTranscodeProTemplate("mediaTranscodeProTemplate",
        audio={
            "codec": "pcm_s24le",
            "remove": "true",
        },
        bucket="terraform-ci-xxxxxx",
        container={
            "format": "mxf",
        },
        time_interval={
            "duration": "",
            "start": "",
        },
        trans_config={
            "adj_dar_method": "scale",
            "audio_bitrate_adj_method": "0",
            "delete_metadata": "false",
            "is_check_audio_bitrate": "false",
            "is_check_reso": "false",
            "is_check_video_bitrate": "false",
            "is_hdr2_sdr": "false",
            "reso_adj_method": "1",
            "video_bitrate_adj_method": "0",
        },
        video={
            "bitrate": "50000",
            "codec": "xavc",
            "fps": "30000/1001",
            "height": "1080",
            "interlaced": "true",
            "profile": "XAVC-HD_422_10bit",
            "width": "1920",
        })
    
    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.NewCiMediaTranscodeProTemplate(ctx, "mediaTranscodeProTemplate", &tencentcloud.CiMediaTranscodeProTemplateArgs{
    			Audio: &tencentcloud.CiMediaTranscodeProTemplateAudioArgs{
    				Codec:  pulumi.String("pcm_s24le"),
    				Remove: pulumi.String("true"),
    			},
    			Bucket: pulumi.String("terraform-ci-xxxxxx"),
    			Container: &tencentcloud.CiMediaTranscodeProTemplateContainerArgs{
    				Format: pulumi.String("mxf"),
    			},
    			TimeInterval: &tencentcloud.CiMediaTranscodeProTemplateTimeIntervalArgs{
    				Duration: pulumi.String(""),
    				Start:    pulumi.String(""),
    			},
    			TransConfig: &tencentcloud.CiMediaTranscodeProTemplateTransConfigArgs{
    				AdjDarMethod:          pulumi.String("scale"),
    				AudioBitrateAdjMethod: pulumi.String("0"),
    				DeleteMetadata:        pulumi.String("false"),
    				IsCheckAudioBitrate:   pulumi.String("false"),
    				IsCheckReso:           pulumi.String("false"),
    				IsCheckVideoBitrate:   pulumi.String("false"),
    				IsHdr2Sdr:             pulumi.String("false"),
    				ResoAdjMethod:         pulumi.String("1"),
    				VideoBitrateAdjMethod: pulumi.String("0"),
    			},
    			Video: &tencentcloud.CiMediaTranscodeProTemplateVideoArgs{
    				Bitrate:    pulumi.String("50000"),
    				Codec:      pulumi.String("xavc"),
    				Fps:        pulumi.String("30000/1001"),
    				Height:     pulumi.String("1080"),
    				Interlaced: pulumi.String("true"),
    				Profile:    pulumi.String("XAVC-HD_422_10bit"),
    				Width:      pulumi.String("1920"),
    			},
    		})
    		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 mediaTranscodeProTemplate = new Tencentcloud.CiMediaTranscodeProTemplate("mediaTranscodeProTemplate", new()
        {
            Audio = new Tencentcloud.Inputs.CiMediaTranscodeProTemplateAudioArgs
            {
                Codec = "pcm_s24le",
                Remove = "true",
            },
            Bucket = "terraform-ci-xxxxxx",
            Container = new Tencentcloud.Inputs.CiMediaTranscodeProTemplateContainerArgs
            {
                Format = "mxf",
            },
            TimeInterval = new Tencentcloud.Inputs.CiMediaTranscodeProTemplateTimeIntervalArgs
            {
                Duration = "",
                Start = "",
            },
            TransConfig = new Tencentcloud.Inputs.CiMediaTranscodeProTemplateTransConfigArgs
            {
                AdjDarMethod = "scale",
                AudioBitrateAdjMethod = "0",
                DeleteMetadata = "false",
                IsCheckAudioBitrate = "false",
                IsCheckReso = "false",
                IsCheckVideoBitrate = "false",
                IsHdr2Sdr = "false",
                ResoAdjMethod = "1",
                VideoBitrateAdjMethod = "0",
            },
            Video = new Tencentcloud.Inputs.CiMediaTranscodeProTemplateVideoArgs
            {
                Bitrate = "50000",
                Codec = "xavc",
                Fps = "30000/1001",
                Height = "1080",
                Interlaced = "true",
                Profile = "XAVC-HD_422_10bit",
                Width = "1920",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CiMediaTranscodeProTemplate;
    import com.pulumi.tencentcloud.CiMediaTranscodeProTemplateArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaTranscodeProTemplateAudioArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaTranscodeProTemplateContainerArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaTranscodeProTemplateTimeIntervalArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaTranscodeProTemplateTransConfigArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaTranscodeProTemplateVideoArgs;
    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 mediaTranscodeProTemplate = new CiMediaTranscodeProTemplate("mediaTranscodeProTemplate", CiMediaTranscodeProTemplateArgs.builder()
                .audio(CiMediaTranscodeProTemplateAudioArgs.builder()
                    .codec("pcm_s24le")
                    .remove("true")
                    .build())
                .bucket("terraform-ci-xxxxxx")
                .container(CiMediaTranscodeProTemplateContainerArgs.builder()
                    .format("mxf")
                    .build())
                .timeInterval(CiMediaTranscodeProTemplateTimeIntervalArgs.builder()
                    .duration("")
                    .start("")
                    .build())
                .transConfig(CiMediaTranscodeProTemplateTransConfigArgs.builder()
                    .adjDarMethod("scale")
                    .audioBitrateAdjMethod("0")
                    .deleteMetadata("false")
                    .isCheckAudioBitrate("false")
                    .isCheckReso("false")
                    .isCheckVideoBitrate("false")
                    .isHdr2Sdr("false")
                    .resoAdjMethod("1")
                    .videoBitrateAdjMethod("0")
                    .build())
                .video(CiMediaTranscodeProTemplateVideoArgs.builder()
                    .bitrate("50000")
                    .codec("xavc")
                    .fps("30000/1001")
                    .height("1080")
                    .interlaced("true")
                    .profile("XAVC-HD_422_10bit")
                    .width("1920")
                    .build())
                .build());
    
        }
    }
    
    resources:
      mediaTranscodeProTemplate:
        type: tencentcloud:CiMediaTranscodeProTemplate
        properties:
          audio:
            codec: pcm_s24le
            remove: 'true'
          bucket: terraform-ci-xxxxxx
          container:
            format: mxf
          timeInterval:
            duration: ""
            start: ""
          transConfig:
            adjDarMethod: scale
            audioBitrateAdjMethod: '0'
            deleteMetadata: 'false'
            isCheckAudioBitrate: 'false'
            isCheckReso: 'false'
            isCheckVideoBitrate: 'false'
            isHdr2Sdr: 'false'
            resoAdjMethod: '1'
            videoBitrateAdjMethod: '0'
          video:
            bitrate: '50000'
            codec: xavc
            fps: 30000/1001
            height: '1080'
            interlaced: 'true'
            profile: XAVC-HD_422_10bit
            width: '1920'
    

    Create CiMediaTranscodeProTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CiMediaTranscodeProTemplate(name: string, args: CiMediaTranscodeProTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def CiMediaTranscodeProTemplate(resource_name: str,
                                    args: CiMediaTranscodeProTemplateArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def CiMediaTranscodeProTemplate(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    bucket: Optional[str] = None,
                                    container: Optional[CiMediaTranscodeProTemplateContainerArgs] = None,
                                    audio: Optional[CiMediaTranscodeProTemplateAudioArgs] = None,
                                    ci_media_transcode_pro_template_id: Optional[str] = None,
                                    name: Optional[str] = None,
                                    time_interval: Optional[CiMediaTranscodeProTemplateTimeIntervalArgs] = None,
                                    trans_config: Optional[CiMediaTranscodeProTemplateTransConfigArgs] = None,
                                    video: Optional[CiMediaTranscodeProTemplateVideoArgs] = None)
    func NewCiMediaTranscodeProTemplate(ctx *Context, name string, args CiMediaTranscodeProTemplateArgs, opts ...ResourceOption) (*CiMediaTranscodeProTemplate, error)
    public CiMediaTranscodeProTemplate(string name, CiMediaTranscodeProTemplateArgs args, CustomResourceOptions? opts = null)
    public CiMediaTranscodeProTemplate(String name, CiMediaTranscodeProTemplateArgs args)
    public CiMediaTranscodeProTemplate(String name, CiMediaTranscodeProTemplateArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CiMediaTranscodeProTemplate
    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 CiMediaTranscodeProTemplateArgs
    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 CiMediaTranscodeProTemplateArgs
    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 CiMediaTranscodeProTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CiMediaTranscodeProTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CiMediaTranscodeProTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    CiMediaTranscodeProTemplate 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 CiMediaTranscodeProTemplate resource accepts the following input properties:

    Bucket string
    bucket name.
    Container CiMediaTranscodeProTemplateContainer
    container format.
    Audio CiMediaTranscodeProTemplateAudio
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    CiMediaTranscodeProTemplateId string
    ID of the resource.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    TimeInterval CiMediaTranscodeProTemplateTimeInterval
    time interval.
    TransConfig CiMediaTranscodeProTemplateTransConfig
    transcoding configuration.
    Video CiMediaTranscodeProTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    Bucket string
    bucket name.
    Container CiMediaTranscodeProTemplateContainerArgs
    container format.
    Audio CiMediaTranscodeProTemplateAudioArgs
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    CiMediaTranscodeProTemplateId string
    ID of the resource.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    TimeInterval CiMediaTranscodeProTemplateTimeIntervalArgs
    time interval.
    TransConfig CiMediaTranscodeProTemplateTransConfigArgs
    transcoding configuration.
    Video CiMediaTranscodeProTemplateVideoArgs
    video information, do not upload Video, which is equivalent to deleting video information.
    bucket String
    bucket name.
    container CiMediaTranscodeProTemplateContainer
    container format.
    audio CiMediaTranscodeProTemplateAudio
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    ciMediaTranscodeProTemplateId String
    ID of the resource.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    timeInterval CiMediaTranscodeProTemplateTimeInterval
    time interval.
    transConfig CiMediaTranscodeProTemplateTransConfig
    transcoding configuration.
    video CiMediaTranscodeProTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    bucket string
    bucket name.
    container CiMediaTranscodeProTemplateContainer
    container format.
    audio CiMediaTranscodeProTemplateAudio
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    ciMediaTranscodeProTemplateId string
    ID of the resource.
    name string
    The template name only supports Chinese, English, numbers, _, - and *.
    timeInterval CiMediaTranscodeProTemplateTimeInterval
    time interval.
    transConfig CiMediaTranscodeProTemplateTransConfig
    transcoding configuration.
    video CiMediaTranscodeProTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    bucket str
    bucket name.
    container CiMediaTranscodeProTemplateContainerArgs
    container format.
    audio CiMediaTranscodeProTemplateAudioArgs
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    ci_media_transcode_pro_template_id str
    ID of the resource.
    name str
    The template name only supports Chinese, English, numbers, _, - and *.
    time_interval CiMediaTranscodeProTemplateTimeIntervalArgs
    time interval.
    trans_config CiMediaTranscodeProTemplateTransConfigArgs
    transcoding configuration.
    video CiMediaTranscodeProTemplateVideoArgs
    video information, do not upload Video, which is equivalent to deleting video information.
    bucket String
    bucket name.
    container Property Map
    container format.
    audio Property Map
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    ciMediaTranscodeProTemplateId String
    ID of the resource.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    timeInterval Property Map
    time interval.
    transConfig Property Map
    transcoding configuration.
    video Property Map
    video information, do not upload Video, which is equivalent to deleting video information.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CiMediaTranscodeProTemplate 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 CiMediaTranscodeProTemplate Resource

    Get an existing CiMediaTranscodeProTemplate 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?: CiMediaTranscodeProTemplateState, opts?: CustomResourceOptions): CiMediaTranscodeProTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            audio: Optional[CiMediaTranscodeProTemplateAudioArgs] = None,
            bucket: Optional[str] = None,
            ci_media_transcode_pro_template_id: Optional[str] = None,
            container: Optional[CiMediaTranscodeProTemplateContainerArgs] = None,
            name: Optional[str] = None,
            time_interval: Optional[CiMediaTranscodeProTemplateTimeIntervalArgs] = None,
            trans_config: Optional[CiMediaTranscodeProTemplateTransConfigArgs] = None,
            video: Optional[CiMediaTranscodeProTemplateVideoArgs] = None) -> CiMediaTranscodeProTemplate
    func GetCiMediaTranscodeProTemplate(ctx *Context, name string, id IDInput, state *CiMediaTranscodeProTemplateState, opts ...ResourceOption) (*CiMediaTranscodeProTemplate, error)
    public static CiMediaTranscodeProTemplate Get(string name, Input<string> id, CiMediaTranscodeProTemplateState? state, CustomResourceOptions? opts = null)
    public static CiMediaTranscodeProTemplate get(String name, Output<String> id, CiMediaTranscodeProTemplateState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CiMediaTranscodeProTemplate    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:
    Audio CiMediaTranscodeProTemplateAudio
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    Bucket string
    bucket name.
    CiMediaTranscodeProTemplateId string
    ID of the resource.
    Container CiMediaTranscodeProTemplateContainer
    container format.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    TimeInterval CiMediaTranscodeProTemplateTimeInterval
    time interval.
    TransConfig CiMediaTranscodeProTemplateTransConfig
    transcoding configuration.
    Video CiMediaTranscodeProTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    Audio CiMediaTranscodeProTemplateAudioArgs
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    Bucket string
    bucket name.
    CiMediaTranscodeProTemplateId string
    ID of the resource.
    Container CiMediaTranscodeProTemplateContainerArgs
    container format.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    TimeInterval CiMediaTranscodeProTemplateTimeIntervalArgs
    time interval.
    TransConfig CiMediaTranscodeProTemplateTransConfigArgs
    transcoding configuration.
    Video CiMediaTranscodeProTemplateVideoArgs
    video information, do not upload Video, which is equivalent to deleting video information.
    audio CiMediaTranscodeProTemplateAudio
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    bucket String
    bucket name.
    ciMediaTranscodeProTemplateId String
    ID of the resource.
    container CiMediaTranscodeProTemplateContainer
    container format.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    timeInterval CiMediaTranscodeProTemplateTimeInterval
    time interval.
    transConfig CiMediaTranscodeProTemplateTransConfig
    transcoding configuration.
    video CiMediaTranscodeProTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    audio CiMediaTranscodeProTemplateAudio
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    bucket string
    bucket name.
    ciMediaTranscodeProTemplateId string
    ID of the resource.
    container CiMediaTranscodeProTemplateContainer
    container format.
    name string
    The template name only supports Chinese, English, numbers, _, - and *.
    timeInterval CiMediaTranscodeProTemplateTimeInterval
    time interval.
    transConfig CiMediaTranscodeProTemplateTransConfig
    transcoding configuration.
    video CiMediaTranscodeProTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    audio CiMediaTranscodeProTemplateAudioArgs
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    bucket str
    bucket name.
    ci_media_transcode_pro_template_id str
    ID of the resource.
    container CiMediaTranscodeProTemplateContainerArgs
    container format.
    name str
    The template name only supports Chinese, English, numbers, _, - and *.
    time_interval CiMediaTranscodeProTemplateTimeIntervalArgs
    time interval.
    trans_config CiMediaTranscodeProTemplateTransConfigArgs
    transcoding configuration.
    video CiMediaTranscodeProTemplateVideoArgs
    video information, do not upload Video, which is equivalent to deleting video information.
    audio Property Map
    Audio information, do not transmit Audio, which is equivalent to deleting audio information.
    bucket String
    bucket name.
    ciMediaTranscodeProTemplateId String
    ID of the resource.
    container Property Map
    container format.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    timeInterval Property Map
    time interval.
    transConfig Property Map
    transcoding configuration.
    video Property Map
    video information, do not upload Video, which is equivalent to deleting video information.

    Supporting Types

    CiMediaTranscodeProTemplateAudio, CiMediaTranscodeProTemplateAudioArgs

    Codec string
    Codec format, value aac, mp3, flac, amr, Vorbis, opus, pcm_s16le.
    Remove string
    Whether to delete the source audio stream, the value is true, false.
    Codec string
    Codec format, value aac, mp3, flac, amr, Vorbis, opus, pcm_s16le.
    Remove string
    Whether to delete the source audio stream, the value is true, false.
    codec String
    Codec format, value aac, mp3, flac, amr, Vorbis, opus, pcm_s16le.
    remove String
    Whether to delete the source audio stream, the value is true, false.
    codec string
    Codec format, value aac, mp3, flac, amr, Vorbis, opus, pcm_s16le.
    remove string
    Whether to delete the source audio stream, the value is true, false.
    codec str
    Codec format, value aac, mp3, flac, amr, Vorbis, opus, pcm_s16le.
    remove str
    Whether to delete the source audio stream, the value is true, false.
    codec String
    Codec format, value aac, mp3, flac, amr, Vorbis, opus, pcm_s16le.
    remove String
    Whether to delete the source audio stream, the value is true, false.

    CiMediaTranscodeProTemplateContainer, CiMediaTranscodeProTemplateContainerArgs

    Format string
    Package format.
    ClipConfig CiMediaTranscodeProTemplateContainerClipConfig
    Fragment configuration, valid when format is hls and dash.
    Format string
    Package format.
    ClipConfig CiMediaTranscodeProTemplateContainerClipConfig
    Fragment configuration, valid when format is hls and dash.
    format String
    Package format.
    clipConfig CiMediaTranscodeProTemplateContainerClipConfig
    Fragment configuration, valid when format is hls and dash.
    format string
    Package format.
    clipConfig CiMediaTranscodeProTemplateContainerClipConfig
    Fragment configuration, valid when format is hls and dash.
    format str
    Package format.
    clip_config CiMediaTranscodeProTemplateContainerClipConfig
    Fragment configuration, valid when format is hls and dash.
    format String
    Package format.
    clipConfig Property Map
    Fragment configuration, valid when format is hls and dash.

    CiMediaTranscodeProTemplateContainerClipConfig, CiMediaTranscodeProTemplateContainerClipConfigArgs

    Duration string
    Fragmentation duration, default 5s.
    Duration string
    Fragmentation duration, default 5s.
    duration String
    Fragmentation duration, default 5s.
    duration string
    Fragmentation duration, default 5s.
    duration str
    Fragmentation duration, default 5s.
    duration String
    Fragmentation duration, default 5s.

    CiMediaTranscodeProTemplateTimeInterval, CiMediaTranscodeProTemplateTimeIntervalArgs

    Duration string
    duration, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    Start string
    Starting time, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    Duration string
    duration, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    Start string
    Starting time, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    duration String
    duration, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    start String
    Starting time, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    duration string
    duration, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    start string
    Starting time, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    duration str
    duration, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    start str
    Starting time, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    duration String
    duration, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    start String
    Starting time, [0 video duration], in seconds, Support float format, the execution accuracy is accurate to milliseconds.

    CiMediaTranscodeProTemplateTransConfig, CiMediaTranscodeProTemplateTransConfigArgs

    AdjDarMethod string
    Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
    AudioBitrateAdjMethod string
    Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
    DeleteMetadata string
    Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
    IsCheckAudioBitrate string
    Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
    IsCheckReso string
    Whether to check the resolution, when it is false, transcode according to the configuration parameters.
    IsCheckVideoBitrate string
    Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
    IsHdr2Sdr string
    Whether to enable HDR to SDR true, false.
    ResoAdjMethod string
    Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
    VideoBitrateAdjMethod string
    Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.
    AdjDarMethod string
    Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
    AudioBitrateAdjMethod string
    Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
    DeleteMetadata string
    Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
    IsCheckAudioBitrate string
    Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
    IsCheckReso string
    Whether to check the resolution, when it is false, transcode according to the configuration parameters.
    IsCheckVideoBitrate string
    Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
    IsHdr2Sdr string
    Whether to enable HDR to SDR true, false.
    ResoAdjMethod string
    Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
    VideoBitrateAdjMethod string
    Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.
    adjDarMethod String
    Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
    audioBitrateAdjMethod String
    Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
    deleteMetadata String
    Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
    isCheckAudioBitrate String
    Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
    isCheckReso String
    Whether to check the resolution, when it is false, transcode according to the configuration parameters.
    isCheckVideoBitrate String
    Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
    isHdr2Sdr String
    Whether to enable HDR to SDR true, false.
    resoAdjMethod String
    Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
    videoBitrateAdjMethod String
    Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.
    adjDarMethod string
    Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
    audioBitrateAdjMethod string
    Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
    deleteMetadata string
    Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
    isCheckAudioBitrate string
    Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
    isCheckReso string
    Whether to check the resolution, when it is false, transcode according to the configuration parameters.
    isCheckVideoBitrate string
    Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
    isHdr2Sdr string
    Whether to enable HDR to SDR true, false.
    resoAdjMethod string
    Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
    videoBitrateAdjMethod string
    Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.
    adj_dar_method str
    Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
    audio_bitrate_adj_method str
    Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
    delete_metadata str
    Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
    is_check_audio_bitrate str
    Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
    is_check_reso str
    Whether to check the resolution, when it is false, transcode according to the configuration parameters.
    is_check_video_bitrate str
    Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
    is_hdr2_sdr str
    Whether to enable HDR to SDR true, false.
    reso_adj_method str
    Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
    video_bitrate_adj_method str
    Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.
    adjDarMethod String
    Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
    audioBitrateAdjMethod String
    Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
    deleteMetadata String
    Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
    isCheckAudioBitrate String
    Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
    isCheckReso String
    Whether to check the resolution, when it is false, transcode according to the configuration parameters.
    isCheckVideoBitrate String
    Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
    isHdr2Sdr String
    Whether to enable HDR to SDR true, false.
    resoAdjMethod String
    Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
    videoBitrateAdjMethod String
    Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.

    CiMediaTranscodeProTemplateVideo, CiMediaTranscodeProTemplateVideoArgs

    Bitrate string
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    Codec string
    Codec format, default value: H.264, when format is WebM, it is VP8, value range: H.264, H.265, VP8, VP9, AV1.
    Fps string
    Frame rate, value range: (0, 60], Unit: fps.
    Height string
    High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
    Interlaced string
    field pattern.
    Profile string
    encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
    Rotate string
    Rotation angle, Value range: [0, 360), Unit: degree.
    Width string
    width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
    Bitrate string
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    Codec string
    Codec format, default value: H.264, when format is WebM, it is VP8, value range: H.264, H.265, VP8, VP9, AV1.
    Fps string
    Frame rate, value range: (0, 60], Unit: fps.
    Height string
    High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
    Interlaced string
    field pattern.
    Profile string
    encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
    Rotate string
    Rotation angle, Value range: [0, 360), Unit: degree.
    Width string
    width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
    bitrate String
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    codec String
    Codec format, default value: H.264, when format is WebM, it is VP8, value range: H.264, H.265, VP8, VP9, AV1.
    fps String
    Frame rate, value range: (0, 60], Unit: fps.
    height String
    High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
    interlaced String
    field pattern.
    profile String
    encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
    rotate String
    Rotation angle, Value range: [0, 360), Unit: degree.
    width String
    width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
    bitrate string
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    codec string
    Codec format, default value: H.264, when format is WebM, it is VP8, value range: H.264, H.265, VP8, VP9, AV1.
    fps string
    Frame rate, value range: (0, 60], Unit: fps.
    height string
    High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
    interlaced string
    field pattern.
    profile string
    encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
    rotate string
    Rotation angle, Value range: [0, 360), Unit: degree.
    width string
    width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
    bitrate str
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    codec str
    Codec format, default value: H.264, when format is WebM, it is VP8, value range: H.264, H.265, VP8, VP9, AV1.
    fps str
    Frame rate, value range: (0, 60], Unit: fps.
    height str
    High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
    interlaced str
    field pattern.
    profile str
    encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
    rotate str
    Rotation angle, Value range: [0, 360), Unit: degree.
    width str
    width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
    bitrate String
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    codec String
    Codec format, default value: H.264, when format is WebM, it is VP8, value range: H.264, H.265, VP8, VP9, AV1.
    fps String
    Frame rate, value range: (0, 60], Unit: fps.
    height String
    High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
    interlaced String
    field pattern.
    profile String
    encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
    rotate String
    Rotation angle, Value range: [0, 360), Unit: degree.
    width String
    width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.

    Import

    ci media_transcode_pro_template can be imported using the bucket#templateId, e.g.

    $ pulumi import tencentcloud:index/ciMediaTranscodeProTemplate:CiMediaTranscodeProTemplate media_transcode_pro_template terraform-ci-xxxxxx#t13ed9af009da0414e9c7c63456ec8f4d2
    

    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