Retrieves the details of a media producing job, including the job status, timeline, template, and data.
Operation description
Limits
This operation only supports querying media producing node data from the last year.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetMediaProducingJob |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
No |
The ID of the media producing job. |
****cdb3e74639973036bc84**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
****83B7-7F87-4792-BFE9-63CD2137**** |
| MediaProducingJob |
object |
The media producing job information. |
|
| JobId |
string |
The ID of the media producing job. |
****cdb3e74639973036bc84**** |
| ProjectId |
string |
The ID of the cloud editing project. |
****fddd7748b58bf1d47e95**** |
| MediaId |
string |
The resource ID of the output media asset. |
****0cc6ba49eab379332c5b**** |
| MediaURL |
string |
The resource file URL of the output media asset. |
http://example-bucket.oss-cn-shanghai.aliyuncs.com/example2.mp4 |
| Timeline |
string |
The timeline of the media producing job. |
{"VideoTracks":[{"VideoTrackClips":[{"MediaId":"****4d7cf14dc7b83b0e801c****"},{"MediaId":"****4d7cf14dc7b83b0e801c****"}]}]} |
| TemplateId |
string |
The template ID of the media producing job. |
****6e76134d739cc3e85d3e**** |
| ClipsParam |
string |
The template parameters of the media producing job. |
{"VideoArray":["****05512043f49f697f7425****","****05512043f49f697f7425****","****05512043f49f697f7425****"]} |
| Duration |
number |
The duration of the output media asset. Important This field has a value only when the producing job succeeds and the output media asset type is audio or video. |
30.500000 |
| CreateTime |
string |
The time when the media producing job was created, in UTC. Format: "YYYY-MM-DD'T'hh:mm:ss'Z'". |
2020-12-23T13:33:40Z |
| CompleteTime |
string |
The time when the media producing job was completed, in UTC. Format: "YYYY-MM-DD'T'hh:mm:ss'Z'". |
2020-12-23T13:33:52Z |
| ModifiedTime |
string |
The time when the media producing job was last modified, in UTC. Format: "YYYY-MM-DD'T'hh:mm:ss'Z'". |
2020-12-23T13:33:49Z |
| Status |
string |
The status of the media producing job. Valid values:
|
Failed |
| Code |
string |
The error code of the media producing job. Important Check this field when the job fails. |
ExceededMaximumValue |
| Message |
string |
The error message of the media producing job. Important Check this field when the job fails. |
The specified "Width_Height" has exceeded maximum value. |
| VodMediaId |
string |
If the output of the media producing job is delivered to ApsaraVideo VOD, the output is registered as a VOD media asset. The vodMediaId is the media asset ID in VOD. |
****332c5b0cc6ba49eab379**** |
| UserData |
string |
The custom settings in JSON format. |
{"NotifyAddress":"http://xx.xx.xxx","Key":"Valuexxx"} |
| SubJobMaterials |
string |
If this media producing job is a subtask of a batch intelligent one-click video production job, this field returns the material information used by the subtask, such as the narration text and title. |
{"Title": "Title", "SpeechText": "Narration text for batch intelligent one-click video production"} |
| Progress |
integer |
Examples
Success response
JSON format
{
"RequestId": "****83B7-7F87-4792-BFE9-63CD2137****",
"MediaProducingJob": {
"JobId": "****cdb3e74639973036bc84****",
"ProjectId": "****fddd7748b58bf1d47e95****",
"MediaId": "****0cc6ba49eab379332c5b****",
"MediaURL": "http://example-bucket.oss-cn-shanghai.aliyuncs.com/example2.mp4",
"Timeline": "{\"VideoTracks\":[{\"VideoTrackClips\":[{\"MediaId\":\"****4d7cf14dc7b83b0e801c****\"},{\"MediaId\":\"****4d7cf14dc7b83b0e801c****\"}]}]}",
"TemplateId": "****6e76134d739cc3e85d3e****",
"ClipsParam": "{\"VideoArray\":[\"****05512043f49f697f7425****\",\"****05512043f49f697f7425****\",\"****05512043f49f697f7425****\"]}",
"Duration": 30.5,
"CreateTime": "2020-12-23T13:33:40Z",
"CompleteTime": "2020-12-23T13:33:52Z",
"ModifiedTime": "2020-12-23T13:33:49Z",
"Status": "Failed",
"Code": "ExceededMaximumValue",
"Message": "The specified \"Width_Height\" has exceeded maximum value.",
"VodMediaId": "****332c5b0cc6ba49eab379****",
"UserData": "{\"NotifyAddress\":\"http://xx.xx.xxx\",\"Key\":\"Valuexxx\"}",
"SubJobMaterials": "{\"Title\": \"标题\", \"SpeechText\": \"批量智能一键成片口播文案\"}",
"Progress": 0
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter \ is not valid. | |
| 404 | JobNotFound | The specified job not found |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.