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

tencentcloud.MpsTranscodeTemplate

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    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.
    AudioTemplate MpsTranscodeTemplateAudioTemplate
    Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
    Comment string
    Template description information, length limit: 256 characters.
    EnhanceConfig MpsTranscodeTemplateEnhanceConfig
    Audio and video enhancement configuration.
    MpsTranscodeTemplateId string
    ID of the resource.
    Name string
    Transcoding template name, length limit: 64 characters.
    RemoveAudio double
    Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
    RemoveVideo double
    Whether to remove video data, value:0: reserved.1: remove.Default: 0.
    TehdConfig MpsTranscodeTemplateTehdConfig
    Ultra-fast HD transcoding parameters.
    VideoTemplate MpsTranscodeTemplateVideoTemplate
    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.
    AudioTemplate MpsTranscodeTemplateAudioTemplateArgs
    Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
    Comment string
    Template description information, length limit: 256 characters.
    EnhanceConfig MpsTranscodeTemplateEnhanceConfigArgs
    Audio and video enhancement configuration.
    MpsTranscodeTemplateId string
    ID of the resource.
    Name string
    Transcoding template name, length limit: 64 characters.
    RemoveAudio float64
    Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
    RemoveVideo float64
    Whether to remove video data, value:0: reserved.1: remove.Default: 0.
    TehdConfig MpsTranscodeTemplateTehdConfigArgs
    Ultra-fast HD transcoding parameters.
    VideoTemplate MpsTranscodeTemplateVideoTemplateArgs
    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.
    audioTemplate MpsTranscodeTemplateAudioTemplate
    Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
    comment String
    Template description information, length limit: 256 characters.
    enhanceConfig MpsTranscodeTemplateEnhanceConfig
    Audio and video enhancement configuration.
    mpsTranscodeTemplateId String
    ID of the resource.
    name String
    Transcoding template name, length limit: 64 characters.
    removeAudio Double
    Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
    removeVideo Double
    Whether to remove video data, value:0: reserved.1: remove.Default: 0.
    tehdConfig MpsTranscodeTemplateTehdConfig
    Ultra-fast HD transcoding parameters.
    videoTemplate MpsTranscodeTemplateVideoTemplate
    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.
    audioTemplate MpsTranscodeTemplateAudioTemplate
    Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
    comment string
    Template description information, length limit: 256 characters.
    enhanceConfig MpsTranscodeTemplateEnhanceConfig
    Audio and video enhancement configuration.
    mpsTranscodeTemplateId string
    ID of the resource.
    name string
    Transcoding template name, length limit: 64 characters.
    removeAudio number
    Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
    removeVideo number
    Whether to remove video data, value:0: reserved.1: remove.Default: 0.
    tehdConfig MpsTranscodeTemplateTehdConfig
    Ultra-fast HD transcoding parameters.
    videoTemplate MpsTranscodeTemplateVideoTemplate
    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 MpsTranscodeTemplateAudioTemplateArgs
    Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
    comment str
    Template description information, length limit: 256 characters.
    enhance_config MpsTranscodeTemplateEnhanceConfigArgs
    Audio and video enhancement configuration.
    mps_transcode_template_id str
    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 MpsTranscodeTemplateTehdConfigArgs
    Ultra-fast HD transcoding parameters.
    video_template MpsTranscodeTemplateVideoTemplateArgs
    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.
    audioTemplate Property Map
    Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
    comment String
    Template description information, length limit: 256 characters.
    enhanceConfig Property Map
    Audio and video enhancement configuration.
    mpsTranscodeTemplateId String
    ID of the resource.
    name String
    Transcoding template name, length limit: 64 characters.
    removeAudio Number
    Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
    removeVideo Number
    Whether to remove video data, value:0: reserved.1: remove.Default: 0.
    tehdConfig Property Map
    Ultra-fast HD transcoding parameters.
    videoTemplate 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.
    The following state arguments are supported:
    AudioTemplate MpsTranscodeTemplateAudioTemplate
    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.
    EnhanceConfig MpsTranscodeTemplateEnhanceConfig
    Audio and video enhancement configuration.
    MpsTranscodeTemplateId string
    ID of the resource.
    Name string
    Transcoding template name, length limit: 64 characters.
    RemoveAudio double
    Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
    RemoveVideo double
    Whether to remove video data, value:0: reserved.1: remove.Default: 0.
    TehdConfig MpsTranscodeTemplateTehdConfig
    Ultra-fast HD transcoding parameters.
    VideoTemplate MpsTranscodeTemplateVideoTemplate
    Video stream configuration parameters, when RemoveVideo is 0, this field is required.
    AudioTemplate MpsTranscodeTemplateAudioTemplateArgs
    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.
    EnhanceConfig MpsTranscodeTemplateEnhanceConfigArgs
    Audio and video enhancement configuration.
    MpsTranscodeTemplateId string
    ID of the resource.
    Name string
    Transcoding template name, length limit: 64 characters.
    RemoveAudio float64
    Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
    RemoveVideo float64
    Whether to remove video data, value:0: reserved.1: remove.Default: 0.
    TehdConfig MpsTranscodeTemplateTehdConfigArgs
    Ultra-fast HD transcoding parameters.
    VideoTemplate MpsTranscodeTemplateVideoTemplateArgs
    Video stream configuration parameters, when RemoveVideo is 0, this field is required.
    audioTemplate MpsTranscodeTemplateAudioTemplate
    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.
    enhanceConfig MpsTranscodeTemplateEnhanceConfig
    Audio and video enhancement configuration.
    mpsTranscodeTemplateId String
    ID of the resource.
    name String
    Transcoding template name, length limit: 64 characters.
    removeAudio Double
    Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
    removeVideo Double
    Whether to remove video data, value:0: reserved.1: remove.Default: 0.
    tehdConfig MpsTranscodeTemplateTehdConfig
    Ultra-fast HD transcoding parameters.
    videoTemplate MpsTranscodeTemplateVideoTemplate
    Video stream configuration parameters, when RemoveVideo is 0, this field is required.
    audioTemplate MpsTranscodeTemplateAudioTemplate
    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.
    enhanceConfig MpsTranscodeTemplateEnhanceConfig
    Audio and video enhancement configuration.
    mpsTranscodeTemplateId string
    ID of the resource.
    name string
    Transcoding template name, length limit: 64 characters.
    removeAudio number
    Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
    removeVideo number
    Whether to remove video data, value:0: reserved.1: remove.Default: 0.
    tehdConfig MpsTranscodeTemplateTehdConfig
    Ultra-fast HD transcoding parameters.
    videoTemplate MpsTranscodeTemplateVideoTemplate
    Video stream configuration parameters, when RemoveVideo is 0, this field is required.
    audio_template MpsTranscodeTemplateAudioTemplateArgs
    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 MpsTranscodeTemplateEnhanceConfigArgs
    Audio and video enhancement configuration.
    mps_transcode_template_id str
    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 MpsTranscodeTemplateTehdConfigArgs
    Ultra-fast HD transcoding parameters.
    video_template MpsTranscodeTemplateVideoTemplateArgs
    Video stream configuration parameters, when RemoveVideo is 0, this field is required.
    audioTemplate 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.
    enhanceConfig Property Map
    Audio and video enhancement configuration.
    mpsTranscodeTemplateId String
    ID of the resource.
    name String
    Transcoding template name, length limit: 64 characters.
    removeAudio Number
    Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
    removeVideo Number
    Whether to remove video data, value:0: reserved.1: remove.Default: 0.
    tehdConfig Property Map
    Ultra-fast HD transcoding parameters.
    videoTemplate 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.
    SampleRate double
    Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
    AudioChannel 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.
    SampleRate float64
    Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
    AudioChannel 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.
    sampleRate Double
    Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
    audioChannel 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.
    sampleRate number
    Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
    audioChannel 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.
    sampleRate Number
    Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
    audioChannel 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

    VideoEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhance
    Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    VideoEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhance
    Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    videoEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhance
    Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    videoEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhance
    Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    video_enhance MpsTranscodeTemplateEnhanceConfigVideoEnhance
    Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    videoEnhance Property Map
    Video Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.

    MpsTranscodeTemplateEnhanceConfigVideoEnhance, MpsTranscodeTemplateEnhanceConfigVideoEnhanceArgs

    ArtifactRepair MpsTranscodeTemplateEnhanceConfigVideoEnhanceArtifactRepair
    De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
    ColorEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceColorEnhance
    Color Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    Denoise MpsTranscodeTemplateEnhanceConfigVideoEnhanceDenoise
    Video Noise Reduction Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    FaceEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceFaceEnhance
    Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    FrameRate MpsTranscodeTemplateEnhanceConfigVideoEnhanceFrameRate
    Interpolation frame rate configuration.Note: This field may return null, indicating that no valid value can be obtained.
    Hdr MpsTranscodeTemplateEnhanceConfigVideoEnhanceHdr
    HDR configuration.Note: This field may return null, indicating that no valid value can be obtained.
    ImageQualityEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceImageQualityEnhance
    Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    LowLightEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceLowLightEnhance
    Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    ScratchRepair MpsTranscodeTemplateEnhanceConfigVideoEnhanceScratchRepair
    De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
    SharpEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceSharpEnhance
    Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    SuperResolution MpsTranscodeTemplateEnhanceConfigVideoEnhanceSuperResolution
    Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.
    ArtifactRepair MpsTranscodeTemplateEnhanceConfigVideoEnhanceArtifactRepair
    De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
    ColorEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceColorEnhance
    Color Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    Denoise MpsTranscodeTemplateEnhanceConfigVideoEnhanceDenoise
    Video Noise Reduction Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    FaceEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceFaceEnhance
    Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    FrameRate MpsTranscodeTemplateEnhanceConfigVideoEnhanceFrameRate
    Interpolation frame rate configuration.Note: This field may return null, indicating that no valid value can be obtained.
    Hdr MpsTranscodeTemplateEnhanceConfigVideoEnhanceHdr
    HDR configuration.Note: This field may return null, indicating that no valid value can be obtained.
    ImageQualityEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceImageQualityEnhance
    Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    LowLightEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceLowLightEnhance
    Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    ScratchRepair MpsTranscodeTemplateEnhanceConfigVideoEnhanceScratchRepair
    De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
    SharpEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceSharpEnhance
    Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    SuperResolution MpsTranscodeTemplateEnhanceConfigVideoEnhanceSuperResolution
    Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.
    artifactRepair MpsTranscodeTemplateEnhanceConfigVideoEnhanceArtifactRepair
    De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
    colorEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceColorEnhance
    Color Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    denoise MpsTranscodeTemplateEnhanceConfigVideoEnhanceDenoise
    Video Noise Reduction Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    faceEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceFaceEnhance
    Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    frameRate MpsTranscodeTemplateEnhanceConfigVideoEnhanceFrameRate
    Interpolation frame rate configuration.Note: This field may return null, indicating that no valid value can be obtained.
    hdr MpsTranscodeTemplateEnhanceConfigVideoEnhanceHdr
    HDR configuration.Note: This field may return null, indicating that no valid value can be obtained.
    imageQualityEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceImageQualityEnhance
    Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    lowLightEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceLowLightEnhance
    Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    scratchRepair MpsTranscodeTemplateEnhanceConfigVideoEnhanceScratchRepair
    De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
    sharpEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceSharpEnhance
    Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    superResolution MpsTranscodeTemplateEnhanceConfigVideoEnhanceSuperResolution
    Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.
    artifactRepair MpsTranscodeTemplateEnhanceConfigVideoEnhanceArtifactRepair
    De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
    colorEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceColorEnhance
    Color Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    denoise MpsTranscodeTemplateEnhanceConfigVideoEnhanceDenoise
    Video Noise Reduction Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    faceEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceFaceEnhance
    Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    frameRate MpsTranscodeTemplateEnhanceConfigVideoEnhanceFrameRate
    Interpolation frame rate configuration.Note: This field may return null, indicating that no valid value can be obtained.
    hdr MpsTranscodeTemplateEnhanceConfigVideoEnhanceHdr
    HDR configuration.Note: This field may return null, indicating that no valid value can be obtained.
    imageQualityEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceImageQualityEnhance
    Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    lowLightEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceLowLightEnhance
    Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    scratchRepair MpsTranscodeTemplateEnhanceConfigVideoEnhanceScratchRepair
    De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
    sharpEnhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceSharpEnhance
    Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    superResolution MpsTranscodeTemplateEnhanceConfigVideoEnhanceSuperResolution
    Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.
    artifact_repair MpsTranscodeTemplateEnhanceConfigVideoEnhanceArtifactRepair
    De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
    color_enhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceColorEnhance
    Color Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    denoise MpsTranscodeTemplateEnhanceConfigVideoEnhanceDenoise
    Video Noise Reduction Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    face_enhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceFaceEnhance
    Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    frame_rate MpsTranscodeTemplateEnhanceConfigVideoEnhanceFrameRate
    Interpolation frame rate configuration.Note: This field may return null, indicating that no valid value can be obtained.
    hdr MpsTranscodeTemplateEnhanceConfigVideoEnhanceHdr
    HDR configuration.Note: This field may return null, indicating that no valid value can be obtained.
    image_quality_enhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceImageQualityEnhance
    Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    low_light_enhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceLowLightEnhance
    Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    scratch_repair MpsTranscodeTemplateEnhanceConfigVideoEnhanceScratchRepair
    De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
    sharp_enhance MpsTranscodeTemplateEnhanceConfigVideoEnhanceSharpEnhance
    Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    super_resolution MpsTranscodeTemplateEnhanceConfigVideoEnhanceSuperResolution
    Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.
    artifactRepair Property Map
    De-artifact (glitch) configuration.Note: This field may return null, indicating that no valid value can be obtained.
    colorEnhance 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.
    faceEnhance Property Map
    Face Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    frameRate 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.
    imageQualityEnhance Property Map
    Comprehensive Enhanced Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    lowLightEnhance Property Map
    Low Light Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    scratchRepair Property Map
    De-scratch configuration.Note: This field may return null, indicating that no valid value can be obtained.
    sharpEnhance Property Map
    Detail Enhancement Configuration.Note: This field may return null, indicating that no valid value can be obtained.
    superResolution Property Map
    Super resolution configuration.Note: This field may return null, indicating that no valid value can be obtained.

    MpsTranscodeTemplateEnhanceConfigVideoEnhanceArtifactRepair, MpsTranscodeTemplateEnhanceConfigVideoEnhanceArtifactRepairArgs

    Switch string
    Capability configuration switch, optional value: ON/OFF.Default value: ON.
    Type string
    Type, optional value: weak/strong.Default value: weak.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: weak/strong.Default value: weak.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: weak/strong.Default value: weak.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: weak/strong.Default value: weak.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: weak/strong.Default value: weak.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: weak/strong.Default value: weak.Note: This field may return null, indicating that no valid value can be obtained.

    MpsTranscodeTemplateEnhanceConfigVideoEnhanceColorEnhance, MpsTranscodeTemplateEnhanceConfigVideoEnhanceColorEnhanceArgs

    Switch string
    Capability configuration switch, optional value: ON/OFF.Default value: ON.
    Type string
    Type, optional value: weak/normal/strong.Default value: weak.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: weak/normal/strong.Default value: weak.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: weak/normal/strong.Default value: weak.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: weak/normal/strong.Default value: weak.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: weak/normal/strong.Default value: weak.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: weak/normal/strong.Default value: weak.Note: This field may return null, indicating that no valid value can be obtained.

    MpsTranscodeTemplateEnhanceConfigVideoEnhanceDenoise, MpsTranscodeTemplateEnhanceConfigVideoEnhanceDenoiseArgs

    Switch string
    Capability configuration switch, optional value: ON/OFF.Default value: ON.
    Type string
    Type, optional value: weak/strong.Default value: weak.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: weak/strong.Default value: weak.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: weak/strong.Default value: weak.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: weak/strong.Default value: weak.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: weak/strong.Default value: weak.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: weak/strong.Default value: weak.Note: This field may return null, indicating that no valid value can be obtained.

    MpsTranscodeTemplateEnhanceConfigVideoEnhanceFaceEnhance, MpsTranscodeTemplateEnhanceConfigVideoEnhanceFaceEnhanceArgs

    Intensity double
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    Intensity float64
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity Double
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity number
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity float
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity Number
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.

    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

    Switch string
    Capability configuration switch, optional value: ON/OFF.Default value: ON.
    Type string
    Type, optional value: weak/normal/strong.Default value: weak.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: weak/normal/strong.Default value: weak.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: weak/normal/strong.Default value: weak.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: weak/normal/strong.Default value: weak.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: weak/normal/strong.Default value: weak.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: weak/normal/strong.Default value: weak.Note: This field may return null, indicating that no valid value can be obtained.

    MpsTranscodeTemplateEnhanceConfigVideoEnhanceLowLightEnhance, MpsTranscodeTemplateEnhanceConfigVideoEnhanceLowLightEnhanceArgs

    Switch string
    Capability configuration switch, optional value: ON/OFF.Default value: ON.
    Type string
    Type, optional value: normal.Default value: normal.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: normal.Default value: normal.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: normal.Default value: normal.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: normal.Default value: normal.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: normal.Default value: normal.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: normal.Default value: normal.Note: This field may return null, indicating that no valid value can be obtained.

    MpsTranscodeTemplateEnhanceConfigVideoEnhanceScratchRepair, MpsTranscodeTemplateEnhanceConfigVideoEnhanceScratchRepairArgs

    Intensity double
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    Intensity float64
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity Double
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity number
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity float
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity Number
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.

    MpsTranscodeTemplateEnhanceConfigVideoEnhanceSharpEnhance, MpsTranscodeTemplateEnhanceConfigVideoEnhanceSharpEnhanceArgs

    Intensity double
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    Intensity float64
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity Double
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity number
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity float
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.
    intensity Number
    Intensity, value range: 0.0~1.0.Default value: 0.0.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.

    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.
    MaxVideoBitrate double
    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.
    MaxVideoBitrate float64
    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.
    maxVideoBitrate Double
    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.
    maxVideoBitrate number
    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_bitrate float
    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.
    maxVideoBitrate Number
    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].
    FillType 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.
    ResolutionAdaptive 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].
    FillType 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.
    ResolutionAdaptive 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].
    fillType 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.
    resolutionAdaptive 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].
    fillType 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.
    resolutionAdaptive 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].
    fillType 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.
    resolutionAdaptive 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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack