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());
}
}
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
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 string
- The unique name of the resource.
- args MpsWorkflowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args MpsWorkflowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MpsWorkflowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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
Mps
Workflow Trigger - The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
- Workflow
Name string - Workflow name, up to 128 characters. The name is unique for the same user.
- Ai
Analysis MpsTask Workflow Ai Analysis Task - Video Content Analysis Type Task Parameters.
- Ai
Content MpsReview Task Workflow Ai Content Review Task - Video Content Moderation Type Task Parameters.
- Ai
Recognition MpsTask Workflow Ai Recognition Task - Video content recognition type task parameters.
- Media
Process MpsTask Workflow Media Process Task - Media Processing Type Task Parameters.
- Mps
Workflow stringId - ID of the resource.
- Output
Dir 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.
- Output
Storage MpsWorkflow Output Storage - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- Task
Notify MpsConfig Workflow Task Notify Config - The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
- Task
Priority 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
Mps
Workflow Trigger Args - The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
- Workflow
Name string - Workflow name, up to 128 characters. The name is unique for the same user.
- Ai
Analysis MpsTask Workflow Ai Analysis Task Args - Video Content Analysis Type Task Parameters.
- Ai
Content MpsReview Task Workflow Ai Content Review Task Args - Video Content Moderation Type Task Parameters.
- Ai
Recognition MpsTask Workflow Ai Recognition Task Args - Video content recognition type task parameters.
- Media
Process MpsTask Workflow Media Process Task Args - Media Processing Type Task Parameters.
- Mps
Workflow stringId - ID of the resource.
- Output
Dir 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.
- Output
Storage MpsWorkflow Output Storage Args - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- Task
Notify MpsConfig Workflow Task Notify Config Args - The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
- Task
Priority 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
Mps
Workflow Trigger - The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
- workflow
Name String - Workflow name, up to 128 characters. The name is unique for the same user.
- ai
Analysis MpsTask Workflow Ai Analysis Task - Video Content Analysis Type Task Parameters.
- ai
Content MpsReview Task Workflow Ai Content Review Task - Video Content Moderation Type Task Parameters.
- ai
Recognition MpsTask Workflow Ai Recognition Task - Video content recognition type task parameters.
- media
Process MpsTask Workflow Media Process Task - Media Processing Type Task Parameters.
- mps
Workflow StringId - ID of the resource.
- output
Dir 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.
- output
Storage MpsWorkflow Output Storage - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- task
Notify MpsConfig Workflow Task Notify Config - The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
- task
Priority 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
Mps
Workflow Trigger - The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
- workflow
Name string - Workflow name, up to 128 characters. The name is unique for the same user.
- ai
Analysis MpsTask Workflow Ai Analysis Task - Video Content Analysis Type Task Parameters.
- ai
Content MpsReview Task Workflow Ai Content Review Task - Video Content Moderation Type Task Parameters.
- ai
Recognition MpsTask Workflow Ai Recognition Task - Video content recognition type task parameters.
- media
Process MpsTask Workflow Media Process Task - Media Processing Type Task Parameters.
- mps
Workflow stringId - ID of the resource.
- output
Dir 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.
- output
Storage MpsWorkflow Output Storage - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- task
Notify MpsConfig Workflow Task Notify Config - The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
- task
Priority 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
Mps
Workflow Trigger Args - 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.
- ai_
analysis_ Mpstask Workflow Ai Analysis Task Args - Video Content Analysis Type Task Parameters.
- ai_
content_ Mpsreview_ task Workflow Ai Content Review Task Args - Video Content Moderation Type Task Parameters.
- ai_
recognition_ Mpstask Workflow Ai Recognition Task Args - Video content recognition type task parameters.
- media_
process_ Mpstask Workflow Media Process Task Args - Media Processing Type Task Parameters.
- mps_
workflow_ strid - 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 MpsWorkflow Output Storage Args - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- task_
notify_ Mpsconfig Workflow Task Notify Config Args - 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 Property Map
- The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
- workflow
Name String - Workflow name, up to 128 characters. The name is unique for the same user.
- ai
Analysis Property MapTask - Video Content Analysis Type Task Parameters.
- ai
Content Property MapReview Task - Video Content Moderation Type Task Parameters.
- ai
Recognition Property MapTask - Video content recognition type task parameters.
- media
Process Property MapTask - Media Processing Type Task Parameters.
- mps
Workflow StringId - ID of the resource.
- output
Dir 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.
- output
Storage Property Map - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- task
Notify Property MapConfig - The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
- task
Priority 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Ai
Analysis MpsTask Workflow Ai Analysis Task - Video Content Analysis Type Task Parameters.
- Ai
Content MpsReview Task Workflow Ai Content Review Task - Video Content Moderation Type Task Parameters.
- Ai
Recognition MpsTask Workflow Ai Recognition Task - Video content recognition type task parameters.
- Media
Process MpsTask Workflow Media Process Task - Media Processing Type Task Parameters.
- Mps
Workflow stringId - ID of the resource.
- Output
Dir 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.
- Output
Storage MpsWorkflow Output Storage - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- Task
Notify MpsConfig Workflow Task Notify Config - The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
- Task
Priority 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
Mps
Workflow Trigger - The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
- Workflow
Name string - Workflow name, up to 128 characters. The name is unique for the same user.
- Ai
Analysis MpsTask Workflow Ai Analysis Task Args - Video Content Analysis Type Task Parameters.
- Ai
Content MpsReview Task Workflow Ai Content Review Task Args - Video Content Moderation Type Task Parameters.
- Ai
Recognition MpsTask Workflow Ai Recognition Task Args - Video content recognition type task parameters.
- Media
Process MpsTask Workflow Media Process Task Args - Media Processing Type Task Parameters.
- Mps
Workflow stringId - ID of the resource.
- Output
Dir 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.
- Output
Storage MpsWorkflow Output Storage Args - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- Task
Notify MpsConfig Workflow Task Notify Config Args - The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
- Task
Priority 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
Mps
Workflow Trigger Args - The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
- Workflow
Name string - Workflow name, up to 128 characters. The name is unique for the same user.
- ai
Analysis MpsTask Workflow Ai Analysis Task - Video Content Analysis Type Task Parameters.
- ai
Content MpsReview Task Workflow Ai Content Review Task - Video Content Moderation Type Task Parameters.
- ai
Recognition MpsTask Workflow Ai Recognition Task - Video content recognition type task parameters.
- media
Process MpsTask Workflow Media Process Task - Media Processing Type Task Parameters.
- mps
Workflow StringId - ID of the resource.
- output
Dir 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.
- output
Storage MpsWorkflow Output Storage - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- task
Notify MpsConfig Workflow Task Notify Config - The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
- task
Priority 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
Mps
Workflow Trigger - The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
- workflow
Name String - Workflow name, up to 128 characters. The name is unique for the same user.
- ai
Analysis MpsTask Workflow Ai Analysis Task - Video Content Analysis Type Task Parameters.
- ai
Content MpsReview Task Workflow Ai Content Review Task - Video Content Moderation Type Task Parameters.
- ai
Recognition MpsTask Workflow Ai Recognition Task - Video content recognition type task parameters.
- media
Process MpsTask Workflow Media Process Task - Media Processing Type Task Parameters.
- mps
Workflow stringId - ID of the resource.
- output
Dir 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.
- output
Storage MpsWorkflow Output Storage - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- task
Notify MpsConfig Workflow Task Notify Config - The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
- task
Priority 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
Mps
Workflow Trigger - The trigger rule bound to the workflow, when the uploaded video hits the rule to this object, the workflow will be triggered.
- workflow
Name string - Workflow name, up to 128 characters. The name is unique for the same user.
- ai_
analysis_ Mpstask Workflow Ai Analysis Task Args - Video Content Analysis Type Task Parameters.
- ai_
content_ Mpsreview_ task Workflow Ai Content Review Task Args - Video Content Moderation Type Task Parameters.
- ai_
recognition_ Mpstask Workflow Ai Recognition Task Args - Video content recognition type task parameters.
- media_
process_ Mpstask Workflow Media Process Task Args - Media Processing Type Task Parameters.
- mps_
workflow_ strid - 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 MpsWorkflow Output Storage Args - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- task_
notify_ Mpsconfig Workflow Task Notify Config Args - 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
Mps
Workflow Trigger Args - 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.
- ai
Analysis Property MapTask - Video Content Analysis Type Task Parameters.
- ai
Content Property MapReview Task - Video Content Moderation Type Task Parameters.
- ai
Recognition Property MapTask - Video content recognition type task parameters.
- media
Process Property MapTask - Media Processing Type Task Parameters.
- mps
Workflow StringId - ID of the resource.
- output
Dir 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.
- output
Storage Property Map - File output storage location for media processing. If left blank, the storage location in Trigger will be inherited.
- task
Notify Property MapConfig - The event notification configuration of the task, if it is not filled, it means that the event notification will not be obtained.
- task
Priority 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.
- workflow
Name String - Workflow name, up to 128 characters. The name is unique for the same user.
Supporting Types
MpsWorkflowAiAnalysisTask, MpsWorkflowAiAnalysisTaskArgs
- Definition double
- Video Content Analysis Template ID.
- Extended
Parameter 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 float64
- Video Content Analysis Template ID.
- Extended
Parameter 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 Double
- Video Content Analysis Template ID.
- extended
Parameter 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 number
- Video Content Analysis Template ID.
- extended
Parameter 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 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 Number
- Video Content Analysis Template ID.
- extended
Parameter 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 double
- Video Content Review Template ID.
- Definition float64
- Video Content Review Template ID.
- definition Double
- Video Content Review Template ID.
- definition number
- Video Content Review Template ID.
- definition float
- Video Content Review Template ID.
- definition Number
- Video Content Review Template ID.
MpsWorkflowAiRecognitionTask, MpsWorkflowAiRecognitionTaskArgs
- Definition double
- Video Intelligent Recognition Template ID.
- Definition float64
- Video Intelligent Recognition Template ID.
- definition Double
- Video Intelligent Recognition Template ID.
- definition number
- Video Intelligent Recognition Template ID.
- definition float
- Video Intelligent Recognition Template ID.
- definition Number
- Video Intelligent Recognition Template ID.
MpsWorkflowMediaProcessTask, MpsWorkflowMediaProcessTaskArgs
- Adaptive
Dynamic List<MpsStreaming Task Sets Workflow Media Process Task Adaptive Dynamic Streaming Task Set> - Transfer Adaptive Code Stream Task List.
- Animated
Graphic List<MpsTask Sets Workflow Media Process Task Animated Graphic Task Set> - Video Rotation Map Task List.
- Image
Sprite List<MpsTask Sets Workflow Media Process Task Image Sprite Task Set> - Sprite image capture task list for video.
- Sample
Snapshot List<MpsTask Sets Workflow Media Process Task Sample Snapshot Task Set> - Screenshot task list for video sampling.
- Snapshot
By List<MpsTime Offset Task Sets Workflow Media Process Task Snapshot By Time Offset Task Set> - Screenshot the task list of the video according to the time point.
- Transcode
Task List<MpsSets Workflow Media Process Task Transcode Task Set> - Video Transcoding Task List.
- Adaptive
Dynamic []MpsStreaming Task Sets Workflow Media Process Task Adaptive Dynamic Streaming Task Set - Transfer Adaptive Code Stream Task List.
- Animated
Graphic []MpsTask Sets Workflow Media Process Task Animated Graphic Task Set - Video Rotation Map Task List.
- Image
Sprite []MpsTask Sets Workflow Media Process Task Image Sprite Task Set - Sprite image capture task list for video.
- Sample
Snapshot []MpsTask Sets Workflow Media Process Task Sample Snapshot Task Set - Screenshot task list for video sampling.
- Snapshot
By []MpsTime Offset Task Sets Workflow Media Process Task Snapshot By Time Offset Task Set - Screenshot the task list of the video according to the time point.
- Transcode
Task []MpsSets Workflow Media Process Task Transcode Task Set - Video Transcoding Task List.
- adaptive
Dynamic List<MpsStreaming Task Sets Workflow Media Process Task Adaptive Dynamic Streaming Task Set> - Transfer Adaptive Code Stream Task List.
- animated
Graphic List<MpsTask Sets Workflow Media Process Task Animated Graphic Task Set> - Video Rotation Map Task List.
- image
Sprite List<MpsTask Sets Workflow Media Process Task Image Sprite Task Set> - Sprite image capture task list for video.
- sample
Snapshot List<MpsTask Sets Workflow Media Process Task Sample Snapshot Task Set> - Screenshot task list for video sampling.
- snapshot
By List<MpsTime Offset Task Sets Workflow Media Process Task Snapshot By Time Offset Task Set> - Screenshot the task list of the video according to the time point.
- transcode
Task List<MpsSets Workflow Media Process Task Transcode Task Set> - Video Transcoding Task List.
- adaptive
Dynamic MpsStreaming Task Sets Workflow Media Process Task Adaptive Dynamic Streaming Task Set[] - Transfer Adaptive Code Stream Task List.
- animated
Graphic MpsTask Sets Workflow Media Process Task Animated Graphic Task Set[] - Video Rotation Map Task List.
- image
Sprite MpsTask Sets Workflow Media Process Task Image Sprite Task Set[] - Sprite image capture task list for video.
- sample
Snapshot MpsTask Sets Workflow Media Process Task Sample Snapshot Task Set[] - Screenshot task list for video sampling.
- snapshot
By MpsTime Offset Task Sets Workflow Media Process Task Snapshot By Time Offset Task Set[] - Screenshot the task list of the video according to the time point.
- transcode
Task MpsSets Workflow Media Process Task Transcode Task Set[] - Video Transcoding Task List.
- adaptive_
dynamic_ Sequence[Mpsstreaming_ task_ sets Workflow Media Process Task Adaptive Dynamic Streaming Task Set] - Transfer Adaptive Code Stream Task List.
- animated_
graphic_ Sequence[Mpstask_ sets Workflow Media Process Task Animated Graphic Task Set] - Video Rotation Map Task List.
- image_
sprite_ Sequence[Mpstask_ sets Workflow Media Process Task Image Sprite Task Set] - Sprite image capture task list for video.
- sample_
snapshot_ Sequence[Mpstask_ sets Workflow Media Process Task Sample Snapshot Task Set] - Screenshot task list for video sampling.
- snapshot_
by_ Sequence[Mpstime_ offset_ task_ sets Workflow Media Process Task Snapshot By Time Offset Task Set] - Screenshot the task list of the video according to the time point.
- transcode_
task_ Sequence[Mpssets Workflow Media Process Task Transcode Task Set] - Video Transcoding Task List.
- adaptive
Dynamic List<Property Map>Streaming Task Sets - Transfer Adaptive Code Stream Task List.
- animated
Graphic List<Property Map>Task Sets - Video Rotation Map Task List.
- image
Sprite List<Property Map>Task Sets - Sprite image capture task list for video.
- sample
Snapshot List<Property Map>Task Sets - Screenshot task list for video sampling.
- snapshot
By List<Property Map>Time Offset Task Sets - Screenshot the task list of the video according to the time point.
- transcode
Task List<Property Map>Sets - Video Transcoding Task List.
MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSet, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetArgs
- Definition double
- Watermark Template ID.
- Output
Object stringPath - 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Output Storage - 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 stringName - 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 stringObject Name - 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 List<MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set> - Watermark list, support multiple pictures or text watermarks, up to 10.
- Definition float64
- Watermark Template ID.
- Output
Object stringPath - 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Output Storage - 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 stringName - 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 stringObject Name - 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 []MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition Double
- Watermark Template ID.
- output
Object StringPath - 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Output Storage - 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 StringName - 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 StringObject Name - 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 List<MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set> - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition number
- Watermark Template ID.
- output
Object stringPath - 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Output Storage - 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 stringName - 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 stringObject Name - 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set[] - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition float
- Watermark Template ID.
- output_
object_ strpath - 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Output Storage - 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_ strname - 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_ strobject_ name - 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[MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set] - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition Number
- Watermark Template ID.
- output
Object StringPath - 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 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.
- segment
Object StringName - 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 StringObject Name - 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 List<Property Map> - Watermark list, support multiple pictures or text watermarks, up to 10.
MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorage, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetOutputStorageArgs
- Type string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Adaptive Dynamic Streaming Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Adaptive Dynamic Streaming Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Adaptive Dynamic Streaming Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Adaptive Dynamic Streaming Task Set Output Storage Cos Output Storage - 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 str
- The type of media processing output object storage location, now only supports COS.
- cos_
output_ Mpsstorage Workflow Media Process Task Adaptive Dynamic Streaming Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output Property MapStorage - 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
MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSet, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetArgs
- Definition double
- Watermark Template ID.
- End
Time doubleOffset - 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter - 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 doubleOffset - 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 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.
- Text
Content 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 float64
- Watermark Template ID.
- End
Time float64Offset - 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter - 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 float64Offset - 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 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.
- Text
Content 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 Double
- Watermark Template ID.
- end
Time DoubleOffset - 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter - 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 DoubleOffset - 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 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.
- text
Content 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 number
- Watermark Template ID.
- end
Time numberOffset - 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter - 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 numberOffset - 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 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.
- text
Content 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 float
- Watermark Template ID.
- end_
time_ floatoffset - 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter - 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_ floatoffset - 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 Number
- Watermark Template ID.
- end
Time NumberOffset - 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 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.
- start
Time NumberOffset - 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 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.
- text
Content 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 string
- 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 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.
- Image
Template MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template - 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 string
- 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 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.
- Image
Template MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template - 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 String
- 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 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.
- image
Template MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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 string
- 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 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.
- image
Template MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template - 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 String
- 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 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.
- image
Template Property Map - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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
- Image
Content MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- Repeat
Type 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- Repeat
Type 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- repeat
Type 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- repeat
Type 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 MpsWorkflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content - 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%.
- image
Content 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.
- repeat
Type 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 string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 str
- Enter the type of source object, which supports COS and URL.
- cos_
input_ Mpsinfo Workflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url_
input_ Mpsinfo Workflow Media Process Task Adaptive Dynamic Streaming Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input Property MapInfo - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input Property MapInfo - 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
MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo, MpsWorkflowMediaProcessTaskAdaptiveDynamicStreamingTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfoArgs
- Url string
- Video URL.
- Url string
- Video URL.
- url String
- Video URL.
- url string
- Video URL.
- url str
- Video URL.
- url String
- Video URL.
MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSet, MpsWorkflowMediaProcessTaskAnimatedGraphicTaskSetArgs
- Definition double
- Video turntable template id.
- End
Time doubleOffset - The end time of the animation in the video, in seconds.
- Start
Time doubleOffset - The start time of the animation in the video, in seconds.
- Output
Object stringPath - 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 MpsWorkflow Media Process Task Animated Graphic Task Set Output Storage - 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 float64
- Video turntable template id.
- End
Time float64Offset - The end time of the animation in the video, in seconds.
- Start
Time float64Offset - The start time of the animation in the video, in seconds.
- Output
Object stringPath - 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 MpsWorkflow Media Process Task Animated Graphic Task Set Output Storage - 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 Double
- Video turntable template id.
- end
Time DoubleOffset - The end time of the animation in the video, in seconds.
- start
Time DoubleOffset - The start time of the animation in the video, in seconds.
- output
Object StringPath - 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 MpsWorkflow Media Process Task Animated Graphic Task Set Output Storage - 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 number
- Video turntable template id.
- end
Time numberOffset - The end time of the animation in the video, in seconds.
- start
Time numberOffset - The start time of the animation in the video, in seconds.
- output
Object stringPath - 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 MpsWorkflow Media Process Task Animated Graphic Task Set Output Storage - 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 float
- Video turntable template id.
- end_
time_ floatoffset - The end time of the animation in the video, in seconds.
- start_
time_ floatoffset - The start time of the animation in the video, in seconds.
- output_
object_ strpath - 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 MpsWorkflow Media Process Task Animated Graphic Task Set Output Storage - 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 Number
- Video turntable template id.
- end
Time NumberOffset - The end time of the animation in the video, in seconds.
- start
Time NumberOffset - The start time of the animation in the video, in seconds.
- output
Object StringPath - 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 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 string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Animated Graphic Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Animated Graphic Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Animated Graphic Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Animated Graphic Task Set Output Storage Cos Output Storage - 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 str
- The type of media processing output object storage location, now only supports COS.
- cos_
output_ Mpsstorage Workflow Media Process Task Animated Graphic Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output Property MapStorage - 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
MpsWorkflowMediaProcessTaskImageSpriteTaskSet, MpsWorkflowMediaProcessTaskImageSpriteTaskSetArgs
- Definition double
- Sprite Illustration Template ID.
- Object
Number MpsFormat Workflow Media Process Task Image Sprite Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Image Sprite Task Set Output Storage - 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 stringObject Name - 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 float64
- Sprite Illustration Template ID.
- Object
Number MpsFormat Workflow Media Process Task Image Sprite Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Image Sprite Task Set Output Storage - 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 stringObject Name - 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 Double
- Sprite Illustration Template ID.
- object
Number MpsFormat Workflow Media Process Task Image Sprite Task Set Object Number Format - 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 StringPath - 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 MpsWorkflow Media Process Task Image Sprite Task Set Output Storage - 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 StringObject Name - 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 number
- Sprite Illustration Template ID.
- object
Number MpsFormat Workflow Media Process Task Image Sprite Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Image Sprite Task Set Output Storage - 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 stringObject Name - 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 float
- Sprite Illustration Template ID.
- object_
number_ Mpsformat Workflow Media Process Task Image Sprite Task Set Object Number Format - 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_ strpath - 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 MpsWorkflow Media Process Task Image Sprite Task Set Output Storage - 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_ strobject_ name - 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 Number
- Sprite Illustration Template ID.
- object
Number Property MapFormat - 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 StringPath - 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 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.
- web
Vtt StringObject Name - 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. - Initial
Value double - The starting value of
{number}
variable, the default is 0. - Min
Length double - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - Place
Holder 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. - Initial
Value float64 - The starting value of
{number}
variable, the default is 0. - Min
Length float64 - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - Place
Holder 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. - initial
Value Double - The starting value of
{number}
variable, the default is 0. - min
Length Double - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder 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. - initial
Value number - The starting value of
{number}
variable, the default is 0. - min
Length number - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder 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. - initial
Value Number - The starting value of
{number}
variable, the default is 0. - min
Length Number - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder String - When the length of the
{number}
variable is insufficient, a placeholder is added. Default is 0.
MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorage, MpsWorkflowMediaProcessTaskImageSpriteTaskSetOutputStorageArgs
- Type string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Image Sprite Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Image Sprite Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Image Sprite Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Image Sprite Task Set Output Storage Cos Output Storage - 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 str
- The type of media processing output object storage location, now only supports COS.
- cos_
output_ Mpsstorage Workflow Media Process Task Image Sprite Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output Property MapStorage - 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
MpsWorkflowMediaProcessTaskSampleSnapshotTaskSet, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetArgs
- Definition double
- Watermark Template ID.
- Object
Number MpsFormat Workflow Media Process Task Sample Snapshot Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Output Storage - 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 List<MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set> - Watermark list, support multiple pictures or text watermarks, up to 10.
- Definition float64
- Watermark Template ID.
- Object
Number MpsFormat Workflow Media Process Task Sample Snapshot Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Output Storage - 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 []MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition Double
- Watermark Template ID.
- object
Number MpsFormat Workflow Media Process Task Sample Snapshot Task Set Object Number Format - 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 StringPath - 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Output Storage - 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 List<MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set> - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition number
- Watermark Template ID.
- object
Number MpsFormat Workflow Media Process Task Sample Snapshot Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Output Storage - 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set[] - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition float
- Watermark Template ID.
- object_
number_ Mpsformat Workflow Media Process Task Sample Snapshot Task Set Object Number Format - 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_ strpath - 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Output Storage - 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[MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set] - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition Number
- Watermark Template ID.
- object
Number Property MapFormat - 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 StringPath - 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 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.
- watermark
Sets 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. - Initial
Value double - The starting value of
{number}
variable, the default is 0. - Min
Length double - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - Place
Holder 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. - Initial
Value float64 - The starting value of
{number}
variable, the default is 0. - Min
Length float64 - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - Place
Holder 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. - initial
Value Double - The starting value of
{number}
variable, the default is 0. - min
Length Double - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder 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. - initial
Value number - The starting value of
{number}
variable, the default is 0. - min
Length number - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder 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. - initial
Value Number - The starting value of
{number}
variable, the default is 0. - min
Length Number - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder String - When the length of the
{number}
variable is insufficient, a placeholder is added. Default is 0.
MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorage, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetOutputStorageArgs
- Type string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Sample Snapshot Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Sample Snapshot Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Sample Snapshot Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Sample Snapshot Task Set Output Storage Cos Output Storage - 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 str
- The type of media processing output object storage location, now only supports COS.
- cos_
output_ Mpsstorage Workflow Media Process Task Sample Snapshot Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output Property MapStorage - 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
MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSet, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetArgs
- Definition double
- Watermark Template ID.
- End
Time doubleOffset - 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter - 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 doubleOffset - 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 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.
- Text
Content 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 float64
- Watermark Template ID.
- End
Time float64Offset - 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter - 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 float64Offset - 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 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.
- Text
Content 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 Double
- Watermark Template ID.
- end
Time DoubleOffset - 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter - 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 DoubleOffset - 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 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.
- text
Content 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 number
- Watermark Template ID.
- end
Time numberOffset - 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter - 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 numberOffset - 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 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.
- text
Content 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 float
- Watermark Template ID.
- end_
time_ floatoffset - 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter - 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_ floatoffset - 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 Number
- Watermark Template ID.
- end
Time NumberOffset - 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 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.
- start
Time NumberOffset - 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 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.
- text
Content 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 string
- 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 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.
- Image
Template MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template - 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 string
- 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 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.
- Image
Template MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template - 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 String
- 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 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.
- image
Template MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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 string
- 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 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.
- image
Template MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template - 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 String
- 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 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.
- image
Template Property Map - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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
- Image
Content MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- Repeat
Type 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- Repeat
Type 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- repeat
Type 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- repeat
Type 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 MpsWorkflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content - 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%.
- image
Content 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.
- repeat
Type 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 string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 str
- Enter the type of source object, which supports COS and URL.
- cos_
input_ Mpsinfo Workflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url_
input_ Mpsinfo Workflow Media Process Task Sample Snapshot Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input Property MapInfo - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input Property MapInfo - 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
MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo, MpsWorkflowMediaProcessTaskSampleSnapshotTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfoArgs
- Url string
- Video URL.
- Url string
- Video URL.
- url String
- Video URL.
- url string
- Video URL.
- url str
- Video URL.
- url String
- Video URL.
MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSet, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetArgs
- Definition double
- Watermark Template ID.
- Ext
Time List<string>Offset Sets - 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 MpsFormat Workflow Media Process Task Snapshot By Time Offset Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Output Storage - 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 List<double>Sets - 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 List<MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set> - Watermark list, support multiple pictures or text watermarks, up to 10.
- Definition float64
- Watermark Template ID.
- Ext
Time []stringOffset Sets - 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 MpsFormat Workflow Media Process Task Snapshot By Time Offset Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Output Storage - 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 []float64Sets - 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 []MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition Double
- Watermark Template ID.
- ext
Time List<String>Offset Sets - 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 MpsFormat Workflow Media Process Task Snapshot By Time Offset Task Set Object Number Format - 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 StringPath - 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Output Storage - 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 List<Double>Sets - 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 List<MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set> - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition number
- Watermark Template ID.
- ext
Time string[]Offset Sets - 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 MpsFormat Workflow Media Process Task Snapshot By Time Offset Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Output Storage - 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 number[]Sets - 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set[] - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition float
- Watermark Template ID.
- ext_
time_ Sequence[str]offset_ sets - 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_ Mpsformat Workflow Media Process Task Snapshot By Time Offset Task Set Object Number Format - 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_ strpath - 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Output Storage - 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_ Sequence[float]sets - 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[MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set] - Watermark list, support multiple pictures or text watermarks, up to 10.
- definition Number
- Watermark Template ID.
- ext
Time List<String>Offset Sets - 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 Property MapFormat - 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 StringPath - 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 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.
- time
Offset List<Number>Sets - 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 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. - Initial
Value double - The starting value of
{number}
variable, the default is 0. - Min
Length double - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - Place
Holder 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. - Initial
Value float64 - The starting value of
{number}
variable, the default is 0. - Min
Length float64 - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - Place
Holder 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. - initial
Value Double - The starting value of
{number}
variable, the default is 0. - min
Length Double - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder 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. - initial
Value number - The starting value of
{number}
variable, the default is 0. - min
Length number - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder 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. - initial
Value Number - The starting value of
{number}
variable, the default is 0. - min
Length Number - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder String - When the length of the
{number}
variable is insufficient, a placeholder is added. Default is 0.
MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorage, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetOutputStorageArgs
- Type string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Snapshot By Time Offset Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Snapshot By Time Offset Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Snapshot By Time Offset Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Snapshot By Time Offset Task Set Output Storage Cos Output Storage - 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 str
- The type of media processing output object storage location, now only supports COS.
- cos_
output_ Mpsstorage Workflow Media Process Task Snapshot By Time Offset Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output Property MapStorage - 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
MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSet, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetArgs
- Definition double
- Watermark Template ID.
- End
Time doubleOffset - 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter - 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 doubleOffset - 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 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.
- Text
Content 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 float64
- Watermark Template ID.
- End
Time float64Offset - 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter - 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 float64Offset - 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 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.
- Text
Content 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 Double
- Watermark Template ID.
- end
Time DoubleOffset - 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter - 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 DoubleOffset - 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 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.
- text
Content 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 number
- Watermark Template ID.
- end
Time numberOffset - 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter - 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 numberOffset - 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 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.
- text
Content 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 float
- Watermark Template ID.
- end_
time_ floatoffset - 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter - 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_ floatoffset - 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 Number
- Watermark Template ID.
- end
Time NumberOffset - 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 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.
- start
Time NumberOffset - 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 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.
- text
Content 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 string
- 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 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.
- Image
Template MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template - 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 string
- 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 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.
- Image
Template MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template - 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 String
- 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 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.
- image
Template MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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 string
- 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 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.
- image
Template MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template - 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 String
- 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 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.
- image
Template Property Map - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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
- Image
Content MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- Repeat
Type 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- Repeat
Type 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- repeat
Type 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- repeat
Type 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 MpsWorkflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content - 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%.
- image
Content 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.
- repeat
Type 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 string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 str
- Enter the type of source object, which supports COS and URL.
- cos_
input_ Mpsinfo Workflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url_
input_ Mpsinfo Workflow Media Process Task Snapshot By Time Offset Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input Property MapInfo - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input Property MapInfo - 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
MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo, MpsWorkflowMediaProcessTaskSnapshotByTimeOffsetTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfoArgs
- Url string
- Video URL.
- Url string
- Video URL.
- url String
- Video URL.
- url string
- Video URL.
- url str
- Video URL.
- url String
- Video URL.
MpsWorkflowMediaProcessTaskTranscodeTaskSet, MpsWorkflowMediaProcessTaskTranscodeTaskSetArgs
- Definition double
- Watermark Template ID.
- End
Time doubleOffset - 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 MpsParameter Workflow Media Process Task Transcode Task Set Head Tail Parameter - Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
- Mosaic
Sets List<MpsWorkflow Media Process Task Transcode Task Set Mosaic Set> - Mosaic list, up to 10 sheets can be supported.
- Object
Number MpsFormat Workflow Media Process Task Transcode Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Transcode Task Set Output Storage - 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 MpsWorkflow Media Process Task Transcode Task Set Override Parameter - 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 MpsWorkflow Media Process Task Transcode Task Set Raw Parameter - 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 stringName - 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 doubleOffset - 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 List<MpsWorkflow Media Process Task Transcode Task Set Watermark Set> - 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 float64
- Watermark Template ID.
- End
Time float64Offset - 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 MpsParameter Workflow Media Process Task Transcode Task Set Head Tail Parameter - Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
- Mosaic
Sets []MpsWorkflow Media Process Task Transcode Task Set Mosaic Set - Mosaic list, up to 10 sheets can be supported.
- Object
Number MpsFormat Workflow Media Process Task Transcode Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Transcode Task Set Output Storage - 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 MpsWorkflow Media Process Task Transcode Task Set Override Parameter - 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 MpsWorkflow Media Process Task Transcode Task Set Raw Parameter - 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 stringName - 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 float64Offset - 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 []MpsWorkflow Media Process Task Transcode Task Set Watermark Set - 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 Double
- Watermark Template ID.
- end
Time DoubleOffset - 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 MpsParameter Workflow Media Process Task Transcode Task Set Head Tail Parameter - Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
- mosaic
Sets List<MpsWorkflow Media Process Task Transcode Task Set Mosaic Set> - Mosaic list, up to 10 sheets can be supported.
- object
Number MpsFormat Workflow Media Process Task Transcode Task Set Object Number Format - 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 StringPath - 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 MpsWorkflow Media Process Task Transcode Task Set Output Storage - 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 MpsWorkflow Media Process Task Transcode Task Set Override Parameter - 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 MpsWorkflow Media Process Task Transcode Task Set Raw Parameter - 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 StringName - 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 DoubleOffset - 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 List<MpsWorkflow Media Process Task Transcode Task Set Watermark Set> - 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 number
- Watermark Template ID.
- end
Time numberOffset - 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 MpsParameter Workflow Media Process Task Transcode Task Set Head Tail Parameter - Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
- mosaic
Sets MpsWorkflow Media Process Task Transcode Task Set Mosaic Set[] - Mosaic list, up to 10 sheets can be supported.
- object
Number MpsFormat Workflow Media Process Task Transcode Task Set Object Number Format - 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 stringPath - 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 MpsWorkflow Media Process Task Transcode Task Set Output Storage - 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 MpsWorkflow Media Process Task Transcode Task Set Override Parameter - 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 MpsWorkflow Media Process Task Transcode Task Set Raw Parameter - 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 stringName - 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 numberOffset - 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 MpsWorkflow Media Process Task Transcode Task Set Watermark Set[] - 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 float
- Watermark Template ID.
- end_
time_ floatoffset - 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_ Mpsparameter Workflow Media Process Task Transcode Task Set Head Tail Parameter - Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
- mosaic_
sets Sequence[MpsWorkflow Media Process Task Transcode Task Set Mosaic Set] - Mosaic list, up to 10 sheets can be supported.
- object_
number_ Mpsformat Workflow Media Process Task Transcode Task Set Object Number Format - 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_ strpath - 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 MpsWorkflow Media Process Task Transcode Task Set Output Storage - 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 MpsWorkflow Media Process Task Transcode Task Set Override Parameter - 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 MpsWorkflow Media Process Task Transcode Task Set Raw Parameter - 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_ strname - 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_ floatoffset - 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[MpsWorkflow Media Process Task Transcode Task Set Watermark Set] - 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 Number
- Watermark Template ID.
- end
Time NumberOffset - 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 Property MapParameter - Opening and ending parameters.Note: This field may return null, indicating that no valid value can be obtained.
- mosaic
Sets List<Property Map> - Mosaic list, up to 10 sheets can be supported.
- object
Number Property MapFormat - 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 StringPath - 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 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.
- override
Parameter 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.
- raw
Parameter 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.
- segment
Object StringName - 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 NumberOffset - 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 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
- head
Sets List<Property Map> - Title list.
- tail
Sets List<Property Map> - Ending List.
MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSet, MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetArgs
- Type string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Head Set Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Head Set Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Head Set Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Head Set Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Head Set Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Head Set Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Head Set Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Head Set Url Input Info - 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 str
- Enter the type of source object, which supports COS and URL.
- cos_
input_ Mpsinfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Head Set Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url_
input_ Mpsinfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Head Set Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input Property MapInfo - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input Property MapInfo - 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
MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetUrlInputInfo, MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterHeadSetUrlInputInfoArgs
- Url string
- Video URL.
- Url string
- Video URL.
- url String
- Video URL.
- url string
- Video URL.
- url str
- Video URL.
- url String
- Video URL.
MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSet, MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetArgs
- Type string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Tail Set Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Tail Set Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Tail Set Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Tail Set Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Tail Set Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Tail Set Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Tail Set Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Tail Set Url Input Info - 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 str
- Enter the type of source object, which supports COS and URL.
- cos_
input_ Mpsinfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Tail Set Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url_
input_ Mpsinfo Workflow Media Process Task Transcode Task Set Head Tail Parameter Tail Set Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input Property MapInfo - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input Property MapInfo - 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
MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetUrlInputInfo, MpsWorkflowMediaProcessTaskTranscodeTaskSetHeadTailParameterTailSetUrlInputInfoArgs
- Url string
- Video URL.
- Url string
- Video URL.
- url String
- Video URL.
- url string
- Video URL.
- url str
- Video URL.
- url String
- Video URL.
MpsWorkflowMediaProcessTaskTranscodeTaskSetMosaicSet, MpsWorkflowMediaProcessTaskTranscodeTaskSetMosaicSetArgs
- Coordinate
Origin 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.
- End
Time doubleOffset - 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%.
- Start
Time doubleOffset - 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 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.
- End
Time float64Offset - 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%.
- Start
Time float64Offset - 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 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.
- end
Time DoubleOffset - 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%.
- start
Time DoubleOffset - 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%.
- x
Pos 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.
- y
Pos 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 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.
- end
Time numberOffset - 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%.
- start
Time numberOffset - 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%.
- x
Pos 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.
- y
Pos 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_ floatoffset - 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_ floatoffset - 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.
- coordinate
Origin 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.
- end
Time NumberOffset - 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%.
- start
Time NumberOffset - 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%.
- x
Pos 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.
- y
Pos 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. - Initial
Value double - The starting value of
{number}
variable, the default is 0. - Min
Length double - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - Place
Holder 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. - Initial
Value float64 - The starting value of
{number}
variable, the default is 0. - Min
Length float64 - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - Place
Holder 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. - initial
Value Double - The starting value of
{number}
variable, the default is 0. - min
Length Double - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder 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. - initial
Value number - The starting value of
{number}
variable, the default is 0. - min
Length number - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder 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. - initial
Value Number - The starting value of
{number}
variable, the default is 0. - min
Length Number - The minimum length of the
{number}
variable, if insufficient, placeholders will be filled. Default is 1. - place
Holder String - When the length of the
{number}
variable is insufficient, a placeholder is added. Default is 0.
MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorage, MpsWorkflowMediaProcessTaskTranscodeTaskSetOutputStorageArgs
- Type string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Transcode Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Media Process Task Transcode Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Transcode Task Set Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Media Process Task Transcode Task Set Output Storage Cos Output Storage - 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 str
- The type of media processing output object storage location, now only supports COS.
- cos_
output_ Mpsstorage Workflow Media Process Task Transcode Task Set Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output Property MapStorage - 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
MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameter, MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterArgs
- Audio
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Audio Template - 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.
- Remove
Audio double - Whether to remove audio data, value:0: reserved.1: remove.
- Remove
Video double - Whether to remove video data, value:0: reserved.1: remove.
- Subtitle
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Subtitle Template - Subtitle Stream Configuration Parameters.
- Tehd
Config MpsWorkflow Media Process Task Transcode Task Set Override Parameter Tehd Config - Ultra-fast HD transcoding parameters.
- Video
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Video Template - Video streaming configuration parameters.
- Audio
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Audio Template - 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.
- Remove
Audio float64 - Whether to remove audio data, value:0: reserved.1: remove.
- Remove
Video float64 - Whether to remove video data, value:0: reserved.1: remove.
- Subtitle
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Subtitle Template - Subtitle Stream Configuration Parameters.
- Tehd
Config MpsWorkflow Media Process Task Transcode Task Set Override Parameter Tehd Config - Ultra-fast HD transcoding parameters.
- Video
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Video Template - Video streaming configuration parameters.
- audio
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Audio Template - 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.
- remove
Audio Double - Whether to remove audio data, value:0: reserved.1: remove.
- remove
Video Double - Whether to remove video data, value:0: reserved.1: remove.
- subtitle
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Subtitle Template - Subtitle Stream Configuration Parameters.
- tehd
Config MpsWorkflow Media Process Task Transcode Task Set Override Parameter Tehd Config - Ultra-fast HD transcoding parameters.
- video
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Video Template - Video streaming configuration parameters.
- audio
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Audio Template - 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.
- remove
Audio number - Whether to remove audio data, value:0: reserved.1: remove.
- remove
Video number - Whether to remove video data, value:0: reserved.1: remove.
- subtitle
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Subtitle Template - Subtitle Stream Configuration Parameters.
- tehd
Config MpsWorkflow Media Process Task Transcode Task Set Override Parameter Tehd Config - Ultra-fast HD transcoding parameters.
- video
Template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Video Template - Video streaming configuration parameters.
- audio_
template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Audio Template - 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 MpsWorkflow Media Process Task Transcode Task Set Override Parameter Subtitle Template - Subtitle Stream Configuration Parameters.
- tehd_
config MpsWorkflow Media Process Task Transcode Task Set Override Parameter Tehd Config - Ultra-fast HD transcoding parameters.
- video_
template MpsWorkflow Media Process Task Transcode Task Set Override Parameter Video Template - Video streaming configuration parameters.
- audio
Template 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.
- remove
Audio Number - Whether to remove audio data, value:0: reserved.1: remove.
- remove
Video Number - Whether to remove video data, value:0: reserved.1: remove.
- subtitle
Template Property Map - Subtitle Stream Configuration Parameters.
- tehd
Config Property Map - Ultra-fast HD transcoding parameters.
- video
Template Property Map - Video streaming configuration parameters.
MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterAudioTemplate, MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterAudioTemplateArgs
- Audio
Channel double - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- Bitrate double
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- Codec string
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- Sample
Rate double - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- Stream
Selects List<double> - Specifies the audio track to preserve for the output. The default is to keep all sources.
- Audio
Channel float64 - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- Bitrate float64
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- Codec string
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- Sample
Rate float64 - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- Stream
Selects []float64 - Specifies the audio track to preserve for the output. The default is to keep all sources.
- audio
Channel Double - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- bitrate Double
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- codec String
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- sample
Rate Double - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- stream
Selects List<Double> - Specifies the audio track to preserve for the output. The default is to keep all sources.
- audio
Channel number - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- bitrate number
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- codec string
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- sample
Rate number - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- stream
Selects 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.
- audio
Channel Number - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- bitrate Number
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- codec String
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- sample
Rate Number - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- stream
Selects List<Number> - Specifies the audio track to preserve for the output. The default is to keep all sources.
MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterSubtitleTemplate, MpsWorkflowMediaProcessTaskTranscodeTaskSetOverrideParameterSubtitleTemplateArgs
- Font
Alpha double - Text transparency, value range: (0, 1].0: fully transparent.1: fully opaque.Default: 1.
- Font
Color string - Font color, format: 0xRRGGBB, default value: 0xFFFFFF (white).
- Font
Size string - Font size, format: Npx, N is a value, if not specified, the subtitle file shall prevail.
- Font
Type 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.
- Stream
Index 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.
- Font
Alpha float64 - Text transparency, value range: (0, 1].0: fully transparent.1: fully opaque.Default: 1.
- Font
Color string - Font color, format: 0xRRGGBB, default value: 0xFFFFFF (white).
- Font
Size string - Font size, format: Npx, N is a value, if not specified, the subtitle file shall prevail.
- Font
Type 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.
- Stream
Index 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.
- font
Alpha Double - Text transparency, value range: (0, 1].0: fully transparent.1: fully opaque.Default: 1.
- font
Color String - Font color, format: 0xRRGGBB, default value: 0xFFFFFF (white).
- font
Size String - Font size, format: Npx, N is a value, if not specified, the subtitle file shall prevail.
- font
Type 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.
- stream
Index 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.
- font
Alpha number - Text transparency, value range: (0, 1].0: fully transparent.1: fully opaque.Default: 1.
- font
Color string - Font color, format: 0xRRGGBB, default value: 0xFFFFFF (white).
- font
Size string - Font size, format: Npx, N is a value, if not specified, the subtitle file shall prevail.
- font
Type 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.
- stream
Index 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.
- font
Alpha Number - Text transparency, value range: (0, 1].0: fully transparent.1: fully opaque.Default: 1.
- font
Color String - Font color, format: 0xRRGGBB, default value: 0xFFFFFF (white).
- font
Size String - Font size, format: Npx, N is a value, if not specified, the subtitle file shall prevail.
- font
Type 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.
- stream
Index 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
- Max
Video doubleBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- Type string
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- Max
Video float64Bitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- Type string
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- max
Video DoubleBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type String
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- max
Video numberBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type 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_ floatbitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type 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 NumberBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type 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.
- Content
Adapt doubleStream - 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 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.
- Resolution
Adaptive string - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- Vcrf double
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- Width double
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- Bitrate float64
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- Codec string
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- Content
Adapt float64Stream - 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 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.
- Resolution
Adaptive string - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- Vcrf float64
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- Width float64
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- bitrate Double
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- codec String
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- content
Adapt DoubleStream - 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 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.
- resolution
Adaptive String - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- vcrf Double
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- width Double
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- bitrate number
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- codec string
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- content
Adapt numberStream - 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 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.
- resolution
Adaptive string - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- vcrf number
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- width number
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- bitrate float
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- codec str
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- content_
adapt_ floatstream - 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.
- content
Adapt NumberStream - 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 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.
- resolution
Adaptive String - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- vcrf Number
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- width Number
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameter, MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterArgs
- Container string
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- Audio
Template MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Audio Template - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- Remove
Audio double - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- Remove
Video double - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- Tehd
Config MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Tehd Config - Ultra-fast HD transcoding parameters.
- Video
Template MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Video Template - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- Container string
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- Audio
Template MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Audio Template - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- Remove
Audio float64 - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- Remove
Video float64 - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- Tehd
Config MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Tehd Config - Ultra-fast HD transcoding parameters.
- Video
Template MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Video Template - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- container String
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- audio
Template MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Audio Template - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- remove
Audio Double - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- remove
Video Double - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- tehd
Config MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Tehd Config - Ultra-fast HD transcoding parameters.
- video
Template MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Video Template - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- container string
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- audio
Template MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Audio Template - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- remove
Audio number - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- remove
Video number - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- tehd
Config MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Tehd Config - Ultra-fast HD transcoding parameters.
- video
Template MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Video Template - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- container str
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- audio_
template MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Audio Template - 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 MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Tehd Config - Ultra-fast HD transcoding parameters.
- video_
template MpsWorkflow Media Process Task Transcode Task Set Raw Parameter Video Template - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
- container String
- Encapsulation format, optional values: mp4, flv, hls, mp3, flac, ogg, m4a. Among them, mp3, flac, ogg, m4a are pure audio files.
- audio
Template Property Map - Audio stream configuration parameters, when RemoveAudio is 0, this field is required.
- remove
Audio Number - Whether to remove audio data, value:0: reserved.1: remove.Default: 0.
- remove
Video Number - Whether to remove video data, value:0: reserved.1: remove.Default: 0.
- tehd
Config Property Map - Ultra-fast HD transcoding parameters.
- video
Template Property Map - Video stream configuration parameters, when RemoveVideo is 0, this field is required.
MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterAudioTemplate, MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterAudioTemplateArgs
- Bitrate double
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- Codec string
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- Sample
Rate double - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- Audio
Channel double - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- Bitrate float64
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- Codec string
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- Sample
Rate float64 - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- Audio
Channel float64 - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- bitrate Double
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- codec String
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- sample
Rate Double - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- audio
Channel Double - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- bitrate number
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- codec string
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- sample
Rate number - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- audio
Channel number - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- bitrate float
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- codec str
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- sample_
rate float - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- audio_
channel float - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
- bitrate Number
- Bit rate of the audio stream, value range: 0 and [26, 256], unit: kbps.When the value is 0, it means that the audio bit rate is consistent with the original audio.
- codec String
- Encoding format of frequency stream.When the outer parameter Container is mp3, the optional value is:libmp3lame.When the outer parameter Container is ogg or flac, the optional value is:flac.When the outer parameter Container is m4a, the optional value is:libfdk_aac.libmp3lame.ac3.When the outer parameter Container is mp4 or flv, the optional value is:libfdk_aac: more suitable for mp4.libmp3lame: more suitable for flv.When the outer parameter Container is hls, the optional value is:libfdk_aac.libmp3lame.
- sample
Rate Number - Sampling rate of audio stream, optional value.32000.44100.48000.Unit: Hz.
- audio
Channel Number - Audio channel mode, optional values:`1: single channel.2: Dual channel.6: Stereo.When the package format of the media is an audio format (flac, ogg, mp3, m4a), the number of channels is not allowed to be set to stereo.Default: 2.
MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterTehdConfig, MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterTehdConfigArgs
- Type string
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- Max
Video doubleBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- Type string
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- Max
Video float64Bitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type String
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- max
Video DoubleBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type string
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- max
Video numberBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type str
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- max_
video_ floatbitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
- type String
- Extremely high-definition type, optional value:TEHD-100: Extreme HD-100.Not filling means that the ultra-fast high-definition is not enabled.
- max
Video NumberBitrate - The upper limit of the video bit rate, which is valid when the Type specifies the ultra-fast HD type.Do not fill in or fill in 0 means that there is no upper limit on the video bit rate.
MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterVideoTemplate, MpsWorkflowMediaProcessTaskTranscodeTaskSetRawParameterVideoTemplateArgs
- Bitrate double
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- Codec string
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- Fps double
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- Fill
Type string - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched;.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- Gop double
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- Height double
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- Resolution
Adaptive string - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- Vcrf double
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- Width double
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- Bitrate float64
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- Codec string
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- Fps float64
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- Fill
Type string - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched;.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- Gop float64
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- Height float64
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- Resolution
Adaptive string - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- Vcrf float64
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- Width float64
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- bitrate Double
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- codec String
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- fps Double
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- fill
Type String - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched;.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- gop Double
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- height Double
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- resolution
Adaptive String - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- vcrf Double
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- width Double
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- bitrate number
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- codec string
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- fps number
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- fill
Type string - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched;.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- gop number
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- height number
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- resolution
Adaptive string - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- vcrf number
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- width number
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- bitrate float
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- codec str
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- fps float
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- fill_
type str - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched;.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- gop float
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- height float
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- resolution_
adaptive str - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- vcrf float
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- width float
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- bitrate Number
- Bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.When the value is 0, it means that the video bit rate is consistent with the original video.
- codec String
- Encoding format of the video stream, optional value:libx264: H.264 encoding.libx265: H.265 encoding.av1: AOMedia Video 1 encoding.Note: Currently H.265 encoding must specify a resolution, and it needs to be within 640*480.Note: av1 encoded containers currently only support mp4.
- fps Number
- Video frame rate, value range: [0, 100], unit: Hz.When the value is 0, it means that the frame rate is consistent with the original video.Note: The value range for adaptive code rate is [0, 60].
- fill
Type String - Filling method, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling method:stretch: Stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched;.black: Leave black, keep the aspect ratio of the video unchanged, and fill the rest of the edge with black.white: Leave blank, keep the aspect ratio of the video unchanged, and fill the rest of the edge with white.gauss: Gaussian blur, keep the aspect ratio of the video unchanged, and fill the rest of the edge with Gaussian blur.Default: black.Note: Adaptive stream only supports stretch, black.
- gop Number
- The interval between keyframe I frames, value range: 0 and [1, 100000], unit: number of frames.When filling 0 or not filling, the system will automatically set the gop length.
- height Number
- The maximum value of video stream height (or short side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
- resolution
Adaptive String - Adaptive resolution, optional values:```open: open, at this time, Width represents the long side of the video, Height represents the short side of the video.close: close, at this time, Width represents the width of the video, and Height represents the height of the video.Default: open.Note: In adaptive mode, Width cannot be smaller than Height.
- vcrf Number
- Video constant bit rate control factor, the value range is [1, 51].If this parameter is specified, the code rate control method of CRF will be used for transcoding (the video code rate will no longer take effect).If there is no special requirement, it is not recommended to specify this parameter.
- width Number
- The maximum value of video stream width (or long side), value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default: 0.
MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSet, MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetArgs
- Definition double
- Watermark Template ID.
- End
Time doubleOffset - 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 MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter - 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 doubleOffset - 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 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.
- Text
Content 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 float64
- Watermark Template ID.
- End
Time float64Offset - 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 MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter - 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 float64Offset - 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 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.
- Text
Content 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 Double
- Watermark Template ID.
- end
Time DoubleOffset - 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 MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter - 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 DoubleOffset - 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 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.
- text
Content 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 number
- Watermark Template ID.
- end
Time numberOffset - 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 MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter - 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 numberOffset - 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 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.
- text
Content 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 float
- Watermark Template ID.
- end_
time_ floatoffset - 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 MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter - 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_ floatoffset - 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 Number
- Watermark Template ID.
- end
Time NumberOffset - 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 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.
- start
Time NumberOffset - 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 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.
- text
Content 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 string
- 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 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.
- Image
Template MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template - 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 string
- 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 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.
- Image
Template MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template - 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 String
- 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 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.
- image
Template MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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 string
- 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 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.
- image
Template MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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 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 MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template - 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 String
- 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 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.
- image
Template Property Map - Image watermark template, when Type is image, this field is required. When Type is text, this field is invalid.
- x
Pos 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.
- y
Pos 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
- Image
Content MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- Repeat
Type 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 MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- Repeat
Type 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 MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- repeat
Type 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 MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content - 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.
- repeat
Type 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 MpsWorkflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content - 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%.
- image
Content 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.
- repeat
Type 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 string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- Cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- Url
Input MpsInfo Workflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 string
- Enter the type of source object, which supports COS and URL.
- cos
Input MpsInfo Workflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input MpsInfo Workflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 str
- Enter the type of source object, which supports COS and URL.
- cos_
input_ Mpsinfo Workflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content Cos Input Info - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url_
input_ Mpsinfo Workflow Media Process Task Transcode Task Set Watermark Set Raw Parameter Image Template Image Content Url Input Info - 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 String
- Enter the type of source object, which supports COS and URL.
- cos
Input Property MapInfo - Valid when Type is COS, this item is required, indicating media processing COS object information.
- url
Input Property MapInfo - 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
MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfo, MpsWorkflowMediaProcessTaskTranscodeTaskSetWatermarkSetRawParameterImageTemplateImageContentUrlInputInfoArgs
- Url string
- Video URL.
- Url string
- Video URL.
- url String
- Video URL.
- url string
- Video URL.
- url str
- Video URL.
- url String
- Video URL.
MpsWorkflowOutputStorage, MpsWorkflowOutputStorageArgs
- Type string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- Cos
Output MpsStorage Workflow Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Output Storage Cos Output Storage - 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 string
- The type of media processing output object storage location, now only supports COS.
- cos
Output MpsStorage Workflow Output Storage Cos Output Storage - 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 str
- The type of media processing output object storage location, now only supports COS.
- cos_
output_ Mpsstorage Workflow Output Storage Cos Output Storage - 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 String
- The type of media processing output object storage location, now only supports COS.
- cos
Output Property MapStorage - 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
MpsWorkflowTaskNotifyConfig, MpsWorkflowTaskNotifyConfigArgs
- Cmq
Model string - CMQ or TDMQ-CMQ model, there are two kinds of Queue and Topic.
- Cmq
Region string - Region of CMQ or TDMQ-CMQ, such as sh, bj, etc.
- Notify
Mode string - The mode of the workflow notification, the possible values are Finish and Change, leaving blank means Finish.
- Notify
Type 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.
- Notify
Url string - HTTP callback address, required when NotifyType is URL.
- Queue
Name string - Valid when the model is Queue, indicating the queue name of the CMQ or TDMQ-CMQ that receives the event notification.
- Topic
Name string - Valid when the model is a Topic, indicating the topic name of the CMQ or TDMQ-CMQ that receives event notifications.
- Cmq
Model string - CMQ or TDMQ-CMQ model, there are two kinds of Queue and Topic.
- Cmq
Region string - Region of CMQ or TDMQ-CMQ, such as sh, bj, etc.
- Notify
Mode string - The mode of the workflow notification, the possible values are Finish and Change, leaving blank means Finish.
- Notify
Type 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.
- Notify
Url string - HTTP callback address, required when NotifyType is URL.
- Queue
Name string - Valid when the model is Queue, indicating the queue name of the CMQ or TDMQ-CMQ that receives the event notification.
- Topic
Name string - Valid when the model is a Topic, indicating the topic name of the CMQ or TDMQ-CMQ that receives event notifications.
- cmq
Model String - CMQ or TDMQ-CMQ model, there are two kinds of Queue and Topic.
- cmq
Region String - Region of CMQ or TDMQ-CMQ, such as sh, bj, etc.
- notify
Mode String - The mode of the workflow notification, the possible values are Finish and Change, leaving blank means Finish.
- notify
Type 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.
- notify
Url String - HTTP callback address, required when NotifyType is URL.
- queue
Name String - Valid when the model is Queue, indicating the queue name of the CMQ or TDMQ-CMQ that receives the event notification.
- topic
Name String - Valid when the model is a Topic, indicating the topic name of the CMQ or TDMQ-CMQ that receives event notifications.
- cmq
Model string - CMQ or TDMQ-CMQ model, there are two kinds of Queue and Topic.
- cmq
Region string - Region of CMQ or TDMQ-CMQ, such as sh, bj, etc.
- notify
Mode string - The mode of the workflow notification, the possible values are Finish and Change, leaving blank means Finish.
- notify
Type 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.
- notify
Url string - HTTP callback address, required when NotifyType is URL.
- queue
Name string - Valid when the model is Queue, indicating the queue name of the CMQ or TDMQ-CMQ that receives the event notification.
- topic
Name 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.
- cmq
Model String - CMQ or TDMQ-CMQ model, there are two kinds of Queue and Topic.
- cmq
Region String - Region of CMQ or TDMQ-CMQ, such as sh, bj, etc.
- notify
Mode String - The mode of the workflow notification, the possible values are Finish and Change, leaving blank means Finish.
- notify
Type 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.
- notify
Url String - HTTP callback address, required when NotifyType is URL.
- queue
Name String - Valid when the model is Queue, indicating the queue name of the CMQ or TDMQ-CMQ that receives the event notification.
- topic
Name 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 string
- The type of trigger, currently only supports CosFileUpload.
- Cos
File MpsUpload Trigger Workflow Trigger Cos File Upload Trigger - 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 string
- The type of trigger, currently only supports CosFileUpload.
- Cos
File MpsUpload Trigger Workflow Trigger Cos File Upload Trigger - 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 String
- The type of trigger, currently only supports CosFileUpload.
- cos
File MpsUpload Trigger Workflow Trigger Cos File Upload Trigger - 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 string
- The type of trigger, currently only supports CosFileUpload.
- cos
File MpsUpload Trigger Workflow Trigger Cos File Upload Trigger - 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 str
- The type of trigger, currently only supports CosFileUpload.
- cos_
file_ Mpsupload_ trigger Workflow Trigger Cos File Upload Trigger - 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 String
- The type of trigger, currently only supports CosFileUpload.
- cos
File Property MapUpload Trigger - 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 string
- The name of the COS Bucket bound to the workflow.
- Region 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 string
- The name of the COS Bucket bound to the workflow.
- Region 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 String
- The name of the COS Bucket bound to the workflow.
- region 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 string
- The name of the COS Bucket bound to the workflow.
- region 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 str
- The name of the COS Bucket bound to the workflow.
- region 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 String
- The name of the COS Bucket bound to the workflow.
- region 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
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.