Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在php中使用以下参数打印弹性转码器作业的作业状态
{进行中、完成、警告、错误}
我已提交作业,视频正在转码。我正在通过 S3 列表检索已完成的视频列表。
提供jobId,您可以查询作业状态并打印您想要的任何内容:
jobId
$createResult = $transcoder->createJob($jobData); $jobId = $createResult->get('Job')['Id']; $readResult = $transcoder->readJob(['Id' => $jobId]); $readResult->get('Job')['Status'];