To determine the encoding status of a VOD, you can utilize the following API:
This API call will provide the latest encoding status of the specified VOD. The response will include a VOD object containing various information, including the current status.
The possible status values and their corresponding descriptions are as follows:
|VOD_STATUS_CREATED||The encoding job has been created.|
|VOD_STATUS_INGESTED||The uploaded file is currently being copied to the system's input storage.|
|VOD_STATUS_QUEUED||The file is in the queue, waiting for encoding resources.|
|VOD_STATUS_ENCODED||The file is currently being encoded.|
|VOD_STATUS_DEPLOYED||The file is packaged and deployed to the Content Delivery Network (CDN).|
|VOD_STATUS_SUCCEEDED||All stages of the encoding process have been completed.|
|VOD_STATUS_FAILED||The encoding job has encountered an error or failure.|
|VOD_STATUS_CANCELLED||The encoding job has been canceled.|
|VOD_STATUS_DELETED||The encoding job has been deleted.|
It is recommended to use this API periodically to retrieve the latest encoding status of a VOD until it reaches the
VOD_STATUS_SUCCEEDED state, indicating successful completion.