1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CiMediaVideoMontageTemplate
tencentcloud 1.81.188 published on Monday, Apr 28, 2025 by tencentcloudstack

tencentcloud.CiMediaVideoMontageTemplate

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.188 published on Monday, Apr 28, 2025 by tencentcloudstack

    Provides a resource to create a ci media_video_montage_template

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const mediaVideoMontageTemplate = new tencentcloud.CiMediaVideoMontageTemplate("mediaVideoMontageTemplate", {
        audio: {
            bitrate: "128",
            channels: "4",
            codec: "aac",
            remove: "false",
            samplerate: "44100",
        },
        audioMixes: [{
            audioSource: "https://terraform-ci-xxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3",
            mixMode: "Once",
            replace: "true",
        }],
        bucket: "terraform-ci-xxxxx",
        container: {
            format: "mp4",
        },
        duration: "10.5",
        video: {
            bitrate: "1000",
            codec: "H.264",
            crf: "",
            fps: "25",
            height: "",
            remove: "",
            width: "1280",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    media_video_montage_template = tencentcloud.CiMediaVideoMontageTemplate("mediaVideoMontageTemplate",
        audio={
            "bitrate": "128",
            "channels": "4",
            "codec": "aac",
            "remove": "false",
            "samplerate": "44100",
        },
        audio_mixes=[{
            "audio_source": "https://terraform-ci-xxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3",
            "mix_mode": "Once",
            "replace": "true",
        }],
        bucket="terraform-ci-xxxxx",
        container={
            "format": "mp4",
        },
        duration="10.5",
        video={
            "bitrate": "1000",
            "codec": "H.264",
            "crf": "",
            "fps": "25",
            "height": "",
            "remove": "",
            "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.NewCiMediaVideoMontageTemplate(ctx, "mediaVideoMontageTemplate", &tencentcloud.CiMediaVideoMontageTemplateArgs{
    			Audio: &tencentcloud.CiMediaVideoMontageTemplateAudioArgs{
    				Bitrate:    pulumi.String("128"),
    				Channels:   pulumi.String("4"),
    				Codec:      pulumi.String("aac"),
    				Remove:     pulumi.String("false"),
    				Samplerate: pulumi.String("44100"),
    			},
    			AudioMixes: tencentcloud.CiMediaVideoMontageTemplateAudioMixArray{
    				&tencentcloud.CiMediaVideoMontageTemplateAudioMixArgs{
    					AudioSource: pulumi.String("https://terraform-ci-xxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3"),
    					MixMode:     pulumi.String("Once"),
    					Replace:     pulumi.String("true"),
    				},
    			},
    			Bucket: pulumi.String("terraform-ci-xxxxx"),
    			Container: &tencentcloud.CiMediaVideoMontageTemplateContainerArgs{
    				Format: pulumi.String("mp4"),
    			},
    			Duration: pulumi.String("10.5"),
    			Video: &tencentcloud.CiMediaVideoMontageTemplateVideoArgs{
    				Bitrate: pulumi.String("1000"),
    				Codec:   pulumi.String("H.264"),
    				Crf:     pulumi.String(""),
    				Fps:     pulumi.String("25"),
    				Height:  pulumi.String(""),
    				Remove:  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 mediaVideoMontageTemplate = new Tencentcloud.CiMediaVideoMontageTemplate("mediaVideoMontageTemplate", new()
        {
            Audio = new Tencentcloud.Inputs.CiMediaVideoMontageTemplateAudioArgs
            {
                Bitrate = "128",
                Channels = "4",
                Codec = "aac",
                Remove = "false",
                Samplerate = "44100",
            },
            AudioMixes = new[]
            {
                new Tencentcloud.Inputs.CiMediaVideoMontageTemplateAudioMixArgs
                {
                    AudioSource = "https://terraform-ci-xxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3",
                    MixMode = "Once",
                    Replace = "true",
                },
            },
            Bucket = "terraform-ci-xxxxx",
            Container = new Tencentcloud.Inputs.CiMediaVideoMontageTemplateContainerArgs
            {
                Format = "mp4",
            },
            Duration = "10.5",
            Video = new Tencentcloud.Inputs.CiMediaVideoMontageTemplateVideoArgs
            {
                Bitrate = "1000",
                Codec = "H.264",
                Crf = "",
                Fps = "25",
                Height = "",
                Remove = "",
                Width = "1280",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CiMediaVideoMontageTemplate;
    import com.pulumi.tencentcloud.CiMediaVideoMontageTemplateArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaVideoMontageTemplateAudioArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaVideoMontageTemplateAudioMixArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaVideoMontageTemplateContainerArgs;
    import com.pulumi.tencentcloud.inputs.CiMediaVideoMontageTemplateVideoArgs;
    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 mediaVideoMontageTemplate = new CiMediaVideoMontageTemplate("mediaVideoMontageTemplate", CiMediaVideoMontageTemplateArgs.builder()
                .audio(CiMediaVideoMontageTemplateAudioArgs.builder()
                    .bitrate("128")
                    .channels("4")
                    .codec("aac")
                    .remove("false")
                    .samplerate("44100")
                    .build())
                .audioMixes(CiMediaVideoMontageTemplateAudioMixArgs.builder()
                    .audioSource("https://terraform-ci-xxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3")
                    .mixMode("Once")
                    .replace("true")
                    .build())
                .bucket("terraform-ci-xxxxx")
                .container(CiMediaVideoMontageTemplateContainerArgs.builder()
                    .format("mp4")
                    .build())
                .duration("10.5")
                .video(CiMediaVideoMontageTemplateVideoArgs.builder()
                    .bitrate("1000")
                    .codec("H.264")
                    .crf("")
                    .fps("25")
                    .height("")
                    .remove("")
                    .width("1280")
                    .build())
                .build());
    
        }
    }
    
    resources:
      mediaVideoMontageTemplate:
        type: tencentcloud:CiMediaVideoMontageTemplate
        properties:
          audio:
            bitrate: '128'
            channels: '4'
            codec: aac
            remove: 'false'
            samplerate: '44100'
          audioMixes:
            - audioSource: https://terraform-ci-xxxxx.cos.ap-guangzhou.myqcloud.com/mp3%2Fnizhan-test.mp3
              mixMode: Once
              replace: 'true'
          bucket: terraform-ci-xxxxx
          container:
            format: mp4
          duration: '10.5'
          video:
            bitrate: '1000'
            codec: H.264
            crf: ""
            fps: '25'
            height: ""
            remove: ""
            width: '1280'
    

    Create CiMediaVideoMontageTemplate Resource

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

    Constructor syntax

    new CiMediaVideoMontageTemplate(name: string, args: CiMediaVideoMontageTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def CiMediaVideoMontageTemplate(resource_name: str,
                                    args: CiMediaVideoMontageTemplateArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def CiMediaVideoMontageTemplate(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    bucket: Optional[str] = None,
                                    container: Optional[CiMediaVideoMontageTemplateContainerArgs] = None,
                                    audio: Optional[CiMediaVideoMontageTemplateAudioArgs] = None,
                                    audio_mixes: Optional[Sequence[CiMediaVideoMontageTemplateAudioMixArgs]] = None,
                                    ci_media_video_montage_template_id: Optional[str] = None,
                                    duration: Optional[str] = None,
                                    name: Optional[str] = None,
                                    video: Optional[CiMediaVideoMontageTemplateVideoArgs] = None)
    func NewCiMediaVideoMontageTemplate(ctx *Context, name string, args CiMediaVideoMontageTemplateArgs, opts ...ResourceOption) (*CiMediaVideoMontageTemplate, error)
    public CiMediaVideoMontageTemplate(string name, CiMediaVideoMontageTemplateArgs args, CustomResourceOptions? opts = null)
    public CiMediaVideoMontageTemplate(String name, CiMediaVideoMontageTemplateArgs args)
    public CiMediaVideoMontageTemplate(String name, CiMediaVideoMontageTemplateArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CiMediaVideoMontageTemplate
    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 CiMediaVideoMontageTemplateArgs
    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 CiMediaVideoMontageTemplateArgs
    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 CiMediaVideoMontageTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CiMediaVideoMontageTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CiMediaVideoMontageTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Bucket string
    bucket name.
    Container CiMediaVideoMontageTemplateContainer
    container format.
    Audio CiMediaVideoMontageTemplateAudio
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    AudioMixes List<CiMediaVideoMontageTemplateAudioMix>
    mixing parameters.
    CiMediaVideoMontageTemplateId string
    ID of the resource.
    Duration string
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    Video CiMediaVideoMontageTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    Bucket string
    bucket name.
    Container CiMediaVideoMontageTemplateContainerArgs
    container format.
    Audio CiMediaVideoMontageTemplateAudioArgs
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    AudioMixes []CiMediaVideoMontageTemplateAudioMixArgs
    mixing parameters.
    CiMediaVideoMontageTemplateId string
    ID of the resource.
    Duration string
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    Video CiMediaVideoMontageTemplateVideoArgs
    video information, do not upload Video, which is equivalent to deleting video information.
    bucket String
    bucket name.
    container CiMediaVideoMontageTemplateContainer
    container format.
    audio CiMediaVideoMontageTemplateAudio
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    audioMixes List<CiMediaVideoMontageTemplateAudioMix>
    mixing parameters.
    ciMediaVideoMontageTemplateId String
    ID of the resource.
    duration String
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    video CiMediaVideoMontageTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    bucket string
    bucket name.
    container CiMediaVideoMontageTemplateContainer
    container format.
    audio CiMediaVideoMontageTemplateAudio
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    audioMixes CiMediaVideoMontageTemplateAudioMix[]
    mixing parameters.
    ciMediaVideoMontageTemplateId string
    ID of the resource.
    duration string
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    name string
    The template name only supports Chinese, English, numbers, _, - and *.
    video CiMediaVideoMontageTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    bucket str
    bucket name.
    container CiMediaVideoMontageTemplateContainerArgs
    container format.
    audio CiMediaVideoMontageTemplateAudioArgs
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    audio_mixes Sequence[CiMediaVideoMontageTemplateAudioMixArgs]
    mixing parameters.
    ci_media_video_montage_template_id str
    ID of the resource.
    duration str
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    name str
    The template name only supports Chinese, English, numbers, _, - and *.
    video CiMediaVideoMontageTemplateVideoArgs
    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 parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    audioMixes List<Property Map>
    mixing parameters.
    ciMediaVideoMontageTemplateId String
    ID of the resource.
    duration String
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    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 CiMediaVideoMontageTemplate 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 CiMediaVideoMontageTemplate Resource

    Get an existing CiMediaVideoMontageTemplate 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?: CiMediaVideoMontageTemplateState, opts?: CustomResourceOptions): CiMediaVideoMontageTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            audio: Optional[CiMediaVideoMontageTemplateAudioArgs] = None,
            audio_mixes: Optional[Sequence[CiMediaVideoMontageTemplateAudioMixArgs]] = None,
            bucket: Optional[str] = None,
            ci_media_video_montage_template_id: Optional[str] = None,
            container: Optional[CiMediaVideoMontageTemplateContainerArgs] = None,
            duration: Optional[str] = None,
            name: Optional[str] = None,
            video: Optional[CiMediaVideoMontageTemplateVideoArgs] = None) -> CiMediaVideoMontageTemplate
    func GetCiMediaVideoMontageTemplate(ctx *Context, name string, id IDInput, state *CiMediaVideoMontageTemplateState, opts ...ResourceOption) (*CiMediaVideoMontageTemplate, error)
    public static CiMediaVideoMontageTemplate Get(string name, Input<string> id, CiMediaVideoMontageTemplateState? state, CustomResourceOptions? opts = null)
    public static CiMediaVideoMontageTemplate get(String name, Output<String> id, CiMediaVideoMontageTemplateState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CiMediaVideoMontageTemplate    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 CiMediaVideoMontageTemplateAudio
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    AudioMixes List<CiMediaVideoMontageTemplateAudioMix>
    mixing parameters.
    Bucket string
    bucket name.
    CiMediaVideoMontageTemplateId string
    ID of the resource.
    Container CiMediaVideoMontageTemplateContainer
    container format.
    Duration string
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    Video CiMediaVideoMontageTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    Audio CiMediaVideoMontageTemplateAudioArgs
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    AudioMixes []CiMediaVideoMontageTemplateAudioMixArgs
    mixing parameters.
    Bucket string
    bucket name.
    CiMediaVideoMontageTemplateId string
    ID of the resource.
    Container CiMediaVideoMontageTemplateContainerArgs
    container format.
    Duration string
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    Video CiMediaVideoMontageTemplateVideoArgs
    video information, do not upload Video, which is equivalent to deleting video information.
    audio CiMediaVideoMontageTemplateAudio
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    audioMixes List<CiMediaVideoMontageTemplateAudioMix>
    mixing parameters.
    bucket String
    bucket name.
    ciMediaVideoMontageTemplateId String
    ID of the resource.
    container CiMediaVideoMontageTemplateContainer
    container format.
    duration String
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    video CiMediaVideoMontageTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    audio CiMediaVideoMontageTemplateAudio
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    audioMixes CiMediaVideoMontageTemplateAudioMix[]
    mixing parameters.
    bucket string
    bucket name.
    ciMediaVideoMontageTemplateId string
    ID of the resource.
    container CiMediaVideoMontageTemplateContainer
    container format.
    duration string
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    name string
    The template name only supports Chinese, English, numbers, _, - and *.
    video CiMediaVideoMontageTemplateVideo
    video information, do not upload Video, which is equivalent to deleting video information.
    audio CiMediaVideoMontageTemplateAudioArgs
    audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
    audio_mixes Sequence[CiMediaVideoMontageTemplateAudioMixArgs]
    mixing parameters.
    bucket str
    bucket name.
    ci_media_video_montage_template_id str
    ID of the resource.
    container CiMediaVideoMontageTemplateContainerArgs
    container format.
    duration str
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    name str
    The template name only supports Chinese, English, numbers, _, - and *.
    video CiMediaVideoMontageTemplateVideoArgs
    video information, do not upload Video, which is equivalent to deleting video information.
    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.
    bucket String
    bucket name.
    ciMediaVideoMontageTemplateId String
    ID of the resource.
    container Property Map
    container format.
    duration String
    Collection duration 1: Default automatic analysis duration, 2: The unit is seconds, 3: Support float format, execution accuracy is accurate to milliseconds.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    video Property Map
    video information, do not upload Video, which is equivalent to deleting video information.

    Supporting Types

    CiMediaVideoMontageTemplateAudio, CiMediaVideoMontageTemplateAudioArgs

    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.
    Remove string
    Whether to delete the source audio stream, the value is true, false.
    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.
    Remove string
    Whether to delete the source audio stream, the value is true, false.
    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.
    remove String
    Whether to delete the source audio stream, the value is true, false.
    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.
    remove string
    Whether to delete the source audio stream, the value is true, false.
    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.
    remove str
    Whether to delete the source audio stream, the value is true, false.
    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.
    remove String
    Whether to delete the source audio stream, the value is true, false.
    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.

    CiMediaVideoMontageTemplateAudioMix, CiMediaVideoMontageTemplateAudioMixArgs

    AudioSource string
    The media address of the audio track that needs to be mixed.
    EffectConfig CiMediaVideoMontageTemplateAudioMixEffectConfig
    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 CiMediaVideoMontageTemplateAudioMixEffectConfig
    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 CiMediaVideoMontageTemplateAudioMixEffectConfig
    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 CiMediaVideoMontageTemplateAudioMixEffectConfig
    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 CiMediaVideoMontageTemplateAudioMixEffectConfig
    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.

    CiMediaVideoMontageTemplateAudioMixEffectConfig, CiMediaVideoMontageTemplateAudioMixEffectConfigArgs

    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.

    CiMediaVideoMontageTemplateContainer, CiMediaVideoMontageTemplateContainerArgs

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

    CiMediaVideoMontageTemplateVideo, CiMediaVideoMontageTemplateVideoArgs

    Codec string
    Codec format H.264.
    Bitrate string
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    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.
    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
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    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.
    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
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    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.
    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
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    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.
    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
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    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.
    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
    Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
    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.
    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_video_montage_template can be imported using the bucket#templateId, e.g.

    $ pulumi import tencentcloud:index/ciMediaVideoMontageTemplate:CiMediaVideoMontageTemplate media_video_montage_template terraform-ci-xxxxxx#t193e5ecc1b8154e57a8376b4405ad9c63
    

    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.188 published on Monday, Apr 28, 2025 by tencentcloudstack