Submits a job to generate A/B stream variants of a video for forensic watermarking.
Operation description
This operation supports only videos that are three minutes or longer. Submitting a job for a shorter video may cause the API call to fail or produce no output.
This is an asynchronous interface. After you submit a job, the system returns a job ID and processes the job asynchronously. You can obtain the processing result through a callback or by querying the list of A/B stream forensic watermarking jobs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:SubmitTraceAbJob |
none |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Input |
object |
Yes |
The input video for the A/B stream forensic watermarking job. Note
|
|
| Type |
string |
Yes |
The type of the input file. Valid values:
|
OSS |
| Media |
string |
Yes |
The location of the input file. This can be an OSS URL or a media asset ID. The supported OSS URL formats are: 1. 2. In these formats, |
oss://bucket/object |
| Output |
object |
Yes |
The output location for the A/B stream job. This must be an OSS directory. |
|
| Type |
string |
Yes |
The type of the output object. Valid values:
|
OSS |
| Media |
string |
Yes |
The output path. Specify an OSS directory URL or a media asset ID. If you specify an OSS URL, use one of the following formats for the output directory: 1. 2. In these formats, |
oss://bucket/dir/ |
| StartTime |
integer |
No |
The start time for watermark embedding, in seconds. |
0 |
| TotalTime |
integer |
No |
The total duration for watermark embedding, in seconds. |
360 |
| Level |
integer |
No |
The watermark level, which specifies the embedding channel. Valid values: |
0 |
| UserData |
string |
No |
User data to include in the request. The maximum length is 1,024 bytes. |
123 |
| CipherBase64ed |
string |
No |
The Base64-encoded encryption key. |
Qh6OdgIMcliQSI1fReOw**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| Data |
object |
Contains the IDs for the submitted job and the output media asset. |
|
| JobId |
string |
The job ID. |
bfb786c639894f4d80648792021e**** |
| TraceMediaId |
string |
The ID of the media asset created for tracing. |
bf53333264f4d80648792021e**** |
| Message |
string |
The response message. A value of |
ok |
| RequestId |
string |
The unique identifier for the request. If you encounter an issue, provide this ID for technical support. |
******36-3C1E-4417-BDB2-1E034F****** |
| StatusCode |
integer |
The HTTP status code. A value of |
200 |
Examples
Success response
JSON format
{
"Data": {
"JobId": "bfb786c639894f4d80648792021e****",
"TraceMediaId": "bf53333264f4d80648792021e****"
},
"Message": "ok",
"RequestId": "******36-3C1E-4417-BDB2-1E034F******",
"StatusCode": 200
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.