1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. MpsWorkflow
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.MpsWorkflow

Explore with Pulumi AI

Provides a resource to create a mps workflow

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MpsWorkflow;
import com.pulumi.tencentcloud.MpsWorkflowArgs;
import com.pulumi.tencentcloud.inputs.MpsWorkflowAiAnalysisTaskArgs;
import com.pulumi.tencentcloud.inputs.MpsWorkflowAiContentReviewTaskArgs;
import com.pulumi.tencentcloud.inputs.MpsWorkflowAiRecognitionTaskArgs;
import com.pulumi.tencentcloud.inputs.MpsWorkflowMediaProcessTaskArgs;
import com.pulumi.tencentcloud.inputs.MpsWorkflowOutputStorageArgs;
import com.pulumi.tencentcloud.inputs.MpsWorkflowOutputStorageCosOutputStorageArgs;
import com.pulumi.tencentcloud.inputs.MpsWorkflowTriggerArgs;
import com.pulumi.tencentcloud.inputs.MpsWorkflowTriggerCosFileUploadTriggerArgs;
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 workflow = new MpsWorkflow("workflow", MpsWorkflowArgs.builder()
            .aiAnalysisTask(MpsWorkflowAiAnalysisTaskArgs.builder()
                .definition(20)
                .build())
            .aiContentReviewTask(MpsWorkflowAiContentReviewTaskArgs.builder()
                .definition(20)
                .build())
            .aiRecognitionTask(MpsWorkflowAiRecognitionTaskArgs.builder()
                .definition(20)
                .build())
            .mediaProcessTask(MpsWorkflowMediaProcessTaskArgs.builder()
                .adaptiveDynamicStreamingTaskSets(MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetArgs.builder()
                    .definition(12)
                    .outputObjectPath("/out")
                    .outputStorage(MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorageArgs.builder()
                        .cosOutputStorage(MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorageCosOutputStorageArgs.builder()
                            .bucket("cos-lock-1308919341")
                            .region("ap-guangzhou")
                            .build())
                        .type("COS")
                        .build())
                    .segmentObjectName("/out")
                    .subStreamObjectName("/out/out/")
                    .build())
                .animatedGraphicTaskSets(MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetArgs.builder()
                    .definition(20000)
                    .endTimeOffset(0)
                    .outputObjectPath("/test/")
                    .outputStorage(MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorageArgs.builder()
                        .cosOutputStorage(MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorageCosOutputStorageArgs.builder()
                            .bucket("cos-lock-1308919341")
                            .region("ap-guangzhou")
                            .build())
                        .type("COS")
                        .build())
                    .startTimeOffset(0)
                    .build())
                .snapshotByTimeOffsetTaskSets(MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetArgs.builder()
                    .definition(10)
                    .extTimeOffsetSet("1s")
                    .outputObjectPath("/snapshot/")
                    .outputStorage(MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorageArgs.builder()
                        .cosOutputStorage(MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorageCosOutputStorageArgs.builder()
                            .bucket("cos-lock-1308919341")
                            .region("ap-guangzhou")
                            .build())
                        .type("COS")
                        .build())
                    .timeOffsetSet()
                    .build())
                .build())
            .outputDir("/")
            .outputStorage(MpsWorkflowOutputStorageArgs.builder()
                .cosOutputStorage(MpsWorkflowOutputStorageCosOutputStorageArgs.builder()
                    .bucket("cos-lock-1308919341")
                    .region("ap-guangzhou")
                    .build())
                .type("COS")
                .build())
            .taskPriority(0)
            .trigger(MpsWorkflowTriggerArgs.builder()
                .cosFileUploadTrigger(MpsWorkflowTriggerCosFileUploadTriggerArgs.builder()
                    .bucket("cos-lock-1308919341")
                    .dir("/")
                    .region("ap-guangzhou")
                    .build())
                .type("CosFileUpload")
                .build())
            .workflowName("tf-workflow")
            .build());

    }
}
Copy
resources:
  workflow:
    type: tencentcloud:MpsWorkflow
    properties:
      aiAnalysisTask:
        definition: 20
      aiContentReviewTask:
        definition: 20
      aiRecognitionTask:
        definition: 20
      mediaProcessTask:
        adaptiveDynamicStreamingTaskSets:
          - definition: 12
            outputObjectPath: /out
            outputStorage:
              cosOutputStorage:
                bucket: cos-lock-1308919341
                region: ap-guangzhou
              type: COS
            segmentObjectName: /out
            subStreamObjectName: /out/out/
        animatedGraphicTaskSets:
          - definition: 20000
            endTimeOffset: 0
            outputObjectPath: /test/
            outputStorage:
              cosOutputStorage:
                bucket: cos-lock-1308919341
                region: ap-guangzhou
              type: COS
            startTimeOffset: 0
        snapshotByTimeOffsetTaskSets:
          - definition: 10
            extTimeOffsetSet:
              - 1s
            outputObjectPath: /snapshot/
            outputStorage:
              cosOutputStorage:
                bucket: cos-lock-1308919341
                region: ap-guangzhou
              type: COS
            timeOffsetSet: []
      outputDir: /
      outputStorage:
        cosOutputStorage:
          bucket: cos-lock-1308919341
          region: ap-guangzhou
        type: COS
      taskPriority: 0
      trigger:
        cosFileUploadTrigger:
          bucket: cos-lock-1308919341
          dir: /
          region: ap-guangzhou
        type: CosFileUpload
      workflowName: tf-workflow
Copy

Create MpsWorkflow Resource

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

Constructor syntax

new MpsWorkflow(name: string, args: MpsWorkflowArgs, opts?: CustomResourceOptions);
@overload
def MpsWorkflow(resource_name: str,
                args: MpsWorkflowArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def MpsWorkflow(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                trigger: Optional[MpsWorkflowTriggerArgs] = None,
                workflow_name: Optional[str] = None,
                ai_analysis_task: Optional[MpsWorkflowAiAnalysisTaskArgs] = None,
                ai_content_review_task: Optional[MpsWorkflowAiContentReviewTaskArgs] = None,
                ai_recognition_task: Optional[MpsWorkflowAiRecognitionTaskArgs] = None,
                media_process_task: Optional[MpsWorkflowMediaProcessTaskArgs] = None,
                mps_workflow_id: Optional[str] = None,
                output_dir: Optional[str] = None,
                output_storage: Optional[MpsWorkflowOutputStorageArgs] = None,
                task_notify_config: Optional[MpsWorkflowTaskNotifyConfigArgs] = None,
                task_priority: Optional[float] = None)
func NewMpsWorkflow(ctx *Context, name string, args MpsWorkflowArgs, opts ...ResourceOption) (*MpsWorkflow, error)
public MpsWorkflow(string name, MpsWorkflowArgs args, CustomResourceOptions? opts = null)
public MpsWorkflow(String name, MpsWorkflowArgs args)
public MpsWorkflow(String name, MpsWorkflowArgs args, CustomResourceOptions options)
type: tencentcloud:MpsWorkflow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MpsWorkflowArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MpsWorkflowArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MpsWorkflowArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MpsWorkflowArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MpsWorkflowArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

Trigger This property is required. MpsWorkflowTrigger
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
WorkflowName This property is required. string
Workflow name, up to 128 characters. The name is unique for the same user.
AiAnalysisTask MpsWorkflowAiAnalysisTask
Video Content Analysis Type Task Parameters.
AiContentReviewTask MpsWorkflowAiContentReviewTask
Video Content Moderation Type Task Parameters.
AiRecognitionTask MpsWorkflowAiRecognitionTask
Video content recognition type task parameters.
MediaProcessTask MpsWorkflowMediaProcessTask
Media Processing Type Task Parameters.
MpsWorkflowId string
ID of the resource.
OutputDir string
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
OutputStorage MpsWorkflowOutputStorage
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
TaskNotifyConfig MpsWorkflowTaskNotifyConfig
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
TaskPriority double
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.
Trigger This property is required. MpsWorkflowTriggerArgs
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
WorkflowName This property is required. string
Workflow name, up to 128 characters. The name is unique for the same user.
AiAnalysisTask MpsWorkflowAiAnalysisTaskArgs
Video Content Analysis Type Task Parameters.
AiContentReviewTask MpsWorkflowAiContentReviewTaskArgs
Video Content Moderation Type Task Parameters.
AiRecognitionTask MpsWorkflowAiRecognitionTaskArgs
Video content recognition type task parameters.
MediaProcessTask MpsWorkflowMediaProcessTaskArgs
Media Processing Type Task Parameters.
MpsWorkflowId string
ID of the resource.
OutputDir string
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
OutputStorage MpsWorkflowOutputStorageArgs
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
TaskNotifyConfig MpsWorkflowTaskNotifyConfigArgs
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
TaskPriority float64
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.
trigger This property is required. MpsWorkflowTrigger
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
workflowName This property is required. String
Workflow name, up to 128 characters. The name is unique for the same user.
aiAnalysisTask MpsWorkflowAiAnalysisTask
Video Content Analysis Type Task Parameters.
aiContentReviewTask MpsWorkflowAiContentReviewTask
Video Content Moderation Type Task Parameters.
aiRecognitionTask MpsWorkflowAiRecognitionTask
Video content recognition type task parameters.
mediaProcessTask MpsWorkflowMediaProcessTask
Media Processing Type Task Parameters.
mpsWorkflowId String
ID of the resource.
outputDir String
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
outputStorage MpsWorkflowOutputStorage
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
taskNotifyConfig MpsWorkflowTaskNotifyConfig
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
taskPriority Double
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.
trigger This property is required. MpsWorkflowTrigger
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
workflowName This property is required. string
Workflow name, up to 128 characters. The name is unique for the same user.
aiAnalysisTask MpsWorkflowAiAnalysisTask
Video Content Analysis Type Task Parameters.
aiContentReviewTask MpsWorkflowAiContentReviewTask
Video Content Moderation Type Task Parameters.
aiRecognitionTask MpsWorkflowAiRecognitionTask
Video content recognition type task parameters.
mediaProcessTask MpsWorkflowMediaProcessTask
Media Processing Type Task Parameters.
mpsWorkflowId string
ID of the resource.
outputDir string
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
outputStorage MpsWorkflowOutputStorage
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
taskNotifyConfig MpsWorkflowTaskNotifyConfig
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
taskPriority number
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.
trigger This property is required. MpsWorkflowTriggerArgs
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
workflow_name This property is required. str
Workflow name, up to 128 characters. The name is unique for the same user.
ai_analysis_task MpsWorkflowAiAnalysisTaskArgs
Video Content Analysis Type Task Parameters.
ai_content_review_task MpsWorkflowAiContentReviewTaskArgs
Video Content Moderation Type Task Parameters.
ai_recognition_task MpsWorkflowAiRecognitionTaskArgs
Video content recognition type task parameters.
media_process_task MpsWorkflowMediaProcessTaskArgs
Media Processing Type Task Parameters.
mps_workflow_id str
ID of the resource.
output_dir str
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
output_storage MpsWorkflowOutputStorageArgs
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
task_notify_config MpsWorkflowTaskNotifyConfigArgs
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
task_priority float
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.
trigger This property is required. Property Map
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
workflowName This property is required. String
Workflow name, up to 128 characters. The name is unique for the same user.
aiAnalysisTask Property Map
Video Content Analysis Type Task Parameters.
aiContentReviewTask Property Map
Video Content Moderation Type Task Parameters.
aiRecognitionTask Property Map
Video content recognition type task parameters.
mediaProcessTask Property Map
Media Processing Type Task Parameters.
mpsWorkflowId String
ID of the resource.
outputDir String
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
outputStorage Property Map
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
taskNotifyConfig Property Map
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
taskPriority Number
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.

Outputs

All input properties are implicitly available as output properties. Additionally, the MpsWorkflow 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 MpsWorkflow Resource

Get an existing MpsWorkflow 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?: MpsWorkflowState, opts?: CustomResourceOptions): MpsWorkflow
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ai_analysis_task: Optional[MpsWorkflowAiAnalysisTaskArgs] = None,
        ai_content_review_task: Optional[MpsWorkflowAiContentReviewTaskArgs] = None,
        ai_recognition_task: Optional[MpsWorkflowAiRecognitionTaskArgs] = None,
        media_process_task: Optional[MpsWorkflowMediaProcessTaskArgs] = None,
        mps_workflow_id: Optional[str] = None,
        output_dir: Optional[str] = None,
        output_storage: Optional[MpsWorkflowOutputStorageArgs] = None,
        task_notify_config: Optional[MpsWorkflowTaskNotifyConfigArgs] = None,
        task_priority: Optional[float] = None,
        trigger: Optional[MpsWorkflowTriggerArgs] = None,
        workflow_name: Optional[str] = None) -> MpsWorkflow
func GetMpsWorkflow(ctx *Context, name string, id IDInput, state *MpsWorkflowState, opts ...ResourceOption) (*MpsWorkflow, error)
public static MpsWorkflow Get(string name, Input<string> id, MpsWorkflowState? state, CustomResourceOptions? opts = null)
public static MpsWorkflow get(String name, Output<String> id, MpsWorkflowState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:MpsWorkflow    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AiAnalysisTask MpsWorkflowAiAnalysisTask
Video Content Analysis Type Task Parameters.
AiContentReviewTask MpsWorkflowAiContentReviewTask
Video Content Moderation Type Task Parameters.
AiRecognitionTask MpsWorkflowAiRecognitionTask
Video content recognition type task parameters.
MediaProcessTask MpsWorkflowMediaProcessTask
Media Processing Type Task Parameters.
MpsWorkflowId string
ID of the resource.
OutputDir string
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
OutputStorage MpsWorkflowOutputStorage
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
TaskNotifyConfig MpsWorkflowTaskNotifyConfig
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
TaskPriority double
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.
Trigger MpsWorkflowTrigger
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
WorkflowName string
Workflow name, up to 128 characters. The name is unique for the same user.
AiAnalysisTask MpsWorkflowAiAnalysisTaskArgs
Video Content Analysis Type Task Parameters.
AiContentReviewTask MpsWorkflowAiContentReviewTaskArgs
Video Content Moderation Type Task Parameters.
AiRecognitionTask MpsWorkflowAiRecognitionTaskArgs
Video content recognition type task parameters.
MediaProcessTask MpsWorkflowMediaProcessTaskArgs
Media Processing Type Task Parameters.
MpsWorkflowId string
ID of the resource.
OutputDir string
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
OutputStorage MpsWorkflowOutputStorageArgs
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
TaskNotifyConfig MpsWorkflowTaskNotifyConfigArgs
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
TaskPriority float64
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.
Trigger MpsWorkflowTriggerArgs
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
WorkflowName string
Workflow name, up to 128 characters. The name is unique for the same user.
aiAnalysisTask MpsWorkflowAiAnalysisTask
Video Content Analysis Type Task Parameters.
aiContentReviewTask MpsWorkflowAiContentReviewTask
Video Content Moderation Type Task Parameters.
aiRecognitionTask MpsWorkflowAiRecognitionTask
Video content recognition type task parameters.
mediaProcessTask MpsWorkflowMediaProcessTask
Media Processing Type Task Parameters.
mpsWorkflowId String
ID of the resource.
outputDir String
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
outputStorage MpsWorkflowOutputStorage
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
taskNotifyConfig MpsWorkflowTaskNotifyConfig
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
taskPriority Double
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.
trigger MpsWorkflowTrigger
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
workflowName String
Workflow name, up to 128 characters. The name is unique for the same user.
aiAnalysisTask MpsWorkflowAiAnalysisTask
Video Content Analysis Type Task Parameters.
aiContentReviewTask MpsWorkflowAiContentReviewTask
Video Content Moderation Type Task Parameters.
aiRecognitionTask MpsWorkflowAiRecognitionTask
Video content recognition type task parameters.
mediaProcessTask MpsWorkflowMediaProcessTask
Media Processing Type Task Parameters.
mpsWorkflowId string
ID of the resource.
outputDir string
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
outputStorage MpsWorkflowOutputStorage
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
taskNotifyConfig MpsWorkflowTaskNotifyConfig
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
taskPriority number
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.
trigger MpsWorkflowTrigger
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
workflowName string
Workflow name, up to 128 characters. The name is unique for the same user.
ai_analysis_task MpsWorkflowAiAnalysisTaskArgs
Video Content Analysis Type Task Parameters.
ai_content_review_task MpsWorkflowAiContentReviewTaskArgs
Video Content Moderation Type Task Parameters.
ai_recognition_task MpsWorkflowAiRecognitionTaskArgs
Video content recognition type task parameters.
media_process_task MpsWorkflowMediaProcessTaskArgs
Media Processing Type Task Parameters.
mps_workflow_id str
ID of the resource.
output_dir str
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
output_storage MpsWorkflowOutputStorageArgs
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
task_notify_config MpsWorkflowTaskNotifyConfigArgs
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
task_priority float
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.
trigger MpsWorkflowTriggerArgs
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
workflow_name str
Workflow name, up to 128 characters. The name is unique for the same user.
aiAnalysisTask Property Map
Video Content Analysis Type Task Parameters.
aiContentReviewTask Property Map
Video Content Moderation Type Task Parameters.
aiRecognitionTask Property Map
Video content recognition type task parameters.
mediaProcessTask Property Map
Media Processing Type Task Parameters.
mpsWorkflowId String
ID of the resource.
outputDir String
The target directory of the output file generated by media processing, if not filled, it means that it is consistent with the directory where the trigger file is located.
outputStorage Property Map
File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
taskNotifyConfig Property Map
The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
taskPriority Number
The priority of the workflow, the larger the value, the higher the priority, the value range is -10 to 10, and blank means 0.
trigger Property Map
The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
workflowName String
Workflow name, up to 128 characters. The name is unique for the same user.

Supporting Types

MpsWorkflowAiAnalysisTask
, MpsWorkflowAiAnalysisTaskArgs

Definition This property is required. double
Video Content Analysis Template ID.
ExtendedParameter string
Extension parameter whose value is a serialized json string.Note: This parameter is a customized demand parameter, which requires offline docking.Note: This field may return null, indicating that no valid value can be obtained.
Definition This property is required. float64
Video Content Analysis Template ID.
ExtendedParameter string
Extension parameter whose value is a serialized json string.Note: This parameter is a customized demand parameter, which requires offline docking.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. Double
Video Content Analysis Template ID.
extendedParameter String
Extension parameter whose value is a serialized json string.Note: This parameter is a customized demand parameter, which requires offline docking.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. number
Video Content Analysis Template ID.
extendedParameter string
Extension parameter whose value is a serialized json string.Note: This parameter is a customized demand parameter, which requires offline docking.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. float
Video Content Analysis Template ID.
extended_parameter str
Extension parameter whose value is a serialized json string.Note: This parameter is a customized demand parameter, which requires offline docking.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. Number
Video Content Analysis Template ID.
extendedParameter String
Extension parameter whose value is a serialized json string.Note: This parameter is a customized demand parameter, which requires offline docking.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowAiContentReviewTask
, MpsWorkflowAiContentReviewTaskArgs

Definition This property is required. double
Video Content Review Template ID.
Definition This property is required. float64
Video Content Review Template ID.
definition This property is required. Double
Video Content Review Template ID.
definition This property is required. number
Video Content Review Template ID.
definition This property is required. float
Video Content Review Template ID.
definition This property is required. Number
Video Content Review Template ID.

MpsWorkflowAiRecognitionTask
, MpsWorkflowAiRecognitionTaskArgs

Definition This property is required. double
Video Intelligent Recognition Template ID.
Definition This property is required. float64
Video Intelligent Recognition Template ID.
definition This property is required. Double
Video Intelligent Recognition Template ID.
definition This property is required. number
Video Intelligent Recognition Template ID.
definition This property is required. float
Video Intelligent Recognition Template ID.
definition This property is required. Number
Video Intelligent Recognition Template ID.

MpsWorkflowMediaProcessTask
, MpsWorkflowMediaProcessTaskArgs

adaptiveDynamicStreamingTaskSets List<Property Map>
Transfer Adaptive Code Stream Task List.
animatedGraphicTaskSets List<Property Map>
Video Rotation Map Task List.
imageSpriteTaskSets List<Property Map>
Sprite image capture task list for video.
sampleSnapshotTaskSets List<Property Map>
Screenshot task list for video sampling.
snapshotByTimeOffsetTaskSets List<Property Map>
Screenshot the task list of the video according to the time point.
transcodeTaskSets List<Property Map>
Video Transcoding Task List.

MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSet
, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetArgs

Definition This property is required. double
Watermark Template ID.
OutputObjectPath string
After converting to an adaptive stream, the output path of the manifest file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorage
The target storage of the file after converting to the adaptive code stream, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
SegmentObjectName string
After converting to an adaptive stream (only HLS), the output path of the fragmented file can only be a relative path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}.
SubStreamObjectName string
After converting to an adaptive stream, the output path of the sub-stream file can only be a relative path. If not filled, the default is a relative path: {inputName}adaptiveDynamicStreaming{definition}_{subStreamNumber}.{format}`.
WatermarkSets List<MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSet>
Watermark list, support multiple pictures or text watermarks, up to 10.
Definition This property is required. float64
Watermark Template ID.
OutputObjectPath string
After converting to an adaptive stream, the output path of the manifest file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorage
The target storage of the file after converting to the adaptive code stream, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
SegmentObjectName string
After converting to an adaptive stream (only HLS), the output path of the fragmented file can only be a relative path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}.
SubStreamObjectName string
After converting to an adaptive stream, the output path of the sub-stream file can only be a relative path. If not filled, the default is a relative path: {inputName}adaptiveDynamicStreaming{definition}_{subStreamNumber}.{format}`.
WatermarkSets []MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSet
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. Double
Watermark Template ID.
outputObjectPath String
After converting to an adaptive stream, the output path of the manifest file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}.{format}.
outputStorage MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorage
The target storage of the file after converting to the adaptive code stream, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
segmentObjectName String
After converting to an adaptive stream (only HLS), the output path of the fragmented file can only be a relative path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}.
subStreamObjectName String
After converting to an adaptive stream, the output path of the sub-stream file can only be a relative path. If not filled, the default is a relative path: {inputName}adaptiveDynamicStreaming{definition}_{subStreamNumber}.{format}`.
watermarkSets List<MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSet>
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. number
Watermark Template ID.
outputObjectPath string
After converting to an adaptive stream, the output path of the manifest file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}.{format}.
outputStorage MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorage
The target storage of the file after converting to the adaptive code stream, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
segmentObjectName string
After converting to an adaptive stream (only HLS), the output path of the fragmented file can only be a relative path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}.
subStreamObjectName string
After converting to an adaptive stream, the output path of the sub-stream file can only be a relative path. If not filled, the default is a relative path: {inputName}adaptiveDynamicStreaming{definition}_{subStreamNumber}.{format}`.
watermarkSets MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSet[]
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. float
Watermark Template ID.
output_object_path str
After converting to an adaptive stream, the output path of the manifest file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}.{format}.
output_storage MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorage
The target storage of the file after converting to the adaptive code stream, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
segment_object_name str
After converting to an adaptive stream (only HLS), the output path of the fragmented file can only be a relative path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}.
sub_stream_object_name str
After converting to an adaptive stream, the output path of the sub-stream file can only be a relative path. If not filled, the default is a relative path: {inputName}adaptiveDynamicStreaming{definition}_{subStreamNumber}.{format}`.
watermark_sets Sequence[MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSet]
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. Number
Watermark Template ID.
outputObjectPath String
After converting to an adaptive stream, the output path of the manifest file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}.{format}.
outputStorage Property Map
The target storage of the file after converting to the adaptive code stream, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
segmentObjectName String
After converting to an adaptive stream (only HLS), the output path of the fragmented file can only be a relative path. If not filled, the default is a relative path: {inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}.
subStreamObjectName String
After converting to an adaptive stream, the output path of the sub-stream file can only be a relative path. If not filled, the default is a relative path: {inputName}adaptiveDynamicStreaming{definition}_{subStreamNumber}.{format}`.
watermarkSets List<Property Map>
Watermark list, support multiple pictures or text watermarks, up to 10.

MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorage
, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorageArgs

Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
The type of media processing output object storage location, now only supports COS.
cos_output_storage MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage Property Map
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorageCosOutputStorage
, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorageCosOutputStorageArgs

Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket str
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region str
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.

MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSet
, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetArgs

Definition This property is required. double
Watermark Template ID.
EndTimeOffset double
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
RawParameter MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
StartTimeOffset double
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
SvgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
TextContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
Definition This property is required. float64
Watermark Template ID.
EndTimeOffset float64
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
RawParameter MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
StartTimeOffset float64
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
SvgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
TextContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. Double
Watermark Template ID.
endTimeOffset Double
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset Double
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent String
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent String
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. number
Watermark Template ID.
endTimeOffset number
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset number
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. float
Watermark Template ID.
end_time_offset float
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
raw_parameter MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
start_time_offset float
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svg_content str
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
text_content str
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. Number
Watermark Template ID.
endTimeOffset Number
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter Property Map
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset Number
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent String
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent String
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.

MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameter
, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterArgs

Type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
CoordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
ImageTemplate MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
XPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
YPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
Type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
CoordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
ImageTemplate MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
XPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
YPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. String
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin String
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos String
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos String
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. str
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinate_origin str
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
image_template MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
x_pos str
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
y_pos str
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. String
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin String
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate Property Map
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos String
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos String
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.

MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplate
, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateArgs

ImageContent This property is required. MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
Height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
RepeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
Width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
ImageContent This property is required. MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
Height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
RepeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
Width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height String
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType String
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width String
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
image_content This property is required. MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height str
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeat_type str
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width str
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. Property Map
The input content of the watermark image. Support jpeg, png image format.
height String
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType String
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width String
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.

MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContent
, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentArgs

Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
Enter the type of source object, which supports COS and URL.
cos_input_info MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
url_input_info MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo Property Map
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo Property Map
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfoArgs

Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
object This property is required. string
Input path for media processing object files.
region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. str
The name of the COS Bucket where the media processing object file is located.
object This property is required. str
Input path for media processing object files.
region This property is required. str
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.

MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfoArgs

Url This property is required. string
Video URL.
Url This property is required. string
Video URL.
url This property is required. String
Video URL.
url This property is required. string
Video URL.
url This property is required. str
Video URL.
url This property is required. String
Video URL.

MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSet
, MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetArgs

Definition This property is required. double
Video turntable template id.
EndTimeOffset This property is required. double
The end time of the animation in the video, in seconds.
StartTimeOffset This property is required. double
The start time of the animation in the video, in seconds.
OutputObjectPath string
The output path of the file after rotating the image, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}animatedGraphic{definition}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorage
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
Definition This property is required. float64
Video turntable template id.
EndTimeOffset This property is required. float64
The end time of the animation in the video, in seconds.
StartTimeOffset This property is required. float64
The start time of the animation in the video, in seconds.
OutputObjectPath string
The output path of the file after rotating the image, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}animatedGraphic{definition}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorage
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. Double
Video turntable template id.
endTimeOffset This property is required. Double
The end time of the animation in the video, in seconds.
startTimeOffset This property is required. Double
The start time of the animation in the video, in seconds.
outputObjectPath String
The output path of the file after rotating the image, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}animatedGraphic{definition}.{format}.
outputStorage MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorage
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. number
Video turntable template id.
endTimeOffset This property is required. number
The end time of the animation in the video, in seconds.
startTimeOffset This property is required. number
The start time of the animation in the video, in seconds.
outputObjectPath string
The output path of the file after rotating the image, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}animatedGraphic{definition}.{format}.
outputStorage MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorage
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. float
Video turntable template id.
end_time_offset This property is required. float
The end time of the animation in the video, in seconds.
start_time_offset This property is required. float
The start time of the animation in the video, in seconds.
output_object_path str
The output path of the file after rotating the image, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}animatedGraphic{definition}.{format}.
output_storage MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorage
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. Number
Video turntable template id.
endTimeOffset This property is required. Number
The end time of the animation in the video, in seconds.
startTimeOffset This property is required. Number
The start time of the animation in the video, in seconds.
outputObjectPath String
The output path of the file after rotating the image, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}animatedGraphic{definition}.{format}.
outputStorage Property Map
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorage
, MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorageArgs

Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
The type of media processing output object storage location, now only supports COS.
cos_output_storage MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage Property Map
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorageCosOutputStorage
, MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetOutputStorageCosOutputStorageArgs

Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket str
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region str
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.

MpsWorkflowMediaProcessTaskImageSpriteTaskSet
, MpsWorkflowMediaProcessTaskImageSpriteTaskSetArgs

Definition This property is required. double
Sprite Illustration Template ID.
ObjectNumberFormat MpsWorkflowMediaProcessTaskImageSpriteTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after intercepting the Sprite image.Note: This field may return null, indicating that no valid value can be obtained.
OutputObjectPath string
After capturing the sprite image, the output path of the sprite image file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}_{number}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorage
The target storage of the file after the sprite image is intercepted, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
WebVttObjectName string
After capturing the sprite image, the output path of the Web VTT file can only be a relative path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}.{format}.
Definition This property is required. float64
Sprite Illustration Template ID.
ObjectNumberFormat MpsWorkflowMediaProcessTaskImageSpriteTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after intercepting the Sprite image.Note: This field may return null, indicating that no valid value can be obtained.
OutputObjectPath string
After capturing the sprite image, the output path of the sprite image file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}_{number}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorage
The target storage of the file after the sprite image is intercepted, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
WebVttObjectName string
After capturing the sprite image, the output path of the Web VTT file can only be a relative path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}.{format}.
definition This property is required. Double
Sprite Illustration Template ID.
objectNumberFormat MpsWorkflowMediaProcessTaskImageSpriteTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after intercepting the Sprite image.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath String
After capturing the sprite image, the output path of the sprite image file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}_{number}.{format}.
outputStorage MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorage
The target storage of the file after the sprite image is intercepted, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
webVttObjectName String
After capturing the sprite image, the output path of the Web VTT file can only be a relative path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}.{format}.
definition This property is required. number
Sprite Illustration Template ID.
objectNumberFormat MpsWorkflowMediaProcessTaskImageSpriteTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after intercepting the Sprite image.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath string
After capturing the sprite image, the output path of the sprite image file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}_{number}.{format}.
outputStorage MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorage
The target storage of the file after the sprite image is intercepted, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
webVttObjectName string
After capturing the sprite image, the output path of the Web VTT file can only be a relative path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}.{format}.
definition This property is required. float
Sprite Illustration Template ID.
object_number_format MpsWorkflowMediaProcessTaskImageSpriteTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after intercepting the Sprite image.Note: This field may return null, indicating that no valid value can be obtained.
output_object_path str
After capturing the sprite image, the output path of the sprite image file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}_{number}.{format}.
output_storage MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorage
The target storage of the file after the sprite image is intercepted, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
web_vtt_object_name str
After capturing the sprite image, the output path of the Web VTT file can only be a relative path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}.{format}.
definition This property is required. Number
Sprite Illustration Template ID.
objectNumberFormat Property Map
Rules for the {number} variable in the output path after intercepting the Sprite image.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath String
After capturing the sprite image, the output path of the sprite image file can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}_{number}.{format}.
outputStorage Property Map
The target storage of the file after the sprite image is intercepted, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
webVttObjectName String
After capturing the sprite image, the output path of the Web VTT file can only be a relative path. If not filled, the default is a relative path: {inputName}_imageSprite_{definition}.{format}.

MpsWorkflowMediaProcessTaskImageSpriteTaskSetObjectNumberFormat
, MpsWorkflowMediaProcessTaskImageSpriteTaskSetObjectNumberFormatArgs

Increment double
The growth step of the {number} variable, the default is 1.
InitialValue double
The starting value of {number} variable, the default is 0.
MinLength double
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
PlaceHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
Increment float64
The growth step of the {number} variable, the default is 1.
InitialValue float64
The starting value of {number} variable, the default is 0.
MinLength float64
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
PlaceHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment Double
The growth step of the {number} variable, the default is 1.
initialValue Double
The starting value of {number} variable, the default is 0.
minLength Double
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder String
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment number
The growth step of the {number} variable, the default is 1.
initialValue number
The starting value of {number} variable, the default is 0.
minLength number
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment float
The growth step of the {number} variable, the default is 1.
initial_value float
The starting value of {number} variable, the default is 0.
min_length float
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
place_holder str
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment Number
The growth step of the {number} variable, the default is 1.
initialValue Number
The starting value of {number} variable, the default is 0.
minLength Number
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder String
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.

MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorage
, MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorageArgs

Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
The type of media processing output object storage location, now only supports COS.
cos_output_storage MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage Property Map
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorageCosOutputStorage
, MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorageCosOutputStorageArgs

Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket str
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region str
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.

MpsWorkflowMediaProcessTaskSampleSnapshotTaskSet
, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetArgs

Definition This property is required. double
Watermark Template ID.
ObjectNumberFormat MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after sampling the screenshot.Note: This field may return null, indicating that no valid value can be obtained.
OutputObjectPath string
The output path of the image file after sampling the screenshot, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_sampleSnapshot_{definition}_{number}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorage
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
WatermarkSets List<MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSet>
Watermark list, support multiple pictures or text watermarks, up to 10.
Definition This property is required. float64
Watermark Template ID.
ObjectNumberFormat MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after sampling the screenshot.Note: This field may return null, indicating that no valid value can be obtained.
OutputObjectPath string
The output path of the image file after sampling the screenshot, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_sampleSnapshot_{definition}_{number}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorage
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
WatermarkSets []MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSet
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. Double
Watermark Template ID.
objectNumberFormat MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after sampling the screenshot.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath String
The output path of the image file after sampling the screenshot, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_sampleSnapshot_{definition}_{number}.{format}.
outputStorage MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorage
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
watermarkSets List<MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSet>
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. number
Watermark Template ID.
objectNumberFormat MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after sampling the screenshot.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath string
The output path of the image file after sampling the screenshot, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_sampleSnapshot_{definition}_{number}.{format}.
outputStorage MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorage
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
watermarkSets MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSet[]
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. float
Watermark Template ID.
object_number_format MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after sampling the screenshot.Note: This field may return null, indicating that no valid value can be obtained.
output_object_path str
The output path of the image file after sampling the screenshot, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_sampleSnapshot_{definition}_{number}.{format}.
output_storage MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorage
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
watermark_sets Sequence[MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSet]
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. Number
Watermark Template ID.
objectNumberFormat Property Map
Rules for the {number} variable in the output path after sampling the screenshot.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath String
The output path of the image file after sampling the screenshot, which can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_sampleSnapshot_{definition}_{number}.{format}.
outputStorage Property Map
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
watermarkSets List<Property Map>
Watermark list, support multiple pictures or text watermarks, up to 10.

MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetObjectNumberFormat
, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetObjectNumberFormatArgs

Increment double
The growth step of the {number} variable, the default is 1.
InitialValue double
The starting value of {number} variable, the default is 0.
MinLength double
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
PlaceHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
Increment float64
The growth step of the {number} variable, the default is 1.
InitialValue float64
The starting value of {number} variable, the default is 0.
MinLength float64
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
PlaceHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment Double
The growth step of the {number} variable, the default is 1.
initialValue Double
The starting value of {number} variable, the default is 0.
minLength Double
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder String
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment number
The growth step of the {number} variable, the default is 1.
initialValue number
The starting value of {number} variable, the default is 0.
minLength number
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment float
The growth step of the {number} variable, the default is 1.
initial_value float
The starting value of {number} variable, the default is 0.
min_length float
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
place_holder str
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment Number
The growth step of the {number} variable, the default is 1.
initialValue Number
The starting value of {number} variable, the default is 0.
minLength Number
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder String
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.

MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorage
, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorageArgs

Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
The type of media processing output object storage location, now only supports COS.
cos_output_storage MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage Property Map
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorageCosOutputStorage
, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorageCosOutputStorageArgs

Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket str
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region str
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.

MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSet
, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetArgs

Definition This property is required. double
Watermark Template ID.
EndTimeOffset double
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
RawParameter MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
StartTimeOffset double
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
SvgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
TextContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
Definition This property is required. float64
Watermark Template ID.
EndTimeOffset float64
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
RawParameter MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
StartTimeOffset float64
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
SvgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
TextContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. Double
Watermark Template ID.
endTimeOffset Double
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset Double
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent String
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent String
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. number
Watermark Template ID.
endTimeOffset number
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset number
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. float
Watermark Template ID.
end_time_offset float
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
raw_parameter MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
start_time_offset float
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svg_content str
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
text_content str
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. Number
Watermark Template ID.
endTimeOffset Number
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter Property Map
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset Number
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent String
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent String
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.

MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameter
, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterArgs

Type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
CoordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
ImageTemplate MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
XPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
YPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
Type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
CoordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
ImageTemplate MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
XPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
YPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. String
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin String
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos String
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos String
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. str
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinate_origin str
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
image_template MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
x_pos str
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
y_pos str
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. String
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin String
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate Property Map
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos String
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos String
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.

MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplate
, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateArgs

ImageContent This property is required. MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
Height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
RepeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
Width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
ImageContent This property is required. MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
Height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
RepeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
Width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height String
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType String
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width String
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
image_content This property is required. MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height str
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeat_type str
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width str
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. Property Map
The input content of the watermark image. Support jpeg, png image format.
height String
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType String
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width String
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.

MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContent
, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentArgs

Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
Enter the type of source object, which supports COS and URL.
cos_input_info MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
url_input_info MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo Property Map
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo Property Map
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfoArgs

Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
object This property is required. string
Input path for media processing object files.
region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. str
The name of the COS Bucket where the media processing object file is located.
object This property is required. str
Input path for media processing object files.
region This property is required. str
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.

MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfoArgs

Url This property is required. string
Video URL.
Url This property is required. string
Video URL.
url This property is required. String
Video URL.
url This property is required. string
Video URL.
url This property is required. str
Video URL.
url This property is required. String
Video URL.

MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSet
, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetArgs

Definition This property is required. double
Watermark Template ID.
ExtTimeOffsetSets List<string>
Screenshot time point list, the time point supports two formats: s and %:;When the string ends with s, it means that the time point is in seconds, such as 3.5s means that the time point is the 3.5th second.When the string ends with %, it means that the time point is the percentage of the video duration, such as 10% means that the time point is the first 10% of the time in the video.
ObjectNumberFormat MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after the screenshot at the time point.Note: This field may return null, indicating that no valid value can be obtained.
OutputObjectPath string
The output path of the picture file after the snapshot at the time point can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_snapshotByTimeOffset_{definition}_{number}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorage
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
TimeOffsetSets List<double>
Screenshot time point list, the unit is <font color=red>seconds</font>. This parameter is no longer recommended, it is recommended that you use the ExtTimeOffsetSet parameter.
WatermarkSets List<MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSet>
Watermark list, support multiple pictures or text watermarks, up to 10.
Definition This property is required. float64
Watermark Template ID.
ExtTimeOffsetSets []string
Screenshot time point list, the time point supports two formats: s and %:;When the string ends with s, it means that the time point is in seconds, such as 3.5s means that the time point is the 3.5th second.When the string ends with %, it means that the time point is the percentage of the video duration, such as 10% means that the time point is the first 10% of the time in the video.
ObjectNumberFormat MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after the screenshot at the time point.Note: This field may return null, indicating that no valid value can be obtained.
OutputObjectPath string
The output path of the picture file after the snapshot at the time point can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_snapshotByTimeOffset_{definition}_{number}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorage
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
TimeOffsetSets []float64
Screenshot time point list, the unit is <font color=red>seconds</font>. This parameter is no longer recommended, it is recommended that you use the ExtTimeOffsetSet parameter.
WatermarkSets []MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSet
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. Double
Watermark Template ID.
extTimeOffsetSets List<String>
Screenshot time point list, the time point supports two formats: s and %:;When the string ends with s, it means that the time point is in seconds, such as 3.5s means that the time point is the 3.5th second.When the string ends with %, it means that the time point is the percentage of the video duration, such as 10% means that the time point is the first 10% of the time in the video.
objectNumberFormat MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after the screenshot at the time point.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath String
The output path of the picture file after the snapshot at the time point can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_snapshotByTimeOffset_{definition}_{number}.{format}.
outputStorage MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorage
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
timeOffsetSets List<Double>
Screenshot time point list, the unit is <font color=red>seconds</font>. This parameter is no longer recommended, it is recommended that you use the ExtTimeOffsetSet parameter.
watermarkSets List<MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSet>
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. number
Watermark Template ID.
extTimeOffsetSets string[]
Screenshot time point list, the time point supports two formats: s and %:;When the string ends with s, it means that the time point is in seconds, such as 3.5s means that the time point is the 3.5th second.When the string ends with %, it means that the time point is the percentage of the video duration, such as 10% means that the time point is the first 10% of the time in the video.
objectNumberFormat MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after the screenshot at the time point.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath string
The output path of the picture file after the snapshot at the time point can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_snapshotByTimeOffset_{definition}_{number}.{format}.
outputStorage MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorage
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
timeOffsetSets number[]
Screenshot time point list, the unit is <font color=red>seconds</font>. This parameter is no longer recommended, it is recommended that you use the ExtTimeOffsetSet parameter.
watermarkSets MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSet[]
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. float
Watermark Template ID.
ext_time_offset_sets Sequence[str]
Screenshot time point list, the time point supports two formats: s and %:;When the string ends with s, it means that the time point is in seconds, such as 3.5s means that the time point is the 3.5th second.When the string ends with %, it means that the time point is the percentage of the video duration, such as 10% means that the time point is the first 10% of the time in the video.
object_number_format MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after the screenshot at the time point.Note: This field may return null, indicating that no valid value can be obtained.
output_object_path str
The output path of the picture file after the snapshot at the time point can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_snapshotByTimeOffset_{definition}_{number}.{format}.
output_storage MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorage
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
time_offset_sets Sequence[float]
Screenshot time point list, the unit is <font color=red>seconds</font>. This parameter is no longer recommended, it is recommended that you use the ExtTimeOffsetSet parameter.
watermark_sets Sequence[MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSet]
Watermark list, support multiple pictures or text watermarks, up to 10.
definition This property is required. Number
Watermark Template ID.
extTimeOffsetSets List<String>
Screenshot time point list, the time point supports two formats: s and %:;When the string ends with s, it means that the time point is in seconds, such as 3.5s means that the time point is the 3.5th second.When the string ends with %, it means that the time point is the percentage of the video duration, such as 10% means that the time point is the first 10% of the time in the video.
objectNumberFormat Property Map
Rules for the {number} variable in the output path after the screenshot at the time point.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath String
The output path of the picture file after the snapshot at the time point can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}_snapshotByTimeOffset_{definition}_{number}.{format}.
outputStorage Property Map
The target storage of the file after the screenshot at the time point, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
timeOffsetSets List<Number>
Screenshot time point list, the unit is <font color=red>seconds</font>. This parameter is no longer recommended, it is recommended that you use the ExtTimeOffsetSet parameter.
watermarkSets List<Property Map>
Watermark list, support multiple pictures or text watermarks, up to 10.

MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetObjectNumberFormat
, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetObjectNumberFormatArgs

Increment double
The growth step of the {number} variable, the default is 1.
InitialValue double
The starting value of {number} variable, the default is 0.
MinLength double
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
PlaceHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
Increment float64
The growth step of the {number} variable, the default is 1.
InitialValue float64
The starting value of {number} variable, the default is 0.
MinLength float64
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
PlaceHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment Double
The growth step of the {number} variable, the default is 1.
initialValue Double
The starting value of {number} variable, the default is 0.
minLength Double
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder String
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment number
The growth step of the {number} variable, the default is 1.
initialValue number
The starting value of {number} variable, the default is 0.
minLength number
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment float
The growth step of the {number} variable, the default is 1.
initial_value float
The starting value of {number} variable, the default is 0.
min_length float
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
place_holder str
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment Number
The growth step of the {number} variable, the default is 1.
initialValue Number
The starting value of {number} variable, the default is 0.
minLength Number
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder String
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.

MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorage
, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorageArgs

Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
The type of media processing output object storage location, now only supports COS.
cos_output_storage MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage Property Map
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorageCosOutputStorage
, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorageCosOutputStorageArgs

Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket str
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region str
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.

MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSet
, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetArgs

Definition This property is required. double
Watermark Template ID.
EndTimeOffset double
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
RawParameter MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
StartTimeOffset double
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
SvgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
TextContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
Definition This property is required. float64
Watermark Template ID.
EndTimeOffset float64
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
RawParameter MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
StartTimeOffset float64
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
SvgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
TextContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. Double
Watermark Template ID.
endTimeOffset Double
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset Double
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent String
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent String
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. number
Watermark Template ID.
endTimeOffset number
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset number
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. float
Watermark Template ID.
end_time_offset float
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
raw_parameter MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
start_time_offset float
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svg_content str
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
text_content str
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. Number
Watermark Template ID.
endTimeOffset Number
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter Property Map
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset Number
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent String
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent String
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.

MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameter
, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterArgs

Type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
CoordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
ImageTemplate MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
XPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
YPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
Type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
CoordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
ImageTemplate MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
XPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
YPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. String
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin String
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos String
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos String
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. str
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinate_origin str
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
image_template MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
x_pos str
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
y_pos str
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. String
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin String
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate Property Map
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos String
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos String
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.

MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplate
, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateArgs

ImageContent This property is required. MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
Height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
RepeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
Width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
ImageContent This property is required. MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
Height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
RepeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
Width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height String
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType String
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width String
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
image_content This property is required. MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height str
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeat_type str
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width str
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. Property Map
The input content of the watermark image. Support jpeg, png image format.
height String
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType String
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width String
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.

MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContent
, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentArgs

Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
Enter the type of source object, which supports COS and URL.
cos_input_info MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
url_input_info MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo Property Map
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo Property Map
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfoArgs

Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
object This property is required. string
Input path for media processing object files.
region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. str
The name of the COS Bucket where the media processing object file is located.
object This property is required. str
Input path for media processing object files.
region This property is required. str
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.

MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfoArgs

Url This property is required. string
Video URL.
Url This property is required. string
Video URL.
url This property is required. String
Video URL.
url This property is required. string
Video URL.
url This property is required. str
Video URL.
url This property is required. String
Video URL.

MpsWorkflowMediaProcessTaskTranscodeTaskSet
, MpsWorkflowMediaProcessTaskTranscodeTaskSetArgs

Definition This property is required. double
Watermark Template ID.
EndTimeOffset double
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
HeadTailParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameter
Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
MosaicSets List<MpsWorkflowMediaProcessTaskTranscodeTaskSetMosaicSet>
Mosaic list, up to 10 sheets can be supported.
ObjectNumberFormat MpsWorkflowMediaProcessTaskTranscodeTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after transcoding.Note: This field may return null, indicating that no valid value can be obtained.
OutputObjectPath string
The output path of the main file after transcoding can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}transcode{definition}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorage
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
OverrideParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameter
Video transcoding custom parameters, valid when Definition is not filled with 0.When some transcoding parameters in this structure are filled in, the parameters in the transcoding template will be overwritten with the filled parameters.This parameter is used in highly customized scenarios, it is recommended that you only use Definition to specify transcoding parameters.Note: This field may return null, indicating that no valid value can be obtained.
RawParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
SegmentObjectName string
The output path of the transcoded fragment file (the path of ts when transcoding HLS), can only be a relative path. If not filled, the default is: `{inputName}transcode{definition}_{number}.{format}.
StartTimeOffset double
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
WatermarkSets List<MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSet>
Watermark list, support multiple pictures or text watermarks, up to 10.Note: This field may return null, indicating that no valid value can be obtained.
Definition This property is required. float64
Watermark Template ID.
EndTimeOffset float64
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
HeadTailParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameter
Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
MosaicSets []MpsWorkflowMediaProcessTaskTranscodeTaskSetMosaicSet
Mosaic list, up to 10 sheets can be supported.
ObjectNumberFormat MpsWorkflowMediaProcessTaskTranscodeTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after transcoding.Note: This field may return null, indicating that no valid value can be obtained.
OutputObjectPath string
The output path of the main file after transcoding can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}transcode{definition}.{format}.
OutputStorage MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorage
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
OverrideParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameter
Video transcoding custom parameters, valid when Definition is not filled with 0.When some transcoding parameters in this structure are filled in, the parameters in the transcoding template will be overwritten with the filled parameters.This parameter is used in highly customized scenarios, it is recommended that you only use Definition to specify transcoding parameters.Note: This field may return null, indicating that no valid value can be obtained.
RawParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
SegmentObjectName string
The output path of the transcoded fragment file (the path of ts when transcoding HLS), can only be a relative path. If not filled, the default is: `{inputName}transcode{definition}_{number}.{format}.
StartTimeOffset float64
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
WatermarkSets []MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSet
Watermark list, support multiple pictures or text watermarks, up to 10.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. Double
Watermark Template ID.
endTimeOffset Double
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
headTailParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameter
Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
mosaicSets List<MpsWorkflowMediaProcessTaskTranscodeTaskSetMosaicSet>
Mosaic list, up to 10 sheets can be supported.
objectNumberFormat MpsWorkflowMediaProcessTaskTranscodeTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after transcoding.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath String
The output path of the main file after transcoding can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}transcode{definition}.{format}.
outputStorage MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorage
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
overrideParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameter
Video transcoding custom parameters, valid when Definition is not filled with 0.When some transcoding parameters in this structure are filled in, the parameters in the transcoding template will be overwritten with the filled parameters.This parameter is used in highly customized scenarios, it is recommended that you only use Definition to specify transcoding parameters.Note: This field may return null, indicating that no valid value can be obtained.
rawParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
segmentObjectName String
The output path of the transcoded fragment file (the path of ts when transcoding HLS), can only be a relative path. If not filled, the default is: `{inputName}transcode{definition}_{number}.{format}.
startTimeOffset Double
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
watermarkSets List<MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSet>
Watermark list, support multiple pictures or text watermarks, up to 10.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. number
Watermark Template ID.
endTimeOffset number
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
headTailParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameter
Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
mosaicSets MpsWorkflowMediaProcessTaskTranscodeTaskSetMosaicSet[]
Mosaic list, up to 10 sheets can be supported.
objectNumberFormat MpsWorkflowMediaProcessTaskTranscodeTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after transcoding.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath string
The output path of the main file after transcoding can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}transcode{definition}.{format}.
outputStorage MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorage
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
overrideParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameter
Video transcoding custom parameters, valid when Definition is not filled with 0.When some transcoding parameters in this structure are filled in, the parameters in the transcoding template will be overwritten with the filled parameters.This parameter is used in highly customized scenarios, it is recommended that you only use Definition to specify transcoding parameters.Note: This field may return null, indicating that no valid value can be obtained.
rawParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
segmentObjectName string
The output path of the transcoded fragment file (the path of ts when transcoding HLS), can only be a relative path. If not filled, the default is: `{inputName}transcode{definition}_{number}.{format}.
startTimeOffset number
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
watermarkSets MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSet[]
Watermark list, support multiple pictures or text watermarks, up to 10.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. float
Watermark Template ID.
end_time_offset float
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
head_tail_parameter MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameter
Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
mosaic_sets Sequence[MpsWorkflowMediaProcessTaskTranscodeTaskSetMosaicSet]
Mosaic list, up to 10 sheets can be supported.
object_number_format MpsWorkflowMediaProcessTaskTranscodeTaskSetObjectNumberFormat
Rules for the {number} variable in the output path after transcoding.Note: This field may return null, indicating that no valid value can be obtained.
output_object_path str
The output path of the main file after transcoding can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}transcode{definition}.{format}.
output_storage MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorage
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
override_parameter MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameter
Video transcoding custom parameters, valid when Definition is not filled with 0.When some transcoding parameters in this structure are filled in, the parameters in the transcoding template will be overwritten with the filled parameters.This parameter is used in highly customized scenarios, it is recommended that you only use Definition to specify transcoding parameters.Note: This field may return null, indicating that no valid value can be obtained.
raw_parameter MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
segment_object_name str
The output path of the transcoded fragment file (the path of ts when transcoding HLS), can only be a relative path. If not filled, the default is: `{inputName}transcode{definition}_{number}.{format}.
start_time_offset float
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
watermark_sets Sequence[MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSet]
Watermark list, support multiple pictures or text watermarks, up to 10.Note: This field may return null, indicating that no valid value can be obtained.
definition This property is required. Number
Watermark Template ID.
endTimeOffset Number
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
headTailParameter Property Map
Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
mosaicSets List<Property Map>
Mosaic list, up to 10 sheets can be supported.
objectNumberFormat Property Map
Rules for the {number} variable in the output path after transcoding.Note: This field may return null, indicating that no valid value can be obtained.
outputObjectPath String
The output path of the main file after transcoding can be a relative path or an absolute path. If not filled, the default is a relative path: {inputName}transcode{definition}.{format}.
outputStorage Property Map
The target storage of the transcoded file, if not filled, it will inherit the OutputStorage value of the upper layer.Note: This field may return null, indicating that no valid value can be obtained.
overrideParameter Property Map
Video transcoding custom parameters, valid when Definition is not filled with 0.When some transcoding parameters in this structure are filled in, the parameters in the transcoding template will be overwritten with the filled parameters.This parameter is used in highly customized scenarios, it is recommended that you only use Definition to specify transcoding parameters.Note: This field may return null, indicating that no valid value can be obtained.
rawParameter Property Map
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
segmentObjectName String
The output path of the transcoded fragment file (the path of ts when transcoding HLS), can only be a relative path. If not filled, the default is: `{inputName}transcode{definition}_{number}.{format}.
startTimeOffset Number
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
watermarkSets List<Property Map>
Watermark list, support multiple pictures or text watermarks, up to 10.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameter
, MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterArgs

MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSet
, MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetArgs

Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
Enter the type of source object, which supports COS and URL.
cos_input_info MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
url_input_info MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo Property Map
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo Property Map
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetCosInputInfo
, MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetCosInputInfoArgs

Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
object This property is required. string
Input path for media processing object files.
region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. str
The name of the COS Bucket where the media processing object file is located.
object This property is required. str
Input path for media processing object files.
region This property is required. str
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.

MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetUrlInputInfo
, MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetUrlInputInfoArgs

Url This property is required. string
Video URL.
Url This property is required. string
Video URL.
url This property is required. String
Video URL.
url This property is required. string
Video URL.
url This property is required. str
Video URL.
url This property is required. String
Video URL.

MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSet
, MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetArgs

Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
Enter the type of source object, which supports COS and URL.
cos_input_info MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
url_input_info MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo Property Map
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo Property Map
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetCosInputInfo
, MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetCosInputInfoArgs

Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
object This property is required. string
Input path for media processing object files.
region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. str
The name of the COS Bucket where the media processing object file is located.
object This property is required. str
Input path for media processing object files.
region This property is required. str
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.

MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetUrlInputInfo
, MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetUrlInputInfoArgs

Url This property is required. string
Video URL.
Url This property is required. string
Video URL.
url This property is required. String
Video URL.
url This property is required. string
Video URL.
url This property is required. str
Video URL.
url This property is required. String
Video URL.

MpsWorkflowMediaProcessTaskTranscodeTaskSetMosaicSet
, MpsWorkflowMediaProcessTaskTranscodeTaskSetMosaicSetArgs

CoordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the coordinate origin is located in the upper left corner of the video image, and the origin of the mosaic is the upper left corner of the picture or textDefault: TopLeft.
EndTimeOffset double
The end time offset of the mosaic, unit: second.Fill in or fill in 0, indicating that the mosaic continues until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the mosaic lasts until it disappears n seconds before the end of the screen.
Height string
The height of the mosaic. Support %, px two formats.When the string ends with %, it means that the mosaic Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the mosaic Height unit is pixel, such as 100px means that the Height is 100 pixels.Default: 10%.
StartTimeOffset double
The start time offset of the mosaic, unit: second. Do not fill or fill in 0, which means that the mosaic will start to appear when the screen appears.Fill in or fill in 0, which means that the mosaic will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the mosaic starts to appear n seconds before the end of the screen.
Width string
The width of the mosaic. Support %, px two formats:When the string ends with %, it means that the mosaic Width is the percentage size of the video width, such as 10% means that the Width is 10% of the video width.The string ends with px, indicating that the mosaic Width unit is pixels, such as 100px indicates that the Width is 100 pixels.Default: 10%.
XPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
YPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
CoordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the coordinate origin is located in the upper left corner of the video image, and the origin of the mosaic is the upper left corner of the picture or textDefault: TopLeft.
EndTimeOffset float64
The end time offset of the mosaic, unit: second.Fill in or fill in 0, indicating that the mosaic continues until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the mosaic lasts until it disappears n seconds before the end of the screen.
Height string
The height of the mosaic. Support %, px two formats.When the string ends with %, it means that the mosaic Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the mosaic Height unit is pixel, such as 100px means that the Height is 100 pixels.Default: 10%.
StartTimeOffset float64
The start time offset of the mosaic, unit: second. Do not fill or fill in 0, which means that the mosaic will start to appear when the screen appears.Fill in or fill in 0, which means that the mosaic will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the mosaic starts to appear n seconds before the end of the screen.
Width string
The width of the mosaic. Support %, px two formats:When the string ends with %, it means that the mosaic Width is the percentage size of the video width, such as 10% means that the Width is 10% of the video width.The string ends with px, indicating that the mosaic Width unit is pixels, such as 100px indicates that the Width is 100 pixels.Default: 10%.
XPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
YPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
coordinateOrigin String
Origin position, currently only supports:TopLeft: Indicates that the coordinate origin is located in the upper left corner of the video image, and the origin of the mosaic is the upper left corner of the picture or textDefault: TopLeft.
endTimeOffset Double
The end time offset of the mosaic, unit: second.Fill in or fill in 0, indicating that the mosaic continues until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the mosaic lasts until it disappears n seconds before the end of the screen.
height String
The height of the mosaic. Support %, px two formats.When the string ends with %, it means that the mosaic Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the mosaic Height unit is pixel, such as 100px means that the Height is 100 pixels.Default: 10%.
startTimeOffset Double
The start time offset of the mosaic, unit: second. Do not fill or fill in 0, which means that the mosaic will start to appear when the screen appears.Fill in or fill in 0, which means that the mosaic will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the mosaic starts to appear n seconds before the end of the screen.
width String
The width of the mosaic. Support %, px two formats:When the string ends with %, it means that the mosaic Width is the percentage size of the video width, such as 10% means that the Width is 10% of the video width.The string ends with px, indicating that the mosaic Width unit is pixels, such as 100px indicates that the Width is 100 pixels.Default: 10%.
xPos String
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos String
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
coordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the coordinate origin is located in the upper left corner of the video image, and the origin of the mosaic is the upper left corner of the picture or textDefault: TopLeft.
endTimeOffset number
The end time offset of the mosaic, unit: second.Fill in or fill in 0, indicating that the mosaic continues until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the mosaic lasts until it disappears n seconds before the end of the screen.
height string
The height of the mosaic. Support %, px two formats.When the string ends with %, it means that the mosaic Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the mosaic Height unit is pixel, such as 100px means that the Height is 100 pixels.Default: 10%.
startTimeOffset number
The start time offset of the mosaic, unit: second. Do not fill or fill in 0, which means that the mosaic will start to appear when the screen appears.Fill in or fill in 0, which means that the mosaic will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the mosaic starts to appear n seconds before the end of the screen.
width string
The width of the mosaic. Support %, px two formats:When the string ends with %, it means that the mosaic Width is the percentage size of the video width, such as 10% means that the Width is 10% of the video width.The string ends with px, indicating that the mosaic Width unit is pixels, such as 100px indicates that the Width is 100 pixels.Default: 10%.
xPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
coordinate_origin str
Origin position, currently only supports:TopLeft: Indicates that the coordinate origin is located in the upper left corner of the video image, and the origin of the mosaic is the upper left corner of the picture or textDefault: TopLeft.
end_time_offset float
The end time offset of the mosaic, unit: second.Fill in or fill in 0, indicating that the mosaic continues until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the mosaic lasts until it disappears n seconds before the end of the screen.
height str
The height of the mosaic. Support %, px two formats.When the string ends with %, it means that the mosaic Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the mosaic Height unit is pixel, such as 100px means that the Height is 100 pixels.Default: 10%.
start_time_offset float
The start time offset of the mosaic, unit: second. Do not fill or fill in 0, which means that the mosaic will start to appear when the screen appears.Fill in or fill in 0, which means that the mosaic will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the mosaic starts to appear n seconds before the end of the screen.
width str
The width of the mosaic. Support %, px two formats:When the string ends with %, it means that the mosaic Width is the percentage size of the video width, such as 10% means that the Width is 10% of the video width.The string ends with px, indicating that the mosaic Width unit is pixels, such as 100px indicates that the Width is 100 pixels.Default: 10%.
x_pos str
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
y_pos str
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
coordinateOrigin String
Origin position, currently only supports:TopLeft: Indicates that the coordinate origin is located in the upper left corner of the video image, and the origin of the mosaic is the upper left corner of the picture or textDefault: TopLeft.
endTimeOffset Number
The end time offset of the mosaic, unit: second.Fill in or fill in 0, indicating that the mosaic continues until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the mosaic lasts until it disappears n seconds before the end of the screen.
height String
The height of the mosaic. Support %, px two formats.When the string ends with %, it means that the mosaic Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the mosaic Height unit is pixel, such as 100px means that the Height is 100 pixels.Default: 10%.
startTimeOffset Number
The start time offset of the mosaic, unit: second. Do not fill or fill in 0, which means that the mosaic will start to appear when the screen appears.Fill in or fill in 0, which means that the mosaic will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the mosaic appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the mosaic starts to appear n seconds before the end of the screen.
width String
The width of the mosaic. Support %, px two formats:When the string ends with %, it means that the mosaic Width is the percentage size of the video width, such as 10% means that the Width is 10% of the video width.The string ends with px, indicating that the mosaic Width unit is pixels, such as 100px indicates that the Width is 100 pixels.Default: 10%.
xPos String
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos String
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.

MpsWorkflowMediaProcessTaskTranscodeTaskSetObjectNumberFormat
, MpsWorkflowMediaProcessTaskTranscodeTaskSetObjectNumberFormatArgs

Increment double
The growth step of the {number} variable, the default is 1.
InitialValue double
The starting value of {number} variable, the default is 0.
MinLength double
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
PlaceHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
Increment float64
The growth step of the {number} variable, the default is 1.
InitialValue float64
The starting value of {number} variable, the default is 0.
MinLength float64
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
PlaceHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment Double
The growth step of the {number} variable, the default is 1.
initialValue Double
The starting value of {number} variable, the default is 0.
minLength Double
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder String
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment number
The growth step of the {number} variable, the default is 1.
initialValue number
The starting value of {number} variable, the default is 0.
minLength number
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder string
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment float
The growth step of the {number} variable, the default is 1.
initial_value float
The starting value of {number} variable, the default is 0.
min_length float
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
place_holder str
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.
increment Number
The growth step of the {number} variable, the default is 1.
initialValue Number
The starting value of {number} variable, the default is 0.
minLength Number
The minimum length of the {number} variable, if insufficient, placeholders will be filled. Default is 1.
placeHolder String
When the length of the {number} variable is insufficient, a placeholder is added. Default is 0.

MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorage
, MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorageArgs

Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
The type of media processing output object storage location, now only supports COS.
cos_output_storage MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage Property Map
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorageCosOutputStorage
, MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorageCosOutputStorageArgs

Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket str
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region str
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.

MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameter
, MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterArgs

AudioTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterAudioTemplate
Audio stream configuration parameters.
Container string
Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
RemoveAudio double
Whether to remove audio data, value:0: reserved.1: remove.
RemoveVideo double
Whether to remove video data, value:0: reserved.1: remove.
SubtitleTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterSubtitleTemplate
Subtitle Stream Configuration Parameters.
TehdConfig MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterTehdConfig
Ultra-fast HD transcoding parameters.
VideoTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterVideoTemplate
Video streaming configuration parameters.
AudioTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterAudioTemplate
Audio stream configuration parameters.
Container string
Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
RemoveAudio float64
Whether to remove audio data, value:0: reserved.1: remove.
RemoveVideo float64
Whether to remove video data, value:0: reserved.1: remove.
SubtitleTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterSubtitleTemplate
Subtitle Stream Configuration Parameters.
TehdConfig MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterTehdConfig
Ultra-fast HD transcoding parameters.
VideoTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterVideoTemplate
Video streaming configuration parameters.
audioTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterAudioTemplate
Audio stream configuration parameters.
container String
Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
removeAudio Double
Whether to remove audio data, value:0: reserved.1: remove.
removeVideo Double
Whether to remove video data, value:0: reserved.1: remove.
subtitleTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterSubtitleTemplate
Subtitle Stream Configuration Parameters.
tehdConfig MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterTehdConfig
Ultra-fast HD transcoding parameters.
videoTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterVideoTemplate
Video streaming configuration parameters.
audioTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterAudioTemplate
Audio stream configuration parameters.
container string
Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
removeAudio number
Whether to remove audio data, value:0: reserved.1: remove.
removeVideo number
Whether to remove video data, value:0: reserved.1: remove.
subtitleTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterSubtitleTemplate
Subtitle Stream Configuration Parameters.
tehdConfig MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterTehdConfig
Ultra-fast HD transcoding parameters.
videoTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterVideoTemplate
Video streaming configuration parameters.
audio_template MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterAudioTemplate
Audio stream configuration parameters.
container str
Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
remove_audio float
Whether to remove audio data, value:0: reserved.1: remove.
remove_video float
Whether to remove video data, value:0: reserved.1: remove.
subtitle_template MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterSubtitleTemplate
Subtitle Stream Configuration Parameters.
tehd_config MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterTehdConfig
Ultra-fast HD transcoding parameters.
video_template MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterVideoTemplate
Video streaming configuration parameters.
audioTemplate Property Map
Audio stream configuration parameters.
container String
Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
removeAudio Number
Whether to remove audio data, value:0: reserved.1: remove.
removeVideo Number
Whether to remove video data, value:0: reserved.1: remove.
subtitleTemplate Property Map
Subtitle Stream Configuration Parameters.
tehdConfig Property Map
Ultra-fast HD transcoding parameters.
videoTemplate Property Map
Video streaming configuration parameters.

MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterAudioTemplate
, MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterAudioTemplateArgs

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 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.
StreamSelects List<double>
Specifies the audio track to preserve for the output. The default is to keep all sources.
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 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.
StreamSelects []float64
Specifies the audio track to preserve for the output. The default is to keep all sources.
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 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.
streamSelects List<Double>
Specifies the audio track to preserve for the output. The default is to keep all sources.
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 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.
streamSelects number[]
Specifies the audio track to preserve for the output. The default is to keep all sources.
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 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.
stream_selects Sequence[float]
Specifies the audio track to preserve for the output. The default is to keep all sources.
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 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.
streamSelects List<Number>
Specifies the audio track to preserve for the output. The default is to keep all sources.

MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterSubtitleTemplate
, MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterSubtitleTemplateArgs

FontAlpha double
Text transparency, value range: (0, 1].0: fully transparent.1: fully opaque.Default: 1.
FontColor string
Font color, format: 0xRRGGBB, default value: 0xFFFFFF (white).
FontSize string
Font size, format: Npx, N is a value, if not specified, the subtitle file shall prevail.
FontType string
Font type.hei.ttf, song.ttf, simkai.ttf, arial.ttf.Default: hei.ttf.
Path string
The address of the subtitle file to be compressed into the video.
StreamIndex double
Specifies the subtitle track to be compressed into the video. If there is a specified Path, the Path has a higher priority. Path and StreamIndex specify at least one.
FontAlpha float64
Text transparency, value range: (0, 1].0: fully transparent.1: fully opaque.Default: 1.
FontColor string
Font color, format: 0xRRGGBB, default value: 0xFFFFFF (white).
FontSize string
Font size, format: Npx, N is a value, if not specified, the subtitle file shall prevail.
FontType string
Font type.hei.ttf, song.ttf, simkai.ttf, arial.ttf.Default: hei.ttf.
Path string
The address of the subtitle file to be compressed into the video.
StreamIndex float64
Specifies the subtitle track to be compressed into the video. If there is a specified Path, the Path has a higher priority. Path and StreamIndex specify at least one.
fontAlpha Double
Text transparency, value range: (0, 1].0: fully transparent.1: fully opaque.Default: 1.
fontColor String
Font color, format: 0xRRGGBB, default value: 0xFFFFFF (white).
fontSize String
Font size, format: Npx, N is a value, if not specified, the subtitle file shall prevail.
fontType String
Font type.hei.ttf, song.ttf, simkai.ttf, arial.ttf.Default: hei.ttf.
path String
The address of the subtitle file to be compressed into the video.
streamIndex Double
Specifies the subtitle track to be compressed into the video. If there is a specified Path, the Path has a higher priority. Path and StreamIndex specify at least one.
fontAlpha number
Text transparency, value range: (0, 1].0: fully transparent.1: fully opaque.Default: 1.
fontColor string
Font color, format: 0xRRGGBB, default value: 0xFFFFFF (white).
fontSize string
Font size, format: Npx, N is a value, if not specified, the subtitle file shall prevail.
fontType string
Font type.hei.ttf, song.ttf, simkai.ttf, arial.ttf.Default: hei.ttf.
path string
The address of the subtitle file to be compressed into the video.
streamIndex number
Specifies the subtitle track to be compressed into the video. If there is a specified Path, the Path has a higher priority. Path and StreamIndex specify at least one.
font_alpha float
Text transparency, value range: (0, 1].0: fully transparent.1: fully opaque.Default: 1.
font_color str
Font color, format: 0xRRGGBB, default value: 0xFFFFFF (white).
font_size str
Font size, format: Npx, N is a value, if not specified, the subtitle file shall prevail.
font_type str
Font type.hei.ttf, song.ttf, simkai.ttf, arial.ttf.Default: hei.ttf.
path str
The address of the subtitle file to be compressed into the video.
stream_index float
Specifies the subtitle track to be compressed into the video. If there is a specified Path, the Path has a higher priority. Path and StreamIndex specify at least one.
fontAlpha Number
Text transparency, value range: (0, 1].0: fully transparent.1: fully opaque.Default: 1.
fontColor String
Font color, format: 0xRRGGBB, default value: 0xFFFFFF (white).
fontSize String
Font size, format: Npx, N is a value, if not specified, the subtitle file shall prevail.
fontType String
Font type.hei.ttf, song.ttf, simkai.ttf, arial.ttf.Default: hei.ttf.
path String
The address of the subtitle file to be compressed into the video.
streamIndex Number
Specifies the subtitle track to be compressed into the video. If there is a specified Path, the Path has a higher priority. Path and StreamIndex specify at least one.

MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterTehdConfig
, MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterTehdConfigArgs

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 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_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 str
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 String
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.

MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterVideoTemplate
, MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterVideoTemplateArgs

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.
ContentAdaptStream double
Content Adaptive Encoding. optional value:0: not open.1: open.Default: 0.When this parameter is turned on, multiple code streams with different resolutions and different bit rates will be adaptively generated. The width and height of the VideoTemplate are the maximum resolutions among the multiple code streams, and the bit rates in the VideoTemplate are multiple code rates. The highest bit rate in the stream, the vcrf in VideoTemplate is the highest quality among multiple bit streams. When the resolution, bit rate and vcrf are not set, the highest resolution generated by the ContentAdaptStream parameter is the resolution of the video source, and the video quality is close to vmaf95. To enable this parameter or learn about billing details, please contact your Tencent Cloud Business.
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.
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].
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.
ContentAdaptStream float64
Content Adaptive Encoding. optional value:0: not open.1: open.Default: 0.When this parameter is turned on, multiple code streams with different resolutions and different bit rates will be adaptively generated. The width and height of the VideoTemplate are the maximum resolutions among the multiple code streams, and the bit rates in the VideoTemplate are multiple code rates. The highest bit rate in the stream, the vcrf in VideoTemplate is the highest quality among multiple bit streams. When the resolution, bit rate and vcrf are not set, the highest resolution generated by the ContentAdaptStream parameter is the resolution of the video source, and the video quality is close to vmaf95. To enable this parameter or learn about billing details, please contact your Tencent Cloud Business.
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.
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].
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.
contentAdaptStream Double
Content Adaptive Encoding. optional value:0: not open.1: open.Default: 0.When this parameter is turned on, multiple code streams with different resolutions and different bit rates will be adaptively generated. The width and height of the VideoTemplate are the maximum resolutions among the multiple code streams, and the bit rates in the VideoTemplate are multiple code rates. The highest bit rate in the stream, the vcrf in VideoTemplate is the highest quality among multiple bit streams. When the resolution, bit rate and vcrf are not set, the highest resolution generated by the ContentAdaptStream parameter is the resolution of the video source, and the video quality is close to vmaf95. To enable this parameter or learn about billing details, please contact your Tencent Cloud Business.
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.
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].
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.
contentAdaptStream number
Content Adaptive Encoding. optional value:0: not open.1: open.Default: 0.When this parameter is turned on, multiple code streams with different resolutions and different bit rates will be adaptively generated. The width and height of the VideoTemplate are the maximum resolutions among the multiple code streams, and the bit rates in the VideoTemplate are multiple code rates. The highest bit rate in the stream, the vcrf in VideoTemplate is the highest quality among multiple bit streams. When the resolution, bit rate and vcrf are not set, the highest resolution generated by the ContentAdaptStream parameter is the resolution of the video source, and the video quality is close to vmaf95. To enable this parameter or learn about billing details, please contact your Tencent Cloud Business.
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.
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].
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.
content_adapt_stream float
Content Adaptive Encoding. optional value:0: not open.1: open.Default: 0.When this parameter is turned on, multiple code streams with different resolutions and different bit rates will be adaptively generated. The width and height of the VideoTemplate are the maximum resolutions among the multiple code streams, and the bit rates in the VideoTemplate are multiple code rates. The highest bit rate in the stream, the vcrf in VideoTemplate is the highest quality among multiple bit streams. When the resolution, bit rate and vcrf are not set, the highest resolution generated by the ContentAdaptStream parameter is the resolution of the video source, and the video quality is close to vmaf95. To enable this parameter or learn about billing details, please contact your Tencent Cloud Business.
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.
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].
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.
contentAdaptStream Number
Content Adaptive Encoding. optional value:0: not open.1: open.Default: 0.When this parameter is turned on, multiple code streams with different resolutions and different bit rates will be adaptively generated. The width and height of the VideoTemplate are the maximum resolutions among the multiple code streams, and the bit rates in the VideoTemplate are multiple code rates. The highest bit rate in the stream, the vcrf in VideoTemplate is the highest quality among multiple bit streams. When the resolution, bit rate and vcrf are not set, the highest resolution generated by the ContentAdaptStream parameter is the resolution of the video source, and the video quality is close to vmaf95. To enable this parameter or learn about billing details, please contact your Tencent Cloud Business.
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.
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].
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.

MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameter
, MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterArgs

Container This property is required. string
Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
AudioTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterAudioTemplate
Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
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 MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterTehdConfig
Ultra-fast HD transcoding parameters.
VideoTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterVideoTemplate
Video stream configuration parameters, when RemoveVideo is 0, this field is required.
Container This property is required. string
Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
AudioTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterAudioTemplate
Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
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 MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterTehdConfig
Ultra-fast HD transcoding parameters.
VideoTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterVideoTemplate
Video stream configuration parameters, when RemoveVideo is 0, this field is required.
container This property is required. String
Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
audioTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterAudioTemplate
Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
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 MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterTehdConfig
Ultra-fast HD transcoding parameters.
videoTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterVideoTemplate
Video stream configuration parameters, when RemoveVideo is 0, this field is required.
container This property is required. string
Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
audioTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterAudioTemplate
Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
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 MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterTehdConfig
Ultra-fast HD transcoding parameters.
videoTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterVideoTemplate
Video stream configuration parameters, when RemoveVideo is 0, this field is required.
container This property is required. str
Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
audio_template MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterAudioTemplate
Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
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 MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterTehdConfig
Ultra-fast HD transcoding parameters.
video_template MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterVideoTemplate
Video stream configuration parameters, when RemoveVideo is 0, this field is required.
container This property is required. 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.
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.

MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterAudioTemplate
, MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterAudioTemplateArgs

Bitrate This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.

MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterTehdConfig
, MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterTehdConfigArgs

Type This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.

MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterVideoTemplate
, MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterVideoTemplateArgs

Bitrate This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.

MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSet
, MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetArgs

Definition This property is required. double
Watermark Template ID.
EndTimeOffset double
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
RawParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
StartTimeOffset double
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
SvgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
TextContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
Definition This property is required. float64
Watermark Template ID.
EndTimeOffset float64
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
RawParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
StartTimeOffset float64
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
SvgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
TextContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. Double
Watermark Template ID.
endTimeOffset Double
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset Double
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent String
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent String
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. number
Watermark Template ID.
endTimeOffset number
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset number
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent string
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent string
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. float
Watermark Template ID.
end_time_offset float
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
raw_parameter MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameter
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
start_time_offset float
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svg_content str
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
text_content str
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.
definition This property is required. Number
Watermark Template ID.
endTimeOffset Number
End time offset of watermark, unit: second.Do not fill in or fill in 0, indicating that the watermark lasts until the end of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark lasts until the nth second and disappears.When the value is less than 0 (assumed to be -n), it means that the watermark lasts until it disappears n seconds before the end of the screen.
rawParameter Property Map
Watermark custom parameters, valid when Definition is filled with 0.This parameter is used in highly customized scenarios, it is recommended that you use Definition to specify watermark parameters first.Watermark custom parameters do not support screenshot watermarking.
startTimeOffset Number
The start time offset of the watermark, unit: second. Do not fill in or fill in 0, which means that the watermark will start to appear when the screen appears.Do not fill in or fill in 0, which means the watermark will appear from the beginning of the screen.When the value is greater than 0 (assumed to be n), it means that the watermark appears from the nth second of the screen.When the value is less than 0 (assumed to be -n), it means that the watermark starts to appear n seconds before the end of the screen.
svgContent String
SVG content. The length cannot exceed 2000000 characters. Fill in only if the watermark type is SVG watermark.SVG watermark does not support screenshot watermarking.
textContent String
Text content, the length does not exceed 100 characters. Fill in only when the watermark type is text watermark.Text watermark does not support screenshot watermarking.

MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameter
, MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterArgs

Type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
CoordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
ImageTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
XPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
YPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
Type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
CoordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
ImageTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
XPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
YPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. String
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin String
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos String
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos String
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. string
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin string
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos string
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos string
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. str
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinate_origin str
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
image_template MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplate
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
x_pos str
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
y_pos str
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.
type This property is required. String
Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
coordinateOrigin String
Origin position, currently only supports:TopLeft: Indicates that the origin of the coordinates is at the upper left corner of the video image, and the origin of the watermark is the upper left corner of the picture or text.Default: TopLeft.
imageTemplate Property Map
Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
xPos String
The horizontal position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark XPos specifies a percentage for the video width, such as 10% means that XPos is 10% of the video width.When the string ends with px, it means that the watermark XPos is the specified pixel, such as 100px means that the XPos is 100 pixels.Default: 0px.
yPos String
The vertical position of the origin of the watermark from the origin of the coordinates of the video image. Support %, px two formats:When the string ends with %, it means that the watermark YPos specifies a percentage for the video height, such as 10% means that YPos is 10% of the video height.When the string ends with px, it means that the watermark YPos is the specified pixel, such as 100px means that the YPos is 100 pixels.Default: 0px.

MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplate
, MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateArgs

ImageContent This property is required. MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
Height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
RepeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
Width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
ImageContent This property is required. MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
Height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
RepeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
Width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height String
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType String
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width String
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height string
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType string
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width string
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
image_content This property is required. MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContent
The input content of the watermark image. Support jpeg, png image format.
height str
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeat_type str
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width str
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.
imageContent This property is required. Property Map
The input content of the watermark image. Support jpeg, png image format.
height String
The height of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Height is the percentage size of the video height, such as 10% means that the Height is 10% of the video height.When the string ends with px, it means that the watermark Height unit is pixel, such as 100px means that the Height is 100 pixels.Default value: 0px, indicating that Height is scaled according to the aspect ratio of the original watermark image.
repeatType String
Watermark repeat type. Usage scenario: The watermark is a dynamic image. Ranges.once: After the dynamic watermark is played, it will no longer appear.repeat_last_frame: After the watermark is played, stay on the last frame.repeat: the watermark loops until the end of the video (default).
width String
The width of the watermark. Support %, px two formats:When the string ends with %, it means that the watermark Width is a percentage of the video width, such as 10% means that the Width is 10% of the video width.When the string ends with px, it means that the watermark Width unit is pixels, such as 100px means that the Width is 100 pixels.Default: 10%.

MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContent
, MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentArgs

Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
Enter the type of source object, which supports COS and URL.
CosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
UrlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
Enter the type of source object, which supports COS and URL.
cosInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
Enter the type of source object, which supports COS and URL.
cos_input_info MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
Valid when Type is COS, this item is required, indicating media processing COS object information.
url_input_info MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
Enter the type of source object, which supports COS and URL.
cosInputInfo Property Map
Valid when Type is COS, this item is required, indicating media processing COS object information.
urlInputInfo Property Map
Valid when Type is URL, this item is required, indicating media processing URL object information.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfo
, MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentCosInputInfoArgs

Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
Bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
Object This property is required. string
Input path for media processing object files.
Region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. string
The name of the COS Bucket where the media processing object file is located.
object This property is required. string
Input path for media processing object files.
region This property is required. string
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. str
The name of the COS Bucket where the media processing object file is located.
object This property is required. str
Input path for media processing object files.
region This property is required. str
The park to which the COS Bucket where the media processing target file resides belongs.
bucket This property is required. String
The name of the COS Bucket where the media processing object file is located.
object This property is required. String
Input path for media processing object files.
region This property is required. String
The park to which the COS Bucket where the media processing target file resides belongs.

MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo
, MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfoArgs

Url This property is required. string
Video URL.
Url This property is required. string
Video URL.
url This property is required. String
Video URL.
url This property is required. string
Video URL.
url This property is required. str
Video URL.
url This property is required. String
Video URL.

MpsWorkflowOutputStorage
, MpsWorkflowOutputStorageArgs

Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
The type of media processing output object storage location, now only supports COS.
CosOutputStorage MpsWorkflowOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
The type of media processing output object storage location, now only supports COS.
cosOutputStorage MpsWorkflowOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
The type of media processing output object storage location, now only supports COS.
cos_output_storage MpsWorkflowOutputStorageCosOutputStorage
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of media processing output object storage location, now only supports COS.
cosOutputStorage Property Map
Valid when Type is COS, this item is required, indicating the media processing COS output location.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowOutputStorageCosOutputStorage
, MpsWorkflowOutputStorageCosOutputStorageArgs

Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
Bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
Region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket string
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region string
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket str
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region str
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.
bucket String
The target Bucket name of the file output generated by media processing, if not filled, it means the upper layer.
region String
The park of the target Bucket for the output of the file generated by media processing. If not filled, it means inheriting from the upper layer.

MpsWorkflowTaskNotifyConfig
, MpsWorkflowTaskNotifyConfigArgs

CmqModel string
CMQ or TDMQ-CMQ model, there are two kinds of Queue and Topic.
CmqRegion string
Region of CMQ or TDMQ-CMQ, such as sh, bj, etc.
NotifyMode string
The mode of the workflow notification, the possible values are Finish and Change, leaving blank means Finish.
NotifyType string
Notification type, optional value:CMQ: offline, it is recommended to switch to TDMQ-CMQ.TDMQ-CMQ: message queue.URL: When the URL is specified, the HTTP callback is pushed to the address specified by NotifyUrl, the callback protocol is http+json, and the package body content is the same as the output parameters of the parsing event notification interface.SCF: not recommended, additional configuration of SCF in the console is required.Note: CMQ is the default when not filled or empty, if you need to use other types, you need to fill in the corresponding type value.
NotifyUrl string
HTTP callback address, required when NotifyType is URL.
QueueName string
Valid when the model is Queue, indicating the queue name of the CMQ or TDMQ-CMQ that receives the event notification.
TopicName string
Valid when the model is a Topic, indicating the topic name of the CMQ or TDMQ-CMQ that receives event notifications.
CmqModel string
CMQ or TDMQ-CMQ model, there are two kinds of Queue and Topic.
CmqRegion string
Region of CMQ or TDMQ-CMQ, such as sh, bj, etc.
NotifyMode string
The mode of the workflow notification, the possible values are Finish and Change, leaving blank means Finish.
NotifyType string
Notification type, optional value:CMQ: offline, it is recommended to switch to TDMQ-CMQ.TDMQ-CMQ: message queue.URL: When the URL is specified, the HTTP callback is pushed to the address specified by NotifyUrl, the callback protocol is http+json, and the package body content is the same as the output parameters of the parsing event notification interface.SCF: not recommended, additional configuration of SCF in the console is required.Note: CMQ is the default when not filled or empty, if you need to use other types, you need to fill in the corresponding type value.
NotifyUrl string
HTTP callback address, required when NotifyType is URL.
QueueName string
Valid when the model is Queue, indicating the queue name of the CMQ or TDMQ-CMQ that receives the event notification.
TopicName string
Valid when the model is a Topic, indicating the topic name of the CMQ or TDMQ-CMQ that receives event notifications.
cmqModel String
CMQ or TDMQ-CMQ model, there are two kinds of Queue and Topic.
cmqRegion String
Region of CMQ or TDMQ-CMQ, such as sh, bj, etc.
notifyMode String
The mode of the workflow notification, the possible values are Finish and Change, leaving blank means Finish.
notifyType String
Notification type, optional value:CMQ: offline, it is recommended to switch to TDMQ-CMQ.TDMQ-CMQ: message queue.URL: When the URL is specified, the HTTP callback is pushed to the address specified by NotifyUrl, the callback protocol is http+json, and the package body content is the same as the output parameters of the parsing event notification interface.SCF: not recommended, additional configuration of SCF in the console is required.Note: CMQ is the default when not filled or empty, if you need to use other types, you need to fill in the corresponding type value.
notifyUrl String
HTTP callback address, required when NotifyType is URL.
queueName String
Valid when the model is Queue, indicating the queue name of the CMQ or TDMQ-CMQ that receives the event notification.
topicName String
Valid when the model is a Topic, indicating the topic name of the CMQ or TDMQ-CMQ that receives event notifications.
cmqModel string
CMQ or TDMQ-CMQ model, there are two kinds of Queue and Topic.
cmqRegion string
Region of CMQ or TDMQ-CMQ, such as sh, bj, etc.
notifyMode string
The mode of the workflow notification, the possible values are Finish and Change, leaving blank means Finish.
notifyType string
Notification type, optional value:CMQ: offline, it is recommended to switch to TDMQ-CMQ.TDMQ-CMQ: message queue.URL: When the URL is specified, the HTTP callback is pushed to the address specified by NotifyUrl, the callback protocol is http+json, and the package body content is the same as the output parameters of the parsing event notification interface.SCF: not recommended, additional configuration of SCF in the console is required.Note: CMQ is the default when not filled or empty, if you need to use other types, you need to fill in the corresponding type value.
notifyUrl string
HTTP callback address, required when NotifyType is URL.
queueName string
Valid when the model is Queue, indicating the queue name of the CMQ or TDMQ-CMQ that receives the event notification.
topicName string
Valid when the model is a Topic, indicating the topic name of the CMQ or TDMQ-CMQ that receives event notifications.
cmq_model str
CMQ or TDMQ-CMQ model, there are two kinds of Queue and Topic.
cmq_region str
Region of CMQ or TDMQ-CMQ, such as sh, bj, etc.
notify_mode str
The mode of the workflow notification, the possible values are Finish and Change, leaving blank means Finish.
notify_type str
Notification type, optional value:CMQ: offline, it is recommended to switch to TDMQ-CMQ.TDMQ-CMQ: message queue.URL: When the URL is specified, the HTTP callback is pushed to the address specified by NotifyUrl, the callback protocol is http+json, and the package body content is the same as the output parameters of the parsing event notification interface.SCF: not recommended, additional configuration of SCF in the console is required.Note: CMQ is the default when not filled or empty, if you need to use other types, you need to fill in the corresponding type value.
notify_url str
HTTP callback address, required when NotifyType is URL.
queue_name str
Valid when the model is Queue, indicating the queue name of the CMQ or TDMQ-CMQ that receives the event notification.
topic_name str
Valid when the model is a Topic, indicating the topic name of the CMQ or TDMQ-CMQ that receives event notifications.
cmqModel String
CMQ or TDMQ-CMQ model, there are two kinds of Queue and Topic.
cmqRegion String
Region of CMQ or TDMQ-CMQ, such as sh, bj, etc.
notifyMode String
The mode of the workflow notification, the possible values are Finish and Change, leaving blank means Finish.
notifyType String
Notification type, optional value:CMQ: offline, it is recommended to switch to TDMQ-CMQ.TDMQ-CMQ: message queue.URL: When the URL is specified, the HTTP callback is pushed to the address specified by NotifyUrl, the callback protocol is http+json, and the package body content is the same as the output parameters of the parsing event notification interface.SCF: not recommended, additional configuration of SCF in the console is required.Note: CMQ is the default when not filled or empty, if you need to use other types, you need to fill in the corresponding type value.
notifyUrl String
HTTP callback address, required when NotifyType is URL.
queueName String
Valid when the model is Queue, indicating the queue name of the CMQ or TDMQ-CMQ that receives the event notification.
topicName String
Valid when the model is a Topic, indicating the topic name of the CMQ or TDMQ-CMQ that receives event notifications.

MpsWorkflowTrigger
, MpsWorkflowTriggerArgs

Type This property is required. string
The type of trigger, currently only supports CosFileUpload.
CosFileUploadTrigger MpsWorkflowTriggerCosFileUploadTrigger
Mandatory and valid when Type is CosFileUpload, the rule is triggered for COS.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
The type of trigger, currently only supports CosFileUpload.
CosFileUploadTrigger MpsWorkflowTriggerCosFileUploadTrigger
Mandatory and valid when Type is CosFileUpload, the rule is triggered for COS.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of trigger, currently only supports CosFileUpload.
cosFileUploadTrigger MpsWorkflowTriggerCosFileUploadTrigger
Mandatory and valid when Type is CosFileUpload, the rule is triggered for COS.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
The type of trigger, currently only supports CosFileUpload.
cosFileUploadTrigger MpsWorkflowTriggerCosFileUploadTrigger
Mandatory and valid when Type is CosFileUpload, the rule is triggered for COS.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
The type of trigger, currently only supports CosFileUpload.
cos_file_upload_trigger MpsWorkflowTriggerCosFileUploadTrigger
Mandatory and valid when Type is CosFileUpload, the rule is triggered for COS.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The type of trigger, currently only supports CosFileUpload.
cosFileUploadTrigger Property Map
Mandatory and valid when Type is CosFileUpload, the rule is triggered for COS.Note: This field may return null, indicating that no valid value can be obtained.

MpsWorkflowTriggerCosFileUploadTrigger
, MpsWorkflowTriggerCosFileUploadTriggerArgs

Bucket This property is required. string
The name of the COS Bucket bound to the workflow.
Region This property is required. string
The park to which the COS Bucket bound to the workflow belongs.
Dir string
The input path directory of the workflow binding must be an absolute path, that is, start and end with /.
Formats List<string>
A list of file formats that are allowed to be triggered by the workflow, if not filled in, it means that files of all formats can trigger the workflow.
Bucket This property is required. string
The name of the COS Bucket bound to the workflow.
Region This property is required. string
The park to which the COS Bucket bound to the workflow belongs.
Dir string
The input path directory of the workflow binding must be an absolute path, that is, start and end with /.
Formats []string
A list of file formats that are allowed to be triggered by the workflow, if not filled in, it means that files of all formats can trigger the workflow.
bucket This property is required. String
The name of the COS Bucket bound to the workflow.
region This property is required. String
The park to which the COS Bucket bound to the workflow belongs.
dir String
The input path directory of the workflow binding must be an absolute path, that is, start and end with /.
formats List<String>
A list of file formats that are allowed to be triggered by the workflow, if not filled in, it means that files of all formats can trigger the workflow.
bucket This property is required. string
The name of the COS Bucket bound to the workflow.
region This property is required. string
The park to which the COS Bucket bound to the workflow belongs.
dir string
The input path directory of the workflow binding must be an absolute path, that is, start and end with /.
formats string[]
A list of file formats that are allowed to be triggered by the workflow, if not filled in, it means that files of all formats can trigger the workflow.
bucket This property is required. str
The name of the COS Bucket bound to the workflow.
region This property is required. str
The park to which the COS Bucket bound to the workflow belongs.
dir str
The input path directory of the workflow binding must be an absolute path, that is, start and end with /.
formats Sequence[str]
A list of file formats that are allowed to be triggered by the workflow, if not filled in, it means that files of all formats can trigger the workflow.
bucket This property is required. String
The name of the COS Bucket bound to the workflow.
region This property is required. String
The park to which the COS Bucket bound to the workflow belongs.
dir String
The input path directory of the workflow binding must be an absolute path, that is, start and end with /.
formats List<String>
A list of file formats that are allowed to be triggered by the workflow, if not filled in, it means that files of all formats can trigger the workflow.

Import

mps workflow can be imported using the id, e.g.

$ pulumi import tencentcloud:index/mpsWorkflow:MpsWorkflow workflow workflow_id
Copy

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.