tencentcloud.CiMediaVideoMontageTemplate
Explore with Pulumi AI
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
Ci
Media Video Montage Template Container - container format.
- Audio
Ci
Media Video Montage Template Audio - audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
- Audio
Mixes List<CiMedia Video Montage Template Audio Mix> - mixing parameters.
- Ci
Media stringVideo Montage Template Id - 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
Ci
Media Video Montage Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- Bucket string
- bucket name.
- Container
Ci
Media Video Montage Template Container Args - container format.
- Audio
Ci
Media Video Montage Template Audio Args - audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
- Audio
Mixes []CiMedia Video Montage Template Audio Mix Args - mixing parameters.
- Ci
Media stringVideo Montage Template Id - 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
Ci
Media Video Montage Template Video Args - video information, do not upload Video, which is equivalent to deleting video information.
- bucket String
- bucket name.
- container
Ci
Media Video Montage Template Container - container format.
- audio
Ci
Media Video Montage Template Audio - audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
- audio
Mixes List<CiMedia Video Montage Template Audio Mix> - mixing parameters.
- ci
Media StringVideo Montage Template Id - 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
Ci
Media Video Montage Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- bucket string
- bucket name.
- container
Ci
Media Video Montage Template Container - container format.
- audio
Ci
Media Video Montage Template Audio - audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
- audio
Mixes CiMedia Video Montage Template Audio Mix[] - mixing parameters.
- ci
Media stringVideo Montage Template Id - 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
Ci
Media Video Montage Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- bucket str
- bucket name.
- container
Ci
Media Video Montage Template Container Args - container format.
- audio
Ci
Media Video Montage Template Audio Args - audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
- audio_
mixes Sequence[CiMedia Video Montage Template Audio Mix Args] - mixing parameters.
- ci_
media_ strvideo_ montage_ template_ id - 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
Ci
Media Video Montage Template Video Args - 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.
- audio
Mixes List<Property Map> - mixing parameters.
- ci
Media StringVideo Montage Template Id - 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.
- Audio
Ci
Media Video Montage Template Audio - audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
- Audio
Mixes List<CiMedia Video Montage Template Audio Mix> - mixing parameters.
- Bucket string
- bucket name.
- Ci
Media stringVideo Montage Template Id - ID of the resource.
- Container
Ci
Media Video Montage Template Container - 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
Ci
Media Video Montage Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- Audio
Ci
Media Video Montage Template Audio Args - audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
- Audio
Mixes []CiMedia Video Montage Template Audio Mix Args - mixing parameters.
- Bucket string
- bucket name.
- Ci
Media stringVideo Montage Template Id - ID of the resource.
- Container
Ci
Media Video Montage Template Container Args - 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
Ci
Media Video Montage Template Video Args - video information, do not upload Video, which is equivalent to deleting video information.
- audio
Ci
Media Video Montage Template Audio - audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
- audio
Mixes List<CiMedia Video Montage Template Audio Mix> - mixing parameters.
- bucket String
- bucket name.
- ci
Media StringVideo Montage Template Id - ID of the resource.
- container
Ci
Media Video Montage Template Container - 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
Ci
Media Video Montage Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- audio
Ci
Media Video Montage Template Audio - audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
- audio
Mixes CiMedia Video Montage Template Audio Mix[] - mixing parameters.
- bucket string
- bucket name.
- ci
Media stringVideo Montage Template Id - ID of the resource.
- container
Ci
Media Video Montage Template Container - 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
Ci
Media Video Montage Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- audio
Ci
Media Video Montage Template Audio Args - audio parameters, the target file does not require Audio information, need to set Audio.Remove to true.
- audio_
mixes Sequence[CiMedia Video Montage Template Audio Mix Args] - mixing parameters.
- bucket str
- bucket name.
- ci_
media_ strvideo_ montage_ template_ id - ID of the resource.
- container
Ci
Media Video Montage Template Container Args - 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
Ci
Media Video Montage Template Video Args - 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.
- audio
Mixes List<Property Map> - mixing parameters.
- bucket String
- bucket name.
- ci
Media StringVideo Montage Template Id - 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
- Audio
Source string - The media address of the audio track that needs to be mixed.
- Effect
Config CiMedia Video Montage Template Audio Mix Effect Config - Mix Fade Configuration.
- Mix
Mode 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 string - The media address of the audio track that needs to be mixed.
- Effect
Config CiMedia Video Montage Template Audio Mix Effect Config - Mix Fade Configuration.
- Mix
Mode 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 String - The media address of the audio track that needs to be mixed.
- effect
Config CiMedia Video Montage Template Audio Mix Effect Config - Mix Fade Configuration.
- mix
Mode 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 string - The media address of the audio track that needs to be mixed.
- effect
Config CiMedia Video Montage Template Audio Mix Effect Config - Mix Fade Configuration.
- mix
Mode 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 CiMedia Video Montage Template Audio Mix Effect Config - 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.
- audio
Source String - The media address of the audio track that needs to be mixed.
- effect
Config Property Map - Mix Fade Configuration.
- mix
Mode 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
- Bgm
Fade stringTime - bgm transition fade-in duration, support floating point numbers.
- Enable
Bgm stringFade - Enable bgm conversion fade in.
- Enable
End stringFadeout - enable fade out.
- Enable
Start stringFadein - enable fade in.
- End
Fadeout stringTime - fade out time, greater than 0, support floating point numbers.
- Start
Fadein stringTime - Fade in duration, greater than 0, support floating point numbers.
- Bgm
Fade stringTime - bgm transition fade-in duration, support floating point numbers.
- Enable
Bgm stringFade - Enable bgm conversion fade in.
- Enable
End stringFadeout - enable fade out.
- Enable
Start stringFadein - enable fade in.
- End
Fadeout stringTime - fade out time, greater than 0, support floating point numbers.
- Start
Fadein stringTime - Fade in duration, greater than 0, support floating point numbers.
- bgm
Fade StringTime - bgm transition fade-in duration, support floating point numbers.
- enable
Bgm StringFade - Enable bgm conversion fade in.
- enable
End StringFadeout - enable fade out.
- enable
Start StringFadein - enable fade in.
- end
Fadeout StringTime - fade out time, greater than 0, support floating point numbers.
- start
Fadein StringTime - Fade in duration, greater than 0, support floating point numbers.
- bgm
Fade stringTime - bgm transition fade-in duration, support floating point numbers.
- enable
Bgm stringFade - Enable bgm conversion fade in.
- enable
End stringFadeout - enable fade out.
- enable
Start stringFadein - enable fade in.
- end
Fadeout stringTime - fade out time, greater than 0, support floating point numbers.
- start
Fadein stringTime - Fade in duration, greater than 0, support floating point numbers.
- bgm_
fade_ strtime - bgm transition fade-in duration, support floating point numbers.
- enable_
bgm_ strfade - Enable bgm conversion fade in.
- enable_
end_ strfadeout - enable fade out.
- enable_
start_ strfadein - enable fade in.
- end_
fadeout_ strtime - fade out time, greater than 0, support floating point numbers.
- start_
fadein_ strtime - Fade in duration, greater than 0, support floating point numbers.
- bgm
Fade StringTime - bgm transition fade-in duration, support floating point numbers.
- enable
Bgm StringFade - Enable bgm conversion fade in.
- enable
End StringFadeout - enable fade out.
- enable
Start StringFadein - enable fade in.
- end
Fadeout StringTime - fade out time, greater than 0, support floating point numbers.
- start
Fadein StringTime - 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.