tencentcloud.MpsTranscodeTemplate
Explore with Pulumi AI
Provides a resource to create a mps transcode_template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const transcodeTemplate = new tencentcloud.MpsTranscodeTemplate("transcodeTemplate", {
audioTemplate: {
audioChannel: 2,
bitrate: 27,
codec: "libfdk_aac",
sampleRate: 32000,
},
container: "mp4",
removeAudio: 0,
removeVideo: 0,
videoTemplate: {
bitrate: 130,
codec: "libx264",
fillType: "black",
fps: 20,
gop: 0,
height: 4096,
resolutionAdaptive: "close",
vcrf: 0,
width: 128,
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
transcode_template = tencentcloud.MpsTranscodeTemplate("transcodeTemplate",
audio_template={
"audio_channel": 2,
"bitrate": 27,
"codec": "libfdk_aac",
"sample_rate": 32000,
},
container="mp4",
remove_audio=0,
remove_video=0,
video_template={
"bitrate": 130,
"codec": "libx264",
"fill_type": "black",
"fps": 20,
"gop": 0,
"height": 4096,
"resolution_adaptive": "close",
"vcrf": 0,
"width": 128,
})
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.NewMpsTranscodeTemplate(ctx, "transcodeTemplate", &tencentcloud.MpsTranscodeTemplateArgs{
AudioTemplate: &tencentcloud.MpsTranscodeTemplateAudioTemplateArgs{
AudioChannel: pulumi.Float64(2),
Bitrate: pulumi.Float64(27),
Codec: pulumi.String("libfdk_aac"),
SampleRate: pulumi.Float64(32000),
},
Container: pulumi.String("mp4"),
RemoveAudio: pulumi.Float64(0),
RemoveVideo: pulumi.Float64(0),
VideoTemplate: &tencentcloud.MpsTranscodeTemplateVideoTemplateArgs{
Bitrate: pulumi.Float64(130),
Codec: pulumi.String("libx264"),
FillType: pulumi.String("black"),
Fps: pulumi.Float64(20),
Gop: pulumi.Float64(0),
Height: pulumi.Float64(4096),
ResolutionAdaptive: pulumi.String("close"),
Vcrf: pulumi.Float64(0),
Width: pulumi.Float64(128),
},
})
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 transcodeTemplate = new Tencentcloud.MpsTranscodeTemplate("transcodeTemplate", new()
{
AudioTemplate = new Tencentcloud.Inputs.MpsTranscodeTemplateAudioTemplateArgs
{
AudioChannel = 2,
Bitrate = 27,
Codec = "libfdk_aac",
SampleRate = 32000,
},
Container = "mp4",
RemoveAudio = 0,
RemoveVideo = 0,
VideoTemplate = new Tencentcloud.Inputs.MpsTranscodeTemplateVideoTemplateArgs
{
Bitrate = 130,
Codec = "libx264",
FillType = "black",
Fps = 20,
Gop = 0,
Height = 4096,
ResolutionAdaptive = "close",
Vcrf = 0,
Width = 128,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MpsTranscodeTemplate;
import com.pulumi.tencentcloud.MpsTranscodeTemplateArgs;
import com.pulumi.tencentcloud.inputs.MpsTranscodeTemplateAudioTemplateArgs;
import com.pulumi.tencentcloud.inputs.MpsTranscodeTemplateVideoTemplateArgs;
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 transcodeTemplate = new MpsTranscodeTemplate("transcodeTemplate", MpsTranscodeTemplateArgs.builder()
.audioTemplate(MpsTranscodeTemplateAudioTemplateArgs.builder()
.audioChannel(2)
.bitrate(27)
.codec("libfdk_aac")
.sampleRate(32000)
.build())
.container("mp4")
.removeAudio(0)
.removeVideo(0)
.videoTemplate(MpsTranscodeTemplateVideoTemplateArgs.builder()
.bitrate(130)
.codec("libx264")
.fillType("black")
.fps(20)
.gop(0)
.height(4096)
.resolutionAdaptive("close")
.vcrf(0)
.width(128)
.build())
.build());
}
}
resources:
transcodeTemplate:
type: tencentcloud:MpsTranscodeTemplate
properties:
audioTemplate:
audioChannel: 2
bitrate: 27
codec: libfdk_aac
sampleRate: 32000
container: mp4
removeAudio: 0
removeVideo: 0
videoTemplate:
bitrate: 130
codec: libx264
fillType: black
fps: 20
gop: 0
height: 4096
resolutionAdaptive: close
vcrf: 0
width: 128
Create MpsTranscodeTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MpsTranscodeTemplate(name: string, args: MpsTranscodeTemplateArgs, opts?: CustomResourceOptions);
@overload
def MpsTranscodeTemplate(resource_name: str,
args: MpsTranscodeTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MpsTranscodeTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
container: Optional[str] = None,
audio_template: Optional[MpsTranscodeTemplateAudioTemplateArgs] = None,
comment: Optional[str] = None,
enhance_config: Optional[MpsTranscodeTemplateEnhanceConfigArgs] = None,
mps_transcode_template_id: Optional[str] = None,
name: Optional[str] = None,
remove_audio: Optional[float] = None,
remove_video: Optional[float] = None,
tehd_config: Optional[MpsTranscodeTemplateTehdConfigArgs] = None,
video_template: Optional[MpsTranscodeTemplateVideoTemplateArgs] = None)
func NewMpsTranscodeTemplate(ctx *Context, name string, args MpsTranscodeTemplateArgs, opts ...ResourceOption) (*MpsTranscodeTemplate, error)
public MpsTranscodeTemplate(string name, MpsTranscodeTemplateArgs args, CustomResourceOptions? opts = null)
public MpsTranscodeTemplate(String name, MpsTranscodeTemplateArgs args)
public MpsTranscodeTemplate(String name, MpsTranscodeTemplateArgs args, CustomResourceOptions options)
type: tencentcloud:MpsTranscodeTemplate
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 MpsTranscodeTemplateArgs
- 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 MpsTranscodeTemplateArgs
- 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 MpsTranscodeTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MpsTranscodeTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MpsTranscodeTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MpsTranscodeTemplate 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 MpsTranscodeTemplate resource accepts the following input properties:
- Container string
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- Audio
Template MpsTranscode Template Audio Template - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- Comment string
- Template description information, length limit: 256 characters.
- Enhance
Config MpsTranscode Template Enhance Config - Audio and video enhancement configuration.
- Mps
Transcode stringTemplate Id - ID of the resource.
- Name string
- Transcoding template name, length limit: 64 characters.
- Remove
Audio double - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- Remove
Video double - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- Tehd
Config MpsTranscode Template Tehd Config - Ultra-fast HD transcoding parameters.
- Video
Template MpsTranscode Template Video Template - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- Container string
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- Audio
Template MpsTranscode Template Audio Template Args - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- Comment string
- Template description information, length limit: 256 characters.
- Enhance
Config MpsTranscode Template Enhance Config Args - Audio and video enhancement configuration.
- Mps
Transcode stringTemplate Id - ID of the resource.
- Name string
- Transcoding template name, length limit: 64 characters.
- Remove
Audio float64 - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- Remove
Video float64 - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- Tehd
Config MpsTranscode Template Tehd Config Args - Ultra-fast HD transcoding parameters.
- Video
Template MpsTranscode Template Video Template Args - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- container String
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- audio
Template MpsTranscode Template Audio Template - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- comment String
- Template description information, length limit: 256 characters.
- enhance
Config MpsTranscode Template Enhance Config - Audio and video enhancement configuration.
- mps
Transcode StringTemplate Id - ID of the resource.
- name String
- Transcoding template name, length limit: 64 characters.
- remove
Audio Double - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- remove
Video Double - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- tehd
Config MpsTranscode Template Tehd Config - Ultra-fast HD transcoding parameters.
- video
Template MpsTranscode Template Video Template - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- container string
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- audio
Template MpsTranscode Template Audio Template - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- comment string
- Template description information, length limit: 256 characters.
- enhance
Config MpsTranscode Template Enhance Config - Audio and video enhancement configuration.
- mps
Transcode stringTemplate Id - ID of the resource.
- name string
- Transcoding template name, length limit: 64 characters.
- remove
Audio number - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- remove
Video number - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- tehd
Config MpsTranscode Template Tehd Config - Ultra-fast HD transcoding parameters.
- video
Template MpsTranscode Template Video Template - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- container str
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- audio_
template MpsTranscode Template Audio Template Args - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- comment str
- Template description information, length limit: 256 characters.
- enhance_
config MpsTranscode Template Enhance Config Args - Audio and video enhancement configuration.
- mps_
transcode_ strtemplate_ id - ID of the resource.
- name str
- Transcoding template name, length limit: 64 characters.
- remove_
audio float - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- remove_
video float - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- tehd_
config MpsTranscode Template Tehd Config Args - Ultra-fast HD transcoding parameters.
- video_
template MpsTranscode Template Video Template Args - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- container String
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- audio
Template Property Map - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- comment String
- Template description information, length limit: 256 characters.
- enhance
Config Property Map - Audio and video enhancement configuration.
- mps
Transcode StringTemplate Id - ID of the resource.
- name String
- Transcoding template name, length limit: 64 characters.
- remove
Audio Number - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- remove
Video Number - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- tehd
Config Property Map - Ultra-fast HD transcoding parameters.
- video
Template Property Map - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
Outputs
All input properties are implicitly available as output properties. Additionally, the MpsTranscodeTemplate 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 MpsTranscodeTemplate Resource
Get an existing MpsTranscodeTemplate 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?: MpsTranscodeTemplateState, opts?: CustomResourceOptions): MpsTranscodeTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
audio_template: Optional[MpsTranscodeTemplateAudioTemplateArgs] = None,
comment: Optional[str] = None,
container: Optional[str] = None,
enhance_config: Optional[MpsTranscodeTemplateEnhanceConfigArgs] = None,
mps_transcode_template_id: Optional[str] = None,
name: Optional[str] = None,
remove_audio: Optional[float] = None,
remove_video: Optional[float] = None,
tehd_config: Optional[MpsTranscodeTemplateTehdConfigArgs] = None,
video_template: Optional[MpsTranscodeTemplateVideoTemplateArgs] = None) -> MpsTranscodeTemplate
func GetMpsTranscodeTemplate(ctx *Context, name string, id IDInput, state *MpsTranscodeTemplateState, opts ...ResourceOption) (*MpsTranscodeTemplate, error)
public static MpsTranscodeTemplate Get(string name, Input<string> id, MpsTranscodeTemplateState? state, CustomResourceOptions? opts = null)
public static MpsTranscodeTemplate get(String name, Output<String> id, MpsTranscodeTemplateState state, CustomResourceOptions options)
resources: _: type: tencentcloud:MpsTranscodeTemplate 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
Template MpsTranscode Template Audio Template - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- Comment string
- Template description information, length limit: 256 characters.
- Container string
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- Enhance
Config MpsTranscode Template Enhance Config - Audio and video enhancement configuration.
- Mps
Transcode stringTemplate Id - ID of the resource.
- Name string
- Transcoding template name, length limit: 64 characters.
- Remove
Audio double - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- Remove
Video double - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- Tehd
Config MpsTranscode Template Tehd Config - Ultra-fast HD transcoding parameters.
- Video
Template MpsTranscode Template Video Template - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- Audio
Template MpsTranscode Template Audio Template Args - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- Comment string
- Template description information, length limit: 256 characters.
- Container string
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- Enhance
Config MpsTranscode Template Enhance Config Args - Audio and video enhancement configuration.
- Mps
Transcode stringTemplate Id - ID of the resource.
- Name string
- Transcoding template name, length limit: 64 characters.
- Remove
Audio float64 - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- Remove
Video float64 - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- Tehd
Config MpsTranscode Template Tehd Config Args - Ultra-fast HD transcoding parameters.
- Video
Template MpsTranscode Template Video Template Args - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- audio
Template MpsTranscode Template Audio Template - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- comment String
- Template description information, length limit: 256 characters.
- container String
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- enhance
Config MpsTranscode Template Enhance Config - Audio and video enhancement configuration.
- mps
Transcode StringTemplate Id - ID of the resource.
- name String
- Transcoding template name, length limit: 64 characters.
- remove
Audio Double - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- remove
Video Double - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- tehd
Config MpsTranscode Template Tehd Config - Ultra-fast HD transcoding parameters.
- video
Template MpsTranscode Template Video Template - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- audio
Template MpsTranscode Template Audio Template - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- comment string
- Template description information, length limit: 256 characters.
- container string
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- enhance
Config MpsTranscode Template Enhance Config - Audio and video enhancement configuration.
- mps
Transcode stringTemplate Id - ID of the resource.
- name string
- Transcoding template name, length limit: 64 characters.
- remove
Audio number - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- remove
Video number - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- tehd
Config MpsTranscode Template Tehd Config - Ultra-fast HD transcoding parameters.
- video
Template MpsTranscode Template Video Template - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- audio_
template MpsTranscode Template Audio Template Args - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- comment str
- Template description information, length limit: 256 characters.
- container str
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- enhance_
config MpsTranscode Template Enhance Config Args - Audio and video enhancement configuration.
- mps_
transcode_ strtemplate_ id - ID of the resource.
- name str
- Transcoding template name, length limit: 64 characters.
- remove_
audio float - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- remove_
video float - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- tehd_
config MpsTranscode Template Tehd Config Args - Ultra-fast HD transcoding parameters.
- video_
template MpsTranscode Template Video Template Args - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- audio
Template Property Map - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- comment String
- Template description information, length limit: 256 characters.
- container String
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- enhance
Config Property Map - Audio and video enhancement configuration.
- mps
Transcode StringTemplate Id - ID of the resource.
- name String
- Transcoding template name, length limit: 64 characters.
- remove
Audio Number - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- remove
Video Number - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- tehd
Config Property Map - Ultra-fast HD transcoding parameters.
- video
Template Property Map - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
Supporting Types
MpsTranscodeTemplateAudioTemplate, MpsTranscodeTemplateAudioTemplateArgs
- Bitrate double
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- Codec string
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- Sample
Rate double - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- Audio
Channel double - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- Bitrate float64
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- Codec string
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- Sample
Rate float64 - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- Audio
Channel float64 - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- bitrate Double
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- codec String
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- sample
Rate Double - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- audio
Channel Double - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- bitrate number
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- codec string
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- sample
Rate number - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- audio
Channel number - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- bitrate float
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- codec str
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- sample_
rate float - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- audio_
channel float - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- bitrate Number
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- codec String
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- sample
Rate Number - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- audio
Channel Number - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
MpsTranscodeTemplateEnhanceConfig, MpsTranscodeTemplateEnhanceConfigArgs
- Video
Enhance MpsTranscode Template Enhance Config Video Enhance - Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Video
Enhance MpsTranscode Template Enhance Config Video Enhance - Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- video
Enhance MpsTranscode Template Enhance Config Video Enhance - Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- video
Enhance MpsTranscode Template Enhance Config Video Enhance - Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- video_
enhance MpsTranscode Template Enhance Config Video Enhance - Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- video
Enhance Property Map - Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
MpsTranscodeTemplateEnhanceConfigVideoEnhance, MpsTranscodeTemplateEnhanceConfigVideoEnhanceArgs
- Artifact
Repair MpsTranscode Template Enhance Config Video Enhance Artifact Repair - De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Color
Enhance MpsTranscode Template Enhance Config Video Enhance Color Enhance - Color Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Denoise
Mps
Transcode Template Enhance Config Video Enhance Denoise - Video Noise Reduction Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Face
Enhance MpsTranscode Template Enhance Config Video Enhance Face Enhance - Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Frame
Rate MpsTranscode Template Enhance Config Video Enhance Frame Rate - Interpolation frame rate configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Hdr
Mps
Transcode Template Enhance Config Video Enhance Hdr - HDR configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Image
Quality MpsEnhance Transcode Template Enhance Config Video Enhance Image Quality Enhance - Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Low
Light MpsEnhance Transcode Template Enhance Config Video Enhance Low Light Enhance - Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Scratch
Repair MpsTranscode Template Enhance Config Video Enhance Scratch Repair - De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Mps
Transcode Template Enhance Config Video Enhance Sharp Enhance - Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Super
Resolution MpsTranscode Template Enhance Config Video Enhance Super Resolution - Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Artifact
Repair MpsTranscode Template Enhance Config Video Enhance Artifact Repair - De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Color
Enhance MpsTranscode Template Enhance Config Video Enhance Color Enhance - Color Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Denoise
Mps
Transcode Template Enhance Config Video Enhance Denoise - Video Noise Reduction Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Face
Enhance MpsTranscode Template Enhance Config Video Enhance Face Enhance - Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Frame
Rate MpsTranscode Template Enhance Config Video Enhance Frame Rate - Interpolation frame rate configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Hdr
Mps
Transcode Template Enhance Config Video Enhance Hdr - HDR configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Image
Quality MpsEnhance Transcode Template Enhance Config Video Enhance Image Quality Enhance - Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Low
Light MpsEnhance Transcode Template Enhance Config Video Enhance Low Light Enhance - Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Scratch
Repair MpsTranscode Template Enhance Config Video Enhance Scratch Repair - De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Mps
Transcode Template Enhance Config Video Enhance Sharp Enhance - Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Super
Resolution MpsTranscode Template Enhance Config Video Enhance Super Resolution - Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.
- artifact
Repair MpsTranscode Template Enhance Config Video Enhance Artifact Repair - De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
- color
Enhance MpsTranscode Template Enhance Config Video Enhance Color Enhance - Color Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- denoise
Mps
Transcode Template Enhance Config Video Enhance Denoise - Video Noise Reduction Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- face
Enhance MpsTranscode Template Enhance Config Video Enhance Face Enhance - Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- frame
Rate MpsTranscode Template Enhance Config Video Enhance Frame Rate - Interpolation frame rate configuration.Note: This field may return null, indicating that no valid value can be obtained.
- hdr
Mps
Transcode Template Enhance Config Video Enhance Hdr - HDR configuration.Note: This field may return null, indicating that no valid value can be obtained.
- image
Quality MpsEnhance Transcode Template Enhance Config Video Enhance Image Quality Enhance - Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- low
Light MpsEnhance Transcode Template Enhance Config Video Enhance Low Light Enhance - Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- scratch
Repair MpsTranscode Template Enhance Config Video Enhance Scratch Repair - De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Mps
Transcode Template Enhance Config Video Enhance Sharp Enhance - Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- super
Resolution MpsTranscode Template Enhance Config Video Enhance Super Resolution - Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.
- artifact
Repair MpsTranscode Template Enhance Config Video Enhance Artifact Repair - De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
- color
Enhance MpsTranscode Template Enhance Config Video Enhance Color Enhance - Color Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- denoise
Mps
Transcode Template Enhance Config Video Enhance Denoise - Video Noise Reduction Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- face
Enhance MpsTranscode Template Enhance Config Video Enhance Face Enhance - Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- frame
Rate MpsTranscode Template Enhance Config Video Enhance Frame Rate - Interpolation frame rate configuration.Note: This field may return null, indicating that no valid value can be obtained.
- hdr
Mps
Transcode Template Enhance Config Video Enhance Hdr - HDR configuration.Note: This field may return null, indicating that no valid value can be obtained.
- image
Quality MpsEnhance Transcode Template Enhance Config Video Enhance Image Quality Enhance - Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- low
Light MpsEnhance Transcode Template Enhance Config Video Enhance Low Light Enhance - Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- scratch
Repair MpsTranscode Template Enhance Config Video Enhance Scratch Repair - De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Mps
Transcode Template Enhance Config Video Enhance Sharp Enhance - Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- super
Resolution MpsTranscode Template Enhance Config Video Enhance Super Resolution - Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.
- artifact_
repair MpsTranscode Template Enhance Config Video Enhance Artifact Repair - De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
- color_
enhance MpsTranscode Template Enhance Config Video Enhance Color Enhance - Color Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- denoise
Mps
Transcode Template Enhance Config Video Enhance Denoise - Video Noise Reduction Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- face_
enhance MpsTranscode Template Enhance Config Video Enhance Face Enhance - Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- frame_
rate MpsTranscode Template Enhance Config Video Enhance Frame Rate - Interpolation frame rate configuration.Note: This field may return null, indicating that no valid value can be obtained.
- hdr
Mps
Transcode Template Enhance Config Video Enhance Hdr - HDR configuration.Note: This field may return null, indicating that no valid value can be obtained.
- image_
quality_ Mpsenhance Transcode Template Enhance Config Video Enhance Image Quality Enhance - Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- low_
light_ Mpsenhance Transcode Template Enhance Config Video Enhance Low Light Enhance - Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- scratch_
repair MpsTranscode Template Enhance Config Video Enhance Scratch Repair - De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Mps
Transcode Template Enhance Config Video Enhance Sharp Enhance - Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- super_
resolution MpsTranscode Template Enhance Config Video Enhance Super Resolution - Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.
- artifact
Repair Property Map - De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
- color
Enhance Property Map - Color Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- denoise Property Map
- Video Noise Reduction Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- face
Enhance Property Map - Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- frame
Rate Property Map - Interpolation frame rate configuration.Note: This field may return null, indicating that no valid value can be obtained.
- hdr Property Map
- HDR configuration.Note: This field may return null, indicating that no valid value can be obtained.
- image
Quality Property MapEnhance - Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- low
Light Property MapEnhance - Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- scratch
Repair Property Map - De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
- Property Map
- Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
- super
Resolution Property Map - Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.
MpsTranscodeTemplateEnhanceConfigVideoEnhanceArtifactRepair, MpsTranscodeTemplateEnhanceConfigVideoEnhanceArtifactRepairArgs
MpsTranscodeTemplateEnhanceConfigVideoEnhanceColorEnhance, MpsTranscodeTemplateEnhanceConfigVideoEnhanceColorEnhanceArgs
MpsTranscodeTemplateEnhanceConfigVideoEnhanceDenoise, MpsTranscodeTemplateEnhanceConfigVideoEnhanceDenoiseArgs
MpsTranscodeTemplateEnhanceConfigVideoEnhanceFaceEnhance, MpsTranscodeTemplateEnhanceConfigVideoEnhanceFaceEnhanceArgs
MpsTranscodeTemplateEnhanceConfigVideoEnhanceFrameRate, MpsTranscodeTemplateEnhanceConfigVideoEnhanceFrameRateArgs
- Fps double
- Frame rate, value range: [0, 100], unit: Hz.Default value: 0.Note: For transcoding, this parameter will override the Fps inside the VideoTemplate.Note: This field may return null, indicating that no valid value can be obtained.
- Switch string
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- Fps float64
- Frame rate, value range: [0, 100], unit: Hz.Default value: 0.Note: For transcoding, this parameter will override the Fps inside the VideoTemplate.Note: This field may return null, indicating that no valid value can be obtained.
- Switch string
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- fps Double
- Frame rate, value range: [0, 100], unit: Hz.Default value: 0.Note: For transcoding, this parameter will override the Fps inside the VideoTemplate.Note: This field may return null, indicating that no valid value can be obtained.
- switch_ String
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- fps number
- Frame rate, value range: [0, 100], unit: Hz.Default value: 0.Note: For transcoding, this parameter will override the Fps inside the VideoTemplate.Note: This field may return null, indicating that no valid value can be obtained.
- switch string
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- fps float
- Frame rate, value range: [0, 100], unit: Hz.Default value: 0.Note: For transcoding, this parameter will override the Fps inside the VideoTemplate.Note: This field may return null, indicating that no valid value can be obtained.
- switch str
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- fps Number
- Frame rate, value range: [0, 100], unit: Hz.Default value: 0.Note: For transcoding, this parameter will override the Fps inside the VideoTemplate.Note: This field may return null, indicating that no valid value can be obtained.
- switch String
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
MpsTranscodeTemplateEnhanceConfigVideoEnhanceHdr, MpsTranscodeTemplateEnhanceConfigVideoEnhanceHdrArgs
- Switch string
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- Type string
- Type, optional value: HDR10/HLG.Default value: HDR10.Note: The encoding method of video needs to be libx265.Note: Video encoding bit depth is 10.Note: This field may return null, indicating that no valid value can be obtained.
- Switch string
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- Type string
- Type, optional value: HDR10/HLG.Default value: HDR10.Note: The encoding method of video needs to be libx265.Note: Video encoding bit depth is 10.Note: This field may return null, indicating that no valid value can be obtained.
- switch_ String
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- type String
- Type, optional value: HDR10/HLG.Default value: HDR10.Note: The encoding method of video needs to be libx265.Note: Video encoding bit depth is 10.Note: This field may return null, indicating that no valid value can be obtained.
- switch string
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- type string
- Type, optional value: HDR10/HLG.Default value: HDR10.Note: The encoding method of video needs to be libx265.Note: Video encoding bit depth is 10.Note: This field may return null, indicating that no valid value can be obtained.
- switch str
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- type str
- Type, optional value: HDR10/HLG.Default value: HDR10.Note: The encoding method of video needs to be libx265.Note: Video encoding bit depth is 10.Note: This field may return null, indicating that no valid value can be obtained.
- switch String
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- type String
- Type, optional value: HDR10/HLG.Default value: HDR10.Note: The encoding method of video needs to be libx265.Note: Video encoding bit depth is 10.Note: This field may return null, indicating that no valid value can be obtained.
MpsTranscodeTemplateEnhanceConfigVideoEnhanceImageQualityEnhance, MpsTranscodeTemplateEnhanceConfigVideoEnhanceImageQualityEnhanceArgs
MpsTranscodeTemplateEnhanceConfigVideoEnhanceLowLightEnhance, MpsTranscodeTemplateEnhanceConfigVideoEnhanceLowLightEnhanceArgs
MpsTranscodeTemplateEnhanceConfigVideoEnhanceScratchRepair, MpsTranscodeTemplateEnhanceConfigVideoEnhanceScratchRepairArgs
MpsTranscodeTemplateEnhanceConfigVideoEnhanceSharpEnhance, MpsTranscodeTemplateEnhanceConfigVideoEnhanceSharpEnhanceArgs
MpsTranscodeTemplateEnhanceConfigVideoEnhanceSuperResolution, MpsTranscodeTemplateEnhanceConfigVideoEnhanceSuperResolutionArgs
- Size double
- Super resolution multiple, optional value:2: currently only supports 2x super resolution.Default value: 2.Note: This field may return null, indicating that no valid value can be obtained.
- Switch string
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- Type string
- Type, optional value:lq: super-resolution for low-definition video with more noise.hq: super resolution for high-definition video.Default value: lq.Note: This field may return null, indicating that no valid value can be obtained.
- Size float64
- Super resolution multiple, optional value:2: currently only supports 2x super resolution.Default value: 2.Note: This field may return null, indicating that no valid value can be obtained.
- Switch string
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- Type string
- Type, optional value:lq: super-resolution for low-definition video with more noise.hq: super resolution for high-definition video.Default value: lq.Note: This field may return null, indicating that no valid value can be obtained.
- size Double
- Super resolution multiple, optional value:2: currently only supports 2x super resolution.Default value: 2.Note: This field may return null, indicating that no valid value can be obtained.
- switch_ String
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- type String
- Type, optional value:lq: super-resolution for low-definition video with more noise.hq: super resolution for high-definition video.Default value: lq.Note: This field may return null, indicating that no valid value can be obtained.
- size number
- Super resolution multiple, optional value:2: currently only supports 2x super resolution.Default value: 2.Note: This field may return null, indicating that no valid value can be obtained.
- switch string
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- type string
- Type, optional value:lq: super-resolution for low-definition video with more noise.hq: super resolution for high-definition video.Default value: lq.Note: This field may return null, indicating that no valid value can be obtained.
- size float
- Super resolution multiple, optional value:2: currently only supports 2x super resolution.Default value: 2.Note: This field may return null, indicating that no valid value can be obtained.
- switch str
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- type str
- Type, optional value:lq: super-resolution for low-definition video with more noise.hq: super resolution for high-definition video.Default value: lq.Note: This field may return null, indicating that no valid value can be obtained.
- size Number
- Super resolution multiple, optional value:2: currently only supports 2x super resolution.Default value: 2.Note: This field may return null, indicating that no valid value can be obtained.
- switch String
- Capability configuration switch, optional value: ON/OFF.Default value: ON.
- type String
- Type, optional value:lq: super-resolution for low-definition video with more noise.hq: super resolution for high-definition video.Default value: lq.Note: This field may return null, indicating that no valid value can be obtained.
MpsTranscodeTemplateTehdConfig, MpsTranscodeTemplateTehdConfigArgs
- Type string
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- Max
Video doubleBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- Type string
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- Max
Video float64Bitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type String
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- max
Video DoubleBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type string
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- max
Video numberBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type str
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- max_
video_ floatbitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type String
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- max
Video NumberBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
MpsTranscodeTemplateVideoTemplate, MpsTranscodeTemplateVideoTemplateArgs
- Bitrate double
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- Codec string
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- Fps double
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- Fill
Type string - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- Gop double
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- Height double
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- Resolution
Adaptive string - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- Vcrf double
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- Width double
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- Bitrate float64
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- Codec string
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- Fps float64
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- Fill
Type string - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- Gop float64
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- Height float64
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- Resolution
Adaptive string - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- Vcrf float64
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- Width float64
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- bitrate Double
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- codec String
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- fps Double
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- fill
Type String - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- gop Double
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- height Double
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- resolution
Adaptive String - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- vcrf Double
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- width Double
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- bitrate number
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- codec string
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- fps number
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- fill
Type string - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- gop number
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- height number
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- resolution
Adaptive string - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- vcrf number
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- width number
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- bitrate float
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- codec str
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- fps float
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- fill_
type str - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- gop float
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- height float
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- resolution_
adaptive str - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- vcrf float
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- width float
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- bitrate Number
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- codec String
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- fps Number
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- fill
Type String - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- gop Number
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- height Number
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- resolution
Adaptive String - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- vcrf Number
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- width Number
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
Import
mps transcode_template can be imported using the id, e.g.
$ pulumi import tencentcloud:index/mpsTranscodeTemplate:MpsTranscodeTemplate transcode_template transcode_template_id
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.