tencentcloud.CiMediaTranscodeProTemplate
Explore with Pulumi AI
Provides a resource to create a ci media_transcode_pro_template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const mediaTranscodeProTemplate = new tencentcloud.CiMediaTranscodeProTemplate("mediaTranscodeProTemplate", {
audio: {
codec: "pcm_s24le",
remove: "true",
},
bucket: "terraform-ci-xxxxxx",
container: {
format: "mxf",
},
timeInterval: {
duration: "",
start: "",
},
transConfig: {
adjDarMethod: "scale",
audioBitrateAdjMethod: "0",
deleteMetadata: "false",
isCheckAudioBitrate: "false",
isCheckReso: "false",
isCheckVideoBitrate: "false",
isHdr2Sdr: "false",
resoAdjMethod: "1",
videoBitrateAdjMethod: "0",
},
video: {
bitrate: "50000",
codec: "xavc",
fps: "30000/1001",
height: "1080",
interlaced: "true",
profile: "XAVC-HD_422_10bit",
width: "1920",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
media_transcode_pro_template = tencentcloud.CiMediaTranscodeProTemplate("mediaTranscodeProTemplate",
audio={
"codec": "pcm_s24le",
"remove": "true",
},
bucket="terraform-ci-xxxxxx",
container={
"format": "mxf",
},
time_interval={
"duration": "",
"start": "",
},
trans_config={
"adj_dar_method": "scale",
"audio_bitrate_adj_method": "0",
"delete_metadata": "false",
"is_check_audio_bitrate": "false",
"is_check_reso": "false",
"is_check_video_bitrate": "false",
"is_hdr2_sdr": "false",
"reso_adj_method": "1",
"video_bitrate_adj_method": "0",
},
video={
"bitrate": "50000",
"codec": "xavc",
"fps": "30000/1001",
"height": "1080",
"interlaced": "true",
"profile": "XAVC-HD_422_10bit",
"width": "1920",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewCiMediaTranscodeProTemplate(ctx, "mediaTranscodeProTemplate", &tencentcloud.CiMediaTranscodeProTemplateArgs{
Audio: &tencentcloud.CiMediaTranscodeProTemplateAudioArgs{
Codec: pulumi.String("pcm_s24le"),
Remove: pulumi.String("true"),
},
Bucket: pulumi.String("terraform-ci-xxxxxx"),
Container: &tencentcloud.CiMediaTranscodeProTemplateContainerArgs{
Format: pulumi.String("mxf"),
},
TimeInterval: &tencentcloud.CiMediaTranscodeProTemplateTimeIntervalArgs{
Duration: pulumi.String(""),
Start: pulumi.String(""),
},
TransConfig: &tencentcloud.CiMediaTranscodeProTemplateTransConfigArgs{
AdjDarMethod: pulumi.String("scale"),
AudioBitrateAdjMethod: pulumi.String("0"),
DeleteMetadata: pulumi.String("false"),
IsCheckAudioBitrate: pulumi.String("false"),
IsCheckReso: pulumi.String("false"),
IsCheckVideoBitrate: pulumi.String("false"),
IsHdr2Sdr: pulumi.String("false"),
ResoAdjMethod: pulumi.String("1"),
VideoBitrateAdjMethod: pulumi.String("0"),
},
Video: &tencentcloud.CiMediaTranscodeProTemplateVideoArgs{
Bitrate: pulumi.String("50000"),
Codec: pulumi.String("xavc"),
Fps: pulumi.String("30000/1001"),
Height: pulumi.String("1080"),
Interlaced: pulumi.String("true"),
Profile: pulumi.String("XAVC-HD_422_10bit"),
Width: pulumi.String("1920"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var mediaTranscodeProTemplate = new Tencentcloud.CiMediaTranscodeProTemplate("mediaTranscodeProTemplate", new()
{
Audio = new Tencentcloud.Inputs.CiMediaTranscodeProTemplateAudioArgs
{
Codec = "pcm_s24le",
Remove = "true",
},
Bucket = "terraform-ci-xxxxxx",
Container = new Tencentcloud.Inputs.CiMediaTranscodeProTemplateContainerArgs
{
Format = "mxf",
},
TimeInterval = new Tencentcloud.Inputs.CiMediaTranscodeProTemplateTimeIntervalArgs
{
Duration = "",
Start = "",
},
TransConfig = new Tencentcloud.Inputs.CiMediaTranscodeProTemplateTransConfigArgs
{
AdjDarMethod = "scale",
AudioBitrateAdjMethod = "0",
DeleteMetadata = "false",
IsCheckAudioBitrate = "false",
IsCheckReso = "false",
IsCheckVideoBitrate = "false",
IsHdr2Sdr = "false",
ResoAdjMethod = "1",
VideoBitrateAdjMethod = "0",
},
Video = new Tencentcloud.Inputs.CiMediaTranscodeProTemplateVideoArgs
{
Bitrate = "50000",
Codec = "xavc",
Fps = "30000/1001",
Height = "1080",
Interlaced = "true",
Profile = "XAVC-HD_422_10bit",
Width = "1920",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CiMediaTranscodeProTemplate;
import com.pulumi.tencentcloud.CiMediaTranscodeProTemplateArgs;
import com.pulumi.tencentcloud.inputs.CiMediaTranscodeProTemplateAudioArgs;
import com.pulumi.tencentcloud.inputs.CiMediaTranscodeProTemplateContainerArgs;
import com.pulumi.tencentcloud.inputs.CiMediaTranscodeProTemplateTimeIntervalArgs;
import com.pulumi.tencentcloud.inputs.CiMediaTranscodeProTemplateTransConfigArgs;
import com.pulumi.tencentcloud.inputs.CiMediaTranscodeProTemplateVideoArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var mediaTranscodeProTemplate = new CiMediaTranscodeProTemplate("mediaTranscodeProTemplate", CiMediaTranscodeProTemplateArgs.builder()
.audio(CiMediaTranscodeProTemplateAudioArgs.builder()
.codec("pcm_s24le")
.remove("true")
.build())
.bucket("terraform-ci-xxxxxx")
.container(CiMediaTranscodeProTemplateContainerArgs.builder()
.format("mxf")
.build())
.timeInterval(CiMediaTranscodeProTemplateTimeIntervalArgs.builder()
.duration("")
.start("")
.build())
.transConfig(CiMediaTranscodeProTemplateTransConfigArgs.builder()
.adjDarMethod("scale")
.audioBitrateAdjMethod("0")
.deleteMetadata("false")
.isCheckAudioBitrate("false")
.isCheckReso("false")
.isCheckVideoBitrate("false")
.isHdr2Sdr("false")
.resoAdjMethod("1")
.videoBitrateAdjMethod("0")
.build())
.video(CiMediaTranscodeProTemplateVideoArgs.builder()
.bitrate("50000")
.codec("xavc")
.fps("30000/1001")
.height("1080")
.interlaced("true")
.profile("XAVC-HD_422_10bit")
.width("1920")
.build())
.build());
}
}
resources:
mediaTranscodeProTemplate:
type: tencentcloud:CiMediaTranscodeProTemplate
properties:
audio:
codec: pcm_s24le
remove: 'true'
bucket: terraform-ci-xxxxxx
container:
format: mxf
timeInterval:
duration: ""
start: ""
transConfig:
adjDarMethod: scale
audioBitrateAdjMethod: '0'
deleteMetadata: 'false'
isCheckAudioBitrate: 'false'
isCheckReso: 'false'
isCheckVideoBitrate: 'false'
isHdr2Sdr: 'false'
resoAdjMethod: '1'
videoBitrateAdjMethod: '0'
video:
bitrate: '50000'
codec: xavc
fps: 30000/1001
height: '1080'
interlaced: 'true'
profile: XAVC-HD_422_10bit
width: '1920'
Create CiMediaTranscodeProTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CiMediaTranscodeProTemplate(name: string, args: CiMediaTranscodeProTemplateArgs, opts?: CustomResourceOptions);
@overload
def CiMediaTranscodeProTemplate(resource_name: str,
args: CiMediaTranscodeProTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CiMediaTranscodeProTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
container: Optional[CiMediaTranscodeProTemplateContainerArgs] = None,
audio: Optional[CiMediaTranscodeProTemplateAudioArgs] = None,
ci_media_transcode_pro_template_id: Optional[str] = None,
name: Optional[str] = None,
time_interval: Optional[CiMediaTranscodeProTemplateTimeIntervalArgs] = None,
trans_config: Optional[CiMediaTranscodeProTemplateTransConfigArgs] = None,
video: Optional[CiMediaTranscodeProTemplateVideoArgs] = None)
func NewCiMediaTranscodeProTemplate(ctx *Context, name string, args CiMediaTranscodeProTemplateArgs, opts ...ResourceOption) (*CiMediaTranscodeProTemplate, error)
public CiMediaTranscodeProTemplate(string name, CiMediaTranscodeProTemplateArgs args, CustomResourceOptions? opts = null)
public CiMediaTranscodeProTemplate(String name, CiMediaTranscodeProTemplateArgs args)
public CiMediaTranscodeProTemplate(String name, CiMediaTranscodeProTemplateArgs args, CustomResourceOptions options)
type: tencentcloud:CiMediaTranscodeProTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CiMediaTranscodeProTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CiMediaTranscodeProTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CiMediaTranscodeProTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CiMediaTranscodeProTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CiMediaTranscodeProTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CiMediaTranscodeProTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CiMediaTranscodeProTemplate resource accepts the following input properties:
- Bucket string
- bucket name.
- Container
Ci
Media Transcode Pro Template Container - container format.
- Audio
Ci
Media Transcode Pro Template Audio - Audio information, do not transmit Audio, which is equivalent to deleting audio information.
- Ci
Media stringTranscode Pro Template Id - ID of the resource.
- Name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - Time
Interval CiMedia Transcode Pro Template Time Interval - time interval.
- Trans
Config CiMedia Transcode Pro Template Trans Config - transcoding configuration.
- Video
Ci
Media Transcode Pro Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- Bucket string
- bucket name.
- Container
Ci
Media Transcode Pro Template Container Args - container format.
- Audio
Ci
Media Transcode Pro Template Audio Args - Audio information, do not transmit Audio, which is equivalent to deleting audio information.
- Ci
Media stringTranscode Pro Template Id - ID of the resource.
- Name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - Time
Interval CiMedia Transcode Pro Template Time Interval Args - time interval.
- Trans
Config CiMedia Transcode Pro Template Trans Config Args - transcoding configuration.
- Video
Ci
Media Transcode Pro Template Video Args - video information, do not upload Video, which is equivalent to deleting video information.
- bucket String
- bucket name.
- container
Ci
Media Transcode Pro Template Container - container format.
- audio
Ci
Media Transcode Pro Template Audio - Audio information, do not transmit Audio, which is equivalent to deleting audio information.
- ci
Media StringTranscode Pro Template Id - ID of the resource.
- name String
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - time
Interval CiMedia Transcode Pro Template Time Interval - time interval.
- trans
Config CiMedia Transcode Pro Template Trans Config - transcoding configuration.
- video
Ci
Media Transcode Pro Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- bucket string
- bucket name.
- container
Ci
Media Transcode Pro Template Container - container format.
- audio
Ci
Media Transcode Pro Template Audio - Audio information, do not transmit Audio, which is equivalent to deleting audio information.
- ci
Media stringTranscode Pro Template Id - ID of the resource.
- name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - time
Interval CiMedia Transcode Pro Template Time Interval - time interval.
- trans
Config CiMedia Transcode Pro Template Trans Config - transcoding configuration.
- video
Ci
Media Transcode Pro Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- bucket str
- bucket name.
- container
Ci
Media Transcode Pro Template Container Args - container format.
- audio
Ci
Media Transcode Pro Template Audio Args - Audio information, do not transmit Audio, which is equivalent to deleting audio information.
- ci_
media_ strtranscode_ pro_ template_ id - ID of the resource.
- name str
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - time_
interval CiMedia Transcode Pro Template Time Interval Args - time interval.
- trans_
config CiMedia Transcode Pro Template Trans Config Args - transcoding configuration.
- video
Ci
Media Transcode Pro 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 information, do not transmit Audio, which is equivalent to deleting audio information.
- ci
Media StringTranscode Pro Template Id - ID of the resource.
- name String
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - time
Interval Property Map - time interval.
- trans
Config Property Map - transcoding configuration.
- video Property Map
- video information, do not upload Video, which is equivalent to deleting video information.
Outputs
All input properties are implicitly available as output properties. Additionally, the CiMediaTranscodeProTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CiMediaTranscodeProTemplate Resource
Get an existing CiMediaTranscodeProTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CiMediaTranscodeProTemplateState, opts?: CustomResourceOptions): CiMediaTranscodeProTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
audio: Optional[CiMediaTranscodeProTemplateAudioArgs] = None,
bucket: Optional[str] = None,
ci_media_transcode_pro_template_id: Optional[str] = None,
container: Optional[CiMediaTranscodeProTemplateContainerArgs] = None,
name: Optional[str] = None,
time_interval: Optional[CiMediaTranscodeProTemplateTimeIntervalArgs] = None,
trans_config: Optional[CiMediaTranscodeProTemplateTransConfigArgs] = None,
video: Optional[CiMediaTranscodeProTemplateVideoArgs] = None) -> CiMediaTranscodeProTemplate
func GetCiMediaTranscodeProTemplate(ctx *Context, name string, id IDInput, state *CiMediaTranscodeProTemplateState, opts ...ResourceOption) (*CiMediaTranscodeProTemplate, error)
public static CiMediaTranscodeProTemplate Get(string name, Input<string> id, CiMediaTranscodeProTemplateState? state, CustomResourceOptions? opts = null)
public static CiMediaTranscodeProTemplate get(String name, Output<String> id, CiMediaTranscodeProTemplateState state, CustomResourceOptions options)
resources: _: type: tencentcloud:CiMediaTranscodeProTemplate get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Audio
Ci
Media Transcode Pro Template Audio - Audio information, do not transmit Audio, which is equivalent to deleting audio information.
- Bucket string
- bucket name.
- Ci
Media stringTranscode Pro Template Id - ID of the resource.
- Container
Ci
Media Transcode Pro Template Container - container format.
- Name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - Time
Interval CiMedia Transcode Pro Template Time Interval - time interval.
- Trans
Config CiMedia Transcode Pro Template Trans Config - transcoding configuration.
- Video
Ci
Media Transcode Pro Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- Audio
Ci
Media Transcode Pro Template Audio Args - Audio information, do not transmit Audio, which is equivalent to deleting audio information.
- Bucket string
- bucket name.
- Ci
Media stringTranscode Pro Template Id - ID of the resource.
- Container
Ci
Media Transcode Pro Template Container Args - container format.
- Name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - Time
Interval CiMedia Transcode Pro Template Time Interval Args - time interval.
- Trans
Config CiMedia Transcode Pro Template Trans Config Args - transcoding configuration.
- Video
Ci
Media Transcode Pro Template Video Args - video information, do not upload Video, which is equivalent to deleting video information.
- audio
Ci
Media Transcode Pro Template Audio - Audio information, do not transmit Audio, which is equivalent to deleting audio information.
- bucket String
- bucket name.
- ci
Media StringTranscode Pro Template Id - ID of the resource.
- container
Ci
Media Transcode Pro Template Container - container format.
- name String
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - time
Interval CiMedia Transcode Pro Template Time Interval - time interval.
- trans
Config CiMedia Transcode Pro Template Trans Config - transcoding configuration.
- video
Ci
Media Transcode Pro Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- audio
Ci
Media Transcode Pro Template Audio - Audio information, do not transmit Audio, which is equivalent to deleting audio information.
- bucket string
- bucket name.
- ci
Media stringTranscode Pro Template Id - ID of the resource.
- container
Ci
Media Transcode Pro Template Container - container format.
- name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - time
Interval CiMedia Transcode Pro Template Time Interval - time interval.
- trans
Config CiMedia Transcode Pro Template Trans Config - transcoding configuration.
- video
Ci
Media Transcode Pro Template Video - video information, do not upload Video, which is equivalent to deleting video information.
- audio
Ci
Media Transcode Pro Template Audio Args - Audio information, do not transmit Audio, which is equivalent to deleting audio information.
- bucket str
- bucket name.
- ci_
media_ strtranscode_ pro_ template_ id - ID of the resource.
- container
Ci
Media Transcode Pro Template Container Args - container format.
- name str
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - time_
interval CiMedia Transcode Pro Template Time Interval Args - time interval.
- trans_
config CiMedia Transcode Pro Template Trans Config Args - transcoding configuration.
- video
Ci
Media Transcode Pro Template Video Args - video information, do not upload Video, which is equivalent to deleting video information.
- audio Property Map
- Audio information, do not transmit Audio, which is equivalent to deleting audio information.
- bucket String
- bucket name.
- ci
Media StringTranscode Pro Template Id - ID of the resource.
- container Property Map
- container format.
- name String
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - time
Interval Property Map - time interval.
- trans
Config Property Map - transcoding configuration.
- video Property Map
- video information, do not upload Video, which is equivalent to deleting video information.
Supporting Types
CiMediaTranscodeProTemplateAudio, CiMediaTranscodeProTemplateAudioArgs
CiMediaTranscodeProTemplateContainer, CiMediaTranscodeProTemplateContainerArgs
- Format string
- Package format.
- Clip
Config CiMedia Transcode Pro Template Container Clip Config - Fragment configuration, valid when format is hls and dash.
- Format string
- Package format.
- Clip
Config CiMedia Transcode Pro Template Container Clip Config - Fragment configuration, valid when format is hls and dash.
- format String
- Package format.
- clip
Config CiMedia Transcode Pro Template Container Clip Config - Fragment configuration, valid when format is hls and dash.
- format string
- Package format.
- clip
Config CiMedia Transcode Pro Template Container Clip Config - Fragment configuration, valid when format is hls and dash.
- format str
- Package format.
- clip_
config CiMedia Transcode Pro Template Container Clip Config - Fragment configuration, valid when format is hls and dash.
- format String
- Package format.
- clip
Config Property Map - Fragment configuration, valid when format is hls and dash.
CiMediaTranscodeProTemplateContainerClipConfig, CiMediaTranscodeProTemplateContainerClipConfigArgs
- Duration string
- Fragmentation duration, default 5s.
- Duration string
- Fragmentation duration, default 5s.
- duration String
- Fragmentation duration, default 5s.
- duration string
- Fragmentation duration, default 5s.
- duration str
- Fragmentation duration, default 5s.
- duration String
- Fragmentation duration, default 5s.
CiMediaTranscodeProTemplateTimeInterval, CiMediaTranscodeProTemplateTimeIntervalArgs
CiMediaTranscodeProTemplateTransConfig, CiMediaTranscodeProTemplateTransConfigArgs
- Adj
Dar stringMethod - Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
- Audio
Bitrate stringAdj Method - Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
- Delete
Metadata string - Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
- Is
Check stringAudio Bitrate - Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
- Is
Check stringReso - Whether to check the resolution, when it is false, transcode according to the configuration parameters.
- Is
Check stringVideo Bitrate - Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
- Is
Hdr2Sdr string - Whether to enable HDR to SDR true, false.
- Reso
Adj stringMethod - Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
- Video
Bitrate stringAdj Method - Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.
- Adj
Dar stringMethod - Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
- Audio
Bitrate stringAdj Method - Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
- Delete
Metadata string - Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
- Is
Check stringAudio Bitrate - Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
- Is
Check stringReso - Whether to check the resolution, when it is false, transcode according to the configuration parameters.
- Is
Check stringVideo Bitrate - Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
- Is
Hdr2Sdr string - Whether to enable HDR to SDR true, false.
- Reso
Adj stringMethod - Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
- Video
Bitrate stringAdj Method - Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.
- adj
Dar StringMethod - Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
- audio
Bitrate StringAdj Method - Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
- delete
Metadata String - Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
- is
Check StringAudio Bitrate - Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
- is
Check StringReso - Whether to check the resolution, when it is false, transcode according to the configuration parameters.
- is
Check StringVideo Bitrate - Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
- is
Hdr2Sdr String - Whether to enable HDR to SDR true, false.
- reso
Adj StringMethod - Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
- video
Bitrate StringAdj Method - Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.
- adj
Dar stringMethod - Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
- audio
Bitrate stringAdj Method - Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
- delete
Metadata string - Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
- is
Check stringAudio Bitrate - Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
- is
Check stringReso - Whether to check the resolution, when it is false, transcode according to the configuration parameters.
- is
Check stringVideo Bitrate - Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
- is
Hdr2Sdr string - Whether to enable HDR to SDR true, false.
- reso
Adj stringMethod - Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
- video
Bitrate stringAdj Method - Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.
- adj_
dar_ strmethod - Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
- audio_
bitrate_ stradj_ method - Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
- delete_
metadata str - Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
- is_
check_ straudio_ bitrate - Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
- is_
check_ strreso - Whether to check the resolution, when it is false, transcode according to the configuration parameters.
- is_
check_ strvideo_ bitrate - Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
- is_
hdr2_ strsdr - Whether to enable HDR to SDR true, false.
- reso_
adj_ strmethod - Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
- video_
bitrate_ stradj_ method - Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.
- adj
Dar StringMethod - Resolution adjustment method, value scale, crop, pad, none, When the aspect ratio of the output video is different from the original video, adjust the resolution accordingly according to this parameter.
- audio
Bitrate StringAdj Method - Audio bit rate adjustment mode, value 0, 1; when the output audio bit rate is greater than the original audio bit rate, 0 means use the original audio bit rate; 1 means return transcoding failed, Take effect when IsCheckAudioBitrate is true.
- delete
Metadata String - Whether to delete the MetaData information in the file, true, false, When false, keep source file information.
- is
Check StringAudio Bitrate - Whether to check the audio code rate, true, false, When false, transcode according to configuration parameters.
- is
Check StringReso - Whether to check the resolution, when it is false, transcode according to the configuration parameters.
- is
Check StringVideo Bitrate - Whether to check the video code rate, when it is false, transcode according to the configuration parameters.
- is
Hdr2Sdr String - Whether to enable HDR to SDR true, false.
- reso
Adj StringMethod - Resolution adjustment mode, value 0, 1; 0 means use the original video resolution; 1 means return transcoding failed, Take effect when IsCheckReso is true.
- video
Bitrate StringAdj Method - Video bit rate adjustment method, value 0, 1; when the output video bit rate is greater than the original video bit rate, 0 means use the original video bit rate; 1 means return transcoding failed, Take effect when IsCheckVideoBitrate is true.
CiMediaTranscodeProTemplateVideo, CiMediaTranscodeProTemplateVideoArgs
- Bitrate string
- Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
- Codec string
- Codec format, default value:
H.264
, when format is WebM, it is VP8, value range:H.264
,H.265
,VP8
,VP9
,AV1
. - Fps string
- Frame rate, value range: (0, 60], Unit: fps.
- Height string
- High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
- Interlaced string
- field pattern.
- Profile string
- encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
- Rotate string
- Rotation angle, Value range: [0, 360), Unit: degree.
- Width string
- width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
- Bitrate string
- Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
- Codec string
- Codec format, default value:
H.264
, when format is WebM, it is VP8, value range:H.264
,H.265
,VP8
,VP9
,AV1
. - Fps string
- Frame rate, value range: (0, 60], Unit: fps.
- Height string
- High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
- Interlaced string
- field pattern.
- Profile string
- encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
- Rotate string
- Rotation angle, Value range: [0, 360), Unit: degree.
- Width string
- width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
- bitrate String
- Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
- codec String
- Codec format, default value:
H.264
, when format is WebM, it is VP8, value range:H.264
,H.265
,VP8
,VP9
,AV1
. - fps String
- Frame rate, value range: (0, 60], Unit: fps.
- height String
- High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
- interlaced String
- field pattern.
- profile String
- encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
- rotate String
- Rotation angle, Value range: [0, 360), Unit: degree.
- width String
- width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
- bitrate string
- Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
- codec string
- Codec format, default value:
H.264
, when format is WebM, it is VP8, value range:H.264
,H.265
,VP8
,VP9
,AV1
. - fps string
- Frame rate, value range: (0, 60], Unit: fps.
- height string
- High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
- interlaced string
- field pattern.
- profile string
- encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
- rotate string
- Rotation angle, Value range: [0, 360), Unit: degree.
- width string
- width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
- bitrate str
- Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
- codec str
- Codec format, default value:
H.264
, when format is WebM, it is VP8, value range:H.264
,H.265
,VP8
,VP9
,AV1
. - fps str
- Frame rate, value range: (0, 60], Unit: fps.
- height str
- High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
- interlaced str
- field pattern.
- profile str
- encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
- rotate str
- Rotation angle, Value range: [0, 360), Unit: degree.
- width str
- width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
- bitrate String
- Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
- codec String
- Codec format, default value:
H.264
, when format is WebM, it is VP8, value range:H.264
,H.265
,VP8
,VP9
,AV1
. - fps String
- Frame rate, value range: (0, 60], Unit: fps.
- height String
- High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
- interlaced String
- field pattern.
- profile String
- encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
- rotate String
- Rotation angle, Value range: [0, 360), Unit: degree.
- width String
- width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
Import
ci media_transcode_pro_template can be imported using the bucket#templateId, e.g.
$ pulumi import tencentcloud:index/ciMediaTranscodeProTemplate:CiMediaTranscodeProTemplate media_transcode_pro_template terraform-ci-xxxxxx#t13ed9af009da0414e9c7c63456ec8f4d2
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.