Transcodes a video by using a China Production Studio (China Production Studio) for preprocessing.
Operation description
This is an asynchronous operation. After you submit a task, the task ID is returned. The task is queued for asynchronous execution in the background. The final result is sent through a callback notification. You can also call GetTaskDetail to query the task status.
Video preprocessing is essentially a transcoding process that generates videos that meet the playback requirements of the China Production Studio. Therefore, metering and billing information is generated. For billing details, see China Production Studio fees.
To meet the quality requirements of the China Production Studio for materials, videos in MP4 format with a short side of 360 must meet at least one of the following conditions before preprocessing can be initiated: the resolution exceeds 1920, the bit rate exceeds 6000 kbps, or the frame rate exceeds 25.
You can receive the TranscodeComplete callback message to obtain the processing result. When the callback message contains Preprocess=true, it indicates that the preprocessing is complete.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:SubmitPreprocessJobs |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VideoId |
string |
Yes |
The video ID. You can obtain the video ID by using one of the following methods:
|
d3e680e618708efbf2cae7cc9312**** |
| PreprocessType |
string |
Yes |
The preprocessing type. Set the value to LivePreprocess (video preprocessing for the China Production Studio). |
LivePreprocess |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
E4EBD2BF-5EB0-4476-8829-9D94E1B1**** |
| PreprocessJobs |
object |
||
| PreprocessJob |
array<object> |
The job information. |
|
|
object |
The job details. |
||
| JobId |
string |
The job ID. |
bb396607fd11fee9effbb99c4**** |
Examples
Success response
JSON format
{
"RequestId": "E4EBD2BF-5EB0-4476-8829-9D94E1B1****",
"PreprocessJobs": {
"PreprocessJob": [
{
"JobId": "bb396607fd11fee9effbb99c4****"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.