Submits a job to extract the trace watermark.
Operation description
- This operation is supported only in the China (Shanghai) and China (Beijing) regions.
- The input video must be 3 minutes or longer. Jobs submitted with shorter videos will fail.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| ice:SubmitTraceExtractJob | none | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Input | object | Yes | The source video file from which to extract the watermark. Note
The OSS object or media asset must reside in the same region as the IMS service region.
| |
| Type | string | Yes | The type of the source file. Valid values:
| OSS |
| Media | string | Yes | The specific information for the source file, which can be an OSS URL or a media asset ID. OSS URL formats: 1. oss://bucket/object 2. http(s)://bucket.oss-[regionId].aliyuncs.com/object where bucket specifies an OSS bucket that resides in the same region as the job, and object specifies the object path in OSS. | oss://bucket/object |
| UserData | string | No | The custom data, which can be up to 1,024 bytes in size. | 123 |
| Params | string | No | Additional parameters for the watermark job, provided as a JSON string. Supported parameter:
| {"m3u8Type":"v1"} |
Response parameters
Examples
Sample success responses
JSONformat
{
"Data": {
"JobId": "bfb786c639894f4d80648792021e****"
},
"Message": "ok",
"RequestId": "****63E8B7C7-4812-46AD-0FA56029AC86****",
"StatusCode": 200
}Error codes
For a list of error codes, visit the Service error codes.
