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

tencentcloud.CiMediaConcatTemplate

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_concat_template

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const mediaConcatTemplate = new tencentcloud.CiMediaConcatTemplate("mediaConcatTemplate", {
        bucket: "terraform-ci-xxxxxx",
        concatTemplate: {
            audio: {
                bitrate: "",
                channels: "",
                codec: "mp3",
                samplerate: "",
            },
            audioMixes: [{
                audioSource: "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3",
                effectConfig: {
                    bgmFadeTime: "1.7",
                    enableBgmFade: "true",
                    enableEndFadeout: "false",
                    enableStartFadein: "true",
                    endFadeoutTime: "0.1",
                    startFadeinTime: "3",
                },
                mixMode: "Once",
                replace: "true",
            }],
            concatFragments: [
                {
                    mode: "Start",
                    url: "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4",
                },
                {
                    mode: "End",
                    url: "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4",
                },
            ],
            container: {
                format: "mp4",
            },
            video: {
                bitrate: "1000",
                codec: "H.264",
                crf: "",
                fps: "25",
                height: "",
                remove: "",
                rotate: "",
                width: "1280",
            },
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    media_concat_template = tencentcloud.CiMediaConcatTemplate("mediaConcatTemplate",
        bucket="terraform-ci-xxxxxx",
        concat_template={
            "audio": {
                "bitrate": "",
                "channels": "",
                "codec": "mp3",
                "samplerate": "",
            },
            "audio_mixes": [{
                "audio_source": "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3",
                "effect_config": {
                    "bgm_fade_time": "1.7",
                    "enable_bgm_fade": "true",
                    "enable_end_fadeout": "false",
                    "enable_start_fadein": "true",
                    "end_fadeout_time": "0.1",
                    "start_fadein_time": "3",
                },
                "mix_mode": "Once",
                "replace": "true",
            }],
            "concat_fragments": [
                {
                    "mode": "Start",
                    "url": "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4",
                },
                {
                    "mode": "End",
                    "url": "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4",
                },
            ],
            "container": {
                "format": "mp4",
            },
            "video": {
                "bitrate": "1000",
                "codec": "H.264",
                "crf": "",
                "fps": "25",
                "height": "",
                "remove": "",
                "rotate": "",
                "width": "1280",
            },
        })
    
    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.NewCiMediaConcatTemplate(ctx, "mediaConcatTemplate", &tencentcloud.CiMediaConcatTemplateArgs{
    			Bucket: pulumi.String("terraform-ci-xxxxxx"),
    			ConcatTemplate: &tencentcloud.CiMediaConcatTemplateConcatTemplateArgs{
    				Audio: &tencentcloud.CiMediaConcatTemplateConcatTemplateAudioArgs{
    					Bitrate:    pulumi.String(""),
    					Channels:   pulumi.String(""),
    					Codec:      pulumi.String("mp3"),
    					Samplerate: pulumi.String(""),
    				},
    				AudioMixes: tencentcloud.CiMediaConcatTemplateConcatTemplateAudioMixArray{
    					&tencentcloud.CiMediaConcatTemplateConcatTemplateAudioMixArgs{
    						AudioSource: pulumi.String("https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3"),
    						EffectConfig: &tencentcloud.CiMediaConcatTemplateConcatTemplateAudioMixEffectConfigArgs{
    							BgmFadeTime:       pulumi.String("1.7"),
    							EnableBgmFade:     pulumi.String("true"),
    							EnableEndFadeout:  pulumi.String("false"),
    							EnableStartFadein: pulumi.String("true"),
    							EndFadeoutTime:    pulumi.String("0.1"),
    							StartFadeinTime:   pulumi.String("3"),
    						},
    						MixMode: pulumi.String("Once"),
    						Replace: pulumi.String("true"),
    					},
    				},
    				ConcatFragments: tencentcloud.CiMediaConcatTemplateConcatTemplateConcatFragmentArray{
    					&tencentcloud.CiMediaConcatTemplateConcatTemplateConcatFragmentArgs{
    						Mode: pulumi.String("Start"),
    						Url:  pulumi.String("https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4"),
    					},
    					&tencentcloud.CiMediaConcatTemplateConcatTemplateConcatFragmentArgs{
    						Mode: pulumi.String("End"),
    						Url:  pulumi.String("https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4"),
    					},
    				},
    				Container: &tencentcloud.CiMediaConcatTemplateConcatTemplateContainerArgs{
    					Format: pulumi.String("mp4"),
    				},
    				Video: &tencentcloud.CiMediaConcatTemplateConcatTemplateVideoArgs{
    					Bitrate: pulumi.String("1000"),
    					Codec:   pulumi.String("H.264"),
    					Crf:     pulumi.String(""),
    					Fps:     pulumi.String("25"),
    					Height:  pulumi.String(""),
    					Remove:  pulumi.String(""),
    					Rotate:  pulumi.String(""),
    					Width:   pulumi.String("1280"),
    				},
    			},
    		})
    		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 mediaConcatTemplate = new Tencentcloud.CiMediaConcatTemplate("mediaConcatTemplate", new()
        {
            Bucket = "terraform-ci-xxxxxx",
            ConcatTemplate = new Tencentcloud.Inputs.CiMediaConcatTemplateConcatTemplateArgs
            {
                Audio = new Tencentcloud.Inputs.CiMediaConcatTemplateConcatTemplateAudioArgs
                {
                    Bitrate = "",
                    Channels = "",
                    Codec = "mp3",
                    Samplerate = "",
                },
                AudioMixes = new[]
                {
                    new Tencentcloud.Inputs.CiMediaConcatTemplateConcatTemplateAudioMixArgs
                    {
                        AudioSource = "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3",
                        EffectConfig = new Tencentcloud.Inputs.CiMediaConcatTemplateConcatTemplateAudioMixEffectConfigArgs
                        {
                            BgmFadeTime = "1.7",
                            EnableBgmFade = "true",
                            EnableEndFadeout = "false",
                            EnableStartFadein = "true",
                            EndFadeoutTime = "0.1",
                            StartFadeinTime = "3",
                        },
                        MixMode = "Once",
                        Replace = "true",
                    },
                },
                ConcatFragments = new[]
                {
                    new Tencentcloud.Inputs.CiMediaConcatTemplateConcatTemplateConcatFragmentArgs
                    {
                        Mode = "Start",
                        Url = "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4",
                    },
                    new Tencentcloud.Inputs.CiMediaConcatTemplateConcatTemplateConcatFragmentArgs
                    {
                        Mode = "End",
                        Url = "https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4",
                    },
                },
                Container = new Tencentcloud.Inputs.CiMediaConcatTemplateConcatTemplateContainerArgs
                {
                    Format = "mp4",
                },
                Video = new Tencentcloud.Inputs.CiMediaConcatTemplateConcatTemplateVideoArgs
                {
                    Bitrate = "1000",
                    Codec = "H.264",
                    Crf = "",
                    Fps = "25",
                    Height = "",
                    Remove = "",
                    Rotate = "",
                    Width = "1280",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CiMediaConcatTemplate;
    import com.pulumi.tencentcloud.CiMediaConcatTemplateArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaConcatTemplateConcatTemplateArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaConcatTemplateConcatTemplateAudioArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaConcatTemplateConcatTemplateContainerArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaConcatTemplateConcatTemplateVideoArgs;
    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 mediaConcatTemplate = new CiMediaConcatTemplate("mediaConcatTemplate", CiMediaConcatTemplateArgs.builder()
                .bucket("terraform-ci-xxxxxx")
                .concatTemplate(CiMediaConcatTemplateConcatTemplateArgs.builder()
                    .audio(CiMediaConcatTemplateConcatTemplateAudioArgs.builder()
                        .bitrate("")
                        .channels("")
                        .codec("mp3")
                        .samplerate("")
                        .build())
                    .audioMixes(CiMediaConcatTemplateConcatTemplateAudioMixArgs.builder()
                        .audioSource("https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3")
                        .effectConfig(CiMediaConcatTemplateConcatTemplateAudioMixEffectConfigArgs.builder()
                            .bgmFadeTime("1.7")
                            .enableBgmFade("true")
                            .enableEndFadeout("false")
                            .enableStartFadein("true")
                            .endFadeoutTime("0.1")
                            .startFadeinTime("3")
                            .build())
                        .mixMode("Once")
                        .replace("true")
                        .build())
                    .concatFragments(                
                        CiMediaConcatTemplateConcatTemplateConcatFragmentArgs.builder()
                            .mode("Start")
                            .url("https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4")
                            .build(),
                        CiMediaConcatTemplateConcatTemplateConcatFragmentArgs.builder()
                            .mode("End")
                            .url("https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4")
                            .build())
                    .container(CiMediaConcatTemplateConcatTemplateContainerArgs.builder()
                        .format("mp4")
                        .build())
                    .video(CiMediaConcatTemplateConcatTemplateVideoArgs.builder()
                        .bitrate("1000")
                        .codec("H.264")
                        .crf("")
                        .fps("25")
                        .height("")
                        .remove("")
                        .rotate("")
                        .width("1280")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      mediaConcatTemplate:
        type: tencentcloud:CiMediaConcatTemplate
        properties:
          bucket: terraform-ci-xxxxxx
          concatTemplate:
            audio:
              bitrate: ""
              channels: ""
              codec: mp3
              samplerate: ""
            audioMixes:
              - audioSource: https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3
                effectConfig:
                  bgmFadeTime: '1.7'
                  enableBgmFade: 'true'
                  enableEndFadeout: 'false'
                  enableStartFadein: 'true'
                  endFadeoutTime: '0.1'
                  startFadeinTime: '3'
                mixMode: Once
                replace: 'true'
            concatFragments:
              - mode: Start
                url: https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4
              - mode: End
                url: https://terraform-ci-xxxxxx.cos.ap-guangzhou.myqcloud.com/mp4%2Fmp4-test.mp4
            container:
              format: mp4
            video:
              bitrate: '1000'
              codec: H.264
              crf: ""
              fps: '25'
              height: ""
              remove: ""
              rotate: ""
              width: '1280'
    

    Create CiMediaConcatTemplate Resource

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

    Constructor syntax

    new CiMediaConcatTemplate(name: string, args: CiMediaConcatTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def CiMediaConcatTemplate(resource_name: str,
                              args: CiMediaConcatTemplateArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def CiMediaConcatTemplate(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              bucket: Optional[str] = None,
                              concat_template: Optional[CiMediaConcatTemplateConcatTemplateArgs] = None,
                              ci_media_concat_template_id: Optional[str] = None,
                              name: Optional[str] = None)
    func NewCiMediaConcatTemplate(ctx *Context, name string, args CiMediaConcatTemplateArgs, opts ...ResourceOption) (*CiMediaConcatTemplate, error)
    public CiMediaConcatTemplate(string name, CiMediaConcatTemplateArgs args, CustomResourceOptions? opts = null)
    public CiMediaConcatTemplate(String name, CiMediaConcatTemplateArgs args)
    public CiMediaConcatTemplate(String name, CiMediaConcatTemplateArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CiMediaConcatTemplate
    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 CiMediaConcatTemplateArgs
    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 CiMediaConcatTemplateArgs
    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 CiMediaConcatTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CiMediaConcatTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CiMediaConcatTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Bucket string
    bucket name.
    ConcatTemplate CiMediaConcatTemplateConcatTemplate
    stitching template.
    CiMediaConcatTemplateId string
    ID of the resource.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    Bucket string
    bucket name.
    ConcatTemplate CiMediaConcatTemplateConcatTemplateArgs
    stitching template.
    CiMediaConcatTemplateId string
    ID of the resource.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket String
    bucket name.
    concatTemplate CiMediaConcatTemplateConcatTemplate
    stitching template.
    ciMediaConcatTemplateId String
    ID of the resource.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket string
    bucket name.
    concatTemplate CiMediaConcatTemplateConcatTemplate
    stitching template.
    ciMediaConcatTemplateId string
    ID of the resource.
    name string
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket str
    bucket name.
    concat_template CiMediaConcatTemplateConcatTemplateArgs
    stitching template.
    ci_media_concat_template_id str
    ID of the resource.
    name str
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket String
    bucket name.
    concatTemplate Property Map
    stitching template.
    ciMediaConcatTemplateId String
    ID of the resource.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.

    Outputs

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

    Get an existing CiMediaConcatTemplate 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?: CiMediaConcatTemplateState, opts?: CustomResourceOptions): CiMediaConcatTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bucket: Optional[str] = None,
            ci_media_concat_template_id: Optional[str] = None,
            concat_template: Optional[CiMediaConcatTemplateConcatTemplateArgs] = None,
            name: Optional[str] = None) -> CiMediaConcatTemplate
    func GetCiMediaConcatTemplate(ctx *Context, name string, id IDInput, state *CiMediaConcatTemplateState, opts ...ResourceOption) (*CiMediaConcatTemplate, error)
    public static CiMediaConcatTemplate Get(string name, Input<string> id, CiMediaConcatTemplateState? state, CustomResourceOptions? opts = null)
    public static CiMediaConcatTemplate get(String name, Output<String> id, CiMediaConcatTemplateState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CiMediaConcatTemplate    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:
    Bucket string
    bucket name.
    CiMediaConcatTemplateId string
    ID of the resource.
    ConcatTemplate CiMediaConcatTemplateConcatTemplate
    stitching template.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    Bucket string
    bucket name.
    CiMediaConcatTemplateId string
    ID of the resource.
    ConcatTemplate CiMediaConcatTemplateConcatTemplateArgs
    stitching template.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket String
    bucket name.
    ciMediaConcatTemplateId String
    ID of the resource.
    concatTemplate CiMediaConcatTemplateConcatTemplate
    stitching template.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket string
    bucket name.
    ciMediaConcatTemplateId string
    ID of the resource.
    concatTemplate CiMediaConcatTemplateConcatTemplate
    stitching template.
    name string
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket str
    bucket name.
    ci_media_concat_template_id str
    ID of the resource.
    concat_template CiMediaConcatTemplateConcatTemplateArgs
    stitching template.
    name str
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket String
    bucket name.
    ciMediaConcatTemplateId String
    ID of the resource.
    concatTemplate Property Map
    stitching template.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.

    Supporting Types

    CiMediaConcatTemplateConcatTemplate, CiMediaConcatTemplateConcatTemplateArgs

    ConcatFragments List<CiMediaConcatTemplateConcatTemplateConcatFragment>
    Package format.
    Container CiMediaConcatTemplateConcatTemplateContainer
    Only splicing without transcoding.
    Audio CiMediaConcatTemplateConcatTemplateAudio
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    AudioMixes List<CiMediaConcatTemplateConcatTemplateAudioMix>
    mixing parameters.
    Video CiMediaConcatTemplateConcatTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    ConcatFragments []CiMediaConcatTemplateConcatTemplateConcatFragment
    Package format.
    Container CiMediaConcatTemplateConcatTemplateContainer
    Only splicing without transcoding.
    Audio CiMediaConcatTemplateConcatTemplateAudio
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    AudioMixes []CiMediaConcatTemplateConcatTemplateAudioMix
    mixing parameters.
    Video CiMediaConcatTemplateConcatTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    concatFragments List<CiMediaConcatTemplateConcatTemplateConcatFragment>
    Package format.
    container CiMediaConcatTemplateConcatTemplateContainer
    Only splicing without transcoding.
    audio CiMediaConcatTemplateConcatTemplateAudio
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    audioMixes List<CiMediaConcatTemplateConcatTemplateAudioMix>
    mixing parameters.
    video CiMediaConcatTemplateConcatTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    concatFragments CiMediaConcatTemplateConcatTemplateConcatFragment[]
    Package format.
    container CiMediaConcatTemplateConcatTemplateContainer
    Only splicing without transcoding.
    audio CiMediaConcatTemplateConcatTemplateAudio
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    audioMixes CiMediaConcatTemplateConcatTemplateAudioMix[]
    mixing parameters.
    video CiMediaConcatTemplateConcatTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    concat_fragments Sequence[CiMediaConcatTemplateConcatTemplateConcatFragment]
    Package format.
    container CiMediaConcatTemplateConcatTemplateContainer
    Only splicing without transcoding.
    audio CiMediaConcatTemplateConcatTemplateAudio
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    audio_mixes Sequence[CiMediaConcatTemplateConcatTemplateAudioMix]
    mixing parameters.
    video CiMediaConcatTemplateConcatTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    concatFragments List<Property Map>
    Package format.
    container Property Map
    Only splicing without transcoding.
    audio Property Map
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    audioMixes List<Property Map>
    mixing parameters.
    video Property Map
    video information, do not upload Video, which is equivalent to deleting video information.

    CiMediaConcatTemplateConcatTemplateAudio, CiMediaConcatTemplateConcatTemplateAudioArgs

    Codec string
    Codec format, value aac, mp3.
    Bitrate string
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    Channels string
    number of channels- When Codec is set to aac, support 1, 2, 4, 5, 6, 8- When Codec is set to mp3, support 1, 2.
    Samplerate string
    Sampling Rate- Unit: Hz- Optional 11025, 22050, 32000, 44100, 48000, 96000- Different packages, mp3 supports different sampling rates, as shown in the table below.
    Codec string
    Codec format, value aac, mp3.
    Bitrate string
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    Channels string
    number of channels- When Codec is set to aac, support 1, 2, 4, 5, 6, 8- When Codec is set to mp3, support 1, 2.
    Samplerate string
    Sampling Rate- Unit: Hz- Optional 11025, 22050, 32000, 44100, 48000, 96000- Different packages, mp3 supports different sampling rates, as shown in the table below.
    codec String
    Codec format, value aac, mp3.
    bitrate String
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    channels String
    number of channels- When Codec is set to aac, support 1, 2, 4, 5, 6, 8- When Codec is set to mp3, support 1, 2.
    samplerate String
    Sampling Rate- Unit: Hz- Optional 11025, 22050, 32000, 44100, 48000, 96000- Different packages, mp3 supports different sampling rates, as shown in the table below.
    codec string
    Codec format, value aac, mp3.
    bitrate string
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    channels string
    number of channels- When Codec is set to aac, support 1, 2, 4, 5, 6, 8- When Codec is set to mp3, support 1, 2.
    samplerate string
    Sampling Rate- Unit: Hz- Optional 11025, 22050, 32000, 44100, 48000, 96000- Different packages, mp3 supports different sampling rates, as shown in the table below.
    codec str
    Codec format, value aac, mp3.
    bitrate str
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    channels str
    number of channels- When Codec is set to aac, support 1, 2, 4, 5, 6, 8- When Codec is set to mp3, support 1, 2.
    samplerate str
    Sampling Rate- Unit: Hz- Optional 11025, 22050, 32000, 44100, 48000, 96000- Different packages, mp3 supports different sampling rates, as shown in the table below.
    codec String
    Codec format, value aac, mp3.
    bitrate String
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    channels String
    number of channels- When Codec is set to aac, support 1, 2, 4, 5, 6, 8- When Codec is set to mp3, support 1, 2.
    samplerate String
    Sampling Rate- Unit: Hz- Optional 11025, 22050, 32000, 44100, 48000, 96000- Different packages, mp3 supports different sampling rates, as shown in the table below.

    CiMediaConcatTemplateConcatTemplateAudioMix, CiMediaConcatTemplateConcatTemplateAudioMixArgs

    AudioSource string
    The media address of the audio track that needs to be mixed.
    EffectConfig CiMediaConcatTemplateConcatTemplateAudioMixEffectConfig
    Mix Fade Configuration.
    MixMode string
    Mixing mode Repeat: background sound loop, Once: The background sound is played once.
    Replace string
    Whether to replace the original audio of the Input media file with the mixed audio track media.
    AudioSource string
    The media address of the audio track that needs to be mixed.
    EffectConfig CiMediaConcatTemplateConcatTemplateAudioMixEffectConfig
    Mix Fade Configuration.
    MixMode string
    Mixing mode Repeat: background sound loop, Once: The background sound is played once.
    Replace string
    Whether to replace the original audio of the Input media file with the mixed audio track media.
    audioSource String
    The media address of the audio track that needs to be mixed.
    effectConfig CiMediaConcatTemplateConcatTemplateAudioMixEffectConfig
    Mix Fade Configuration.
    mixMode String
    Mixing mode Repeat: background sound loop, Once: The background sound is played once.
    replace String
    Whether to replace the original audio of the Input media file with the mixed audio track media.
    audioSource string
    The media address of the audio track that needs to be mixed.
    effectConfig CiMediaConcatTemplateConcatTemplateAudioMixEffectConfig
    Mix Fade Configuration.
    mixMode string
    Mixing mode Repeat: background sound loop, Once: The background sound is played once.
    replace string
    Whether to replace the original audio of the Input media file with the mixed audio track media.
    audio_source str
    The media address of the audio track that needs to be mixed.
    effect_config CiMediaConcatTemplateConcatTemplateAudioMixEffectConfig
    Mix Fade Configuration.
    mix_mode str
    Mixing mode Repeat: background sound loop, Once: The background sound is played once.
    replace str
    Whether to replace the original audio of the Input media file with the mixed audio track media.
    audioSource String
    The media address of the audio track that needs to be mixed.
    effectConfig Property Map
    Mix Fade Configuration.
    mixMode String
    Mixing mode Repeat: background sound loop, Once: The background sound is played once.
    replace String
    Whether to replace the original audio of the Input media file with the mixed audio track media.

    CiMediaConcatTemplateConcatTemplateAudioMixEffectConfig, CiMediaConcatTemplateConcatTemplateAudioMixEffectConfigArgs

    BgmFadeTime string
    bgm transition fade-in duration, support floating point numbers.
    EnableBgmFade string
    Enable bgm conversion fade in.
    EnableEndFadeout string
    enable fade out.
    EnableStartFadein string
    enable fade in.
    EndFadeoutTime string
    fade out time, greater than 0, support floating point numbers.
    StartFadeinTime string
    Fade in duration, greater than 0, support floating point numbers.
    BgmFadeTime string
    bgm transition fade-in duration, support floating point numbers.
    EnableBgmFade string
    Enable bgm conversion fade in.
    EnableEndFadeout string
    enable fade out.
    EnableStartFadein string
    enable fade in.
    EndFadeoutTime string
    fade out time, greater than 0, support floating point numbers.
    StartFadeinTime string
    Fade in duration, greater than 0, support floating point numbers.
    bgmFadeTime String
    bgm transition fade-in duration, support floating point numbers.
    enableBgmFade String
    Enable bgm conversion fade in.
    enableEndFadeout String
    enable fade out.
    enableStartFadein String
    enable fade in.
    endFadeoutTime String
    fade out time, greater than 0, support floating point numbers.
    startFadeinTime String
    Fade in duration, greater than 0, support floating point numbers.
    bgmFadeTime string
    bgm transition fade-in duration, support floating point numbers.
    enableBgmFade string
    Enable bgm conversion fade in.
    enableEndFadeout string
    enable fade out.
    enableStartFadein string
    enable fade in.
    endFadeoutTime string
    fade out time, greater than 0, support floating point numbers.
    startFadeinTime string
    Fade in duration, greater than 0, support floating point numbers.
    bgm_fade_time str
    bgm transition fade-in duration, support floating point numbers.
    enable_bgm_fade str
    Enable bgm conversion fade in.
    enable_end_fadeout str
    enable fade out.
    enable_start_fadein str
    enable fade in.
    end_fadeout_time str
    fade out time, greater than 0, support floating point numbers.
    start_fadein_time str
    Fade in duration, greater than 0, support floating point numbers.
    bgmFadeTime String
    bgm transition fade-in duration, support floating point numbers.
    enableBgmFade String
    Enable bgm conversion fade in.
    enableEndFadeout String
    enable fade out.
    enableStartFadein String
    enable fade in.
    endFadeoutTime String
    fade out time, greater than 0, support floating point numbers.
    startFadeinTime String
    Fade in duration, greater than 0, support floating point numbers.

    CiMediaConcatTemplateConcatTemplateConcatFragment, CiMediaConcatTemplateConcatTemplateConcatFragmentArgs

    Mode string
    node type, start, end.
    Url string
    Splicing object address.
    Mode string
    node type, start, end.
    Url string
    Splicing object address.
    mode String
    node type, start, end.
    url String
    Splicing object address.
    mode string
    node type, start, end.
    url string
    Splicing object address.
    mode str
    node type, start, end.
    url str
    Splicing object address.
    mode String
    node type, start, end.
    url String
    Splicing object address.

    CiMediaConcatTemplateConcatTemplateContainer, CiMediaConcatTemplateConcatTemplateContainerArgs

    Format string
    Container format: mp4, flv, hls, ts, mp3, aac.
    Format string
    Container format: mp4, flv, hls, ts, mp3, aac.
    format String
    Container format: mp4, flv, hls, ts, mp3, aac.
    format string
    Container format: mp4, flv, hls, ts, mp3, aac.
    format str
    Container format: mp4, flv, hls, ts, mp3, aac.
    format String
    Container format: mp4, flv, hls, ts, mp3, aac.

    CiMediaConcatTemplateConcatTemplateVideo, CiMediaConcatTemplateConcatTemplateVideoArgs

    Codec string
    Codec format H.264.
    Bitrate string
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    Crf string
    Bit rate-quality control factor, value range: (0, 51], If Crf is set, the setting of Bitrate will be invalid, When Bitrate is empty, the default is 25.
    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.
    Remove string
    Whether to delete the source audio stream, the value is true, false.
    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.
    Codec string
    Codec format H.264.
    Bitrate string
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    Crf string
    Bit rate-quality control factor, value range: (0, 51], If Crf is set, the setting of Bitrate will be invalid, When Bitrate is empty, the default is 25.
    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.
    Remove string
    Whether to delete the source audio stream, the value is true, false.
    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.
    codec String
    Codec format H.264.
    bitrate String
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    crf String
    Bit rate-quality control factor, value range: (0, 51], If Crf is set, the setting of Bitrate will be invalid, When Bitrate is empty, the default is 25.
    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.
    remove String
    Whether to delete the source audio stream, the value is true, false.
    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.
    codec string
    Codec format H.264.
    bitrate string
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    crf string
    Bit rate-quality control factor, value range: (0, 51], If Crf is set, the setting of Bitrate will be invalid, When Bitrate is empty, the default is 25.
    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.
    remove string
    Whether to delete the source audio stream, the value is true, false.
    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.
    codec str
    Codec format H.264.
    bitrate str
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    crf str
    Bit rate-quality control factor, value range: (0, 51], If Crf is set, the setting of Bitrate will be invalid, When Bitrate is empty, the default is 25.
    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.
    remove str
    Whether to delete the source audio stream, the value is true, false.
    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.
    codec String
    Codec format H.264.
    bitrate String
    Original audio bit rate, unit: Kbps, Value range: [8, 1000].
    crf String
    Bit rate-quality control factor, value range: (0, 51], If Crf is set, the setting of Bitrate will be invalid, When Bitrate is empty, the default is 25.
    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.
    remove String
    Whether to delete the source audio stream, the value is true, false.
    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_concat_template can be imported using the bucket#templateId, e.g.

    $ pulumi import tencentcloud:index/ciMediaConcatTemplate:CiMediaConcatTemplate media_concat_template id=terraform-ci-xxxxxx#t1cb115dfa1fcc414284f83b7c69bcedcf
    

    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