Submits a job to process an M3U8 file for video watermarking for tracing.
Operation description
-
You must first obtain a media ID by submitting a job for an A/B stream with video watermarking for tracing. This operation uses the returned media ID for processing.
-
Currently, digital watermarking-related operations are supported only in the China (Shanghai) and China (Beijing) regions.
-
This is an asynchronous call. When you submit a job, the system returns a task ID and processes the job in the background. The initial response does not mean the job is complete. You can get the final result through a callback notification or by calling the QueryTraceM3u8JobList operation to check the job's status.
-
The signature for an M3U8 file generated by a video watermarking for tracing job is valid for 24 hours after job completion. You must query and use the watermarking information within this period. If the signature expires, you can no longer retrieve the watermarking information. To regain access, you must submit a new job.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:SubmitTraceM3u8Job |
none |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TraceMediaId |
string |
Yes |
The media ID of the processed A/B stream for video watermarking for tracing. This ID is returned in the response when you submit the A/B stream job. |
437bd2b516ffda105d07b12a9a82**** |
| Output |
object |
Yes |
The OSS destination for the output M3U8 file. Note
The OSS bucket must be in the same region as your MPS service. |
|
| Type |
string |
Yes |
The type of the output destination. Valid values:
|
OSS |
| Media |
string |
Yes |
The output file path. Only OSS paths are supported. You can use one of the following formats: 1. 2. |
oss://bucket/object |
| Trace |
string |
Yes |
The watermark content to embed. |
溯源水印测试 |
| KeyUri |
string |
No |
The URI of the key server. |
https://cipher.abc.com |
| Params |
string |
No |
A JSON string that contains parameters for the watermarking job. The following parameter is supported:
|
{"m3u8Type":"v1"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| Data |
object |
The response data. |
|
| JobId |
string |
The job ID. |
bfb786c639894f4d8064879202**** |
| Message |
string |
The response message. |
ok |
| RequestId |
string |
The request ID. |
******11-DB8D-4A9A-875B-275798****** |
Examples
Success response
JSON format
{
"Data": {
"JobId": "bfb786c639894f4d8064879202****"
},
"Message": "ok",
"RequestId": "******11-DB8D-4A9A-875B-275798******"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.