事件名称
TranscodeComplete
事件说明
音视频转码完成。
示例
{
"eventTime":"2017-03-20T07:49:17Z",
"eventType":"TranscodeComplete",
"videoID":"45caa4a6488844a3aaa2ea1334a7b806",
"transcodeInfo":{
"transcodeID":"xs-cn-guangzhou-1_1630313740463_3",
"transcodeStatus":"DONE",
"transcodeMessage":"写入文件失败",
"transcodeTemplateID":100000000000,
"watermarkTemplateID":100000000021,
"transcodeVideoURL":"https://sample.gdoss.xstore.ctyun.cn/e179b96e517343e588ce3ebea4f92f9d/100000000000.MP4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20210830T085856Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86399&X-Amz-Credential=DFYTEKJVXTM5TQ860OUM%2F20210830%2Fcn-north-1%2Fs3%2Faws4_request&X-Amz-Signature=afeb820c8c7462650dade39a3c2fcdf1a2eeb6c43af6d490790f89eb13c8276c"
}
}
返回数据描述
名称 | 示例值 | 描述 |
---|---|---|
eventTime | 2017-03-20T07:49:17Z | 事件触发时间,为 UTC 时间,如 yyyy-MM-ddTHH:mm:ssZ |
eventType | TranscodeComplete | 回调事件类型 |
videoID | 45caa4a6488844a3aaa2ea1334a7b806 | 视频上传到【媒体库】的唯一标识ID。 |
transcodeInfo | 源视频信息更改详情。详见下文表transcodeInfo |
表transcodeInfo
名称 | 示例值 | 描述 |
---|---|---|
transcodeID | xs-cn-guangzhou-1_1630313740463_3 | 转码任务id |
transcodeStatus | DONE | 转码任务状态:WORKING-转码进行中;DONE-转码成功;FAIL-转码失败 |
transcodeMessage | 写入文件失败 | 回调信息:任务失败时为失败原因;成功时为:任务成功 |
transcodeTemplateID | 100000000000 | 转码模板ID |
watermarkTemplateID | 100000000021 | 水印模板ID |
transcodeVideoURL | https://sample.gdoss.xstore.ctyun.cn/e179b96e517343e588ce3ebea4f92f9d/100000000000.MP4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20210830T085856Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86399&X-Amz-Credential=DFYTEKJVXTM5TQ860OUM%2F20210830%2Fcn-north-1%2Fs3%2Faws4_request&X-Amz-Signature=afeb820c8c7462650dade39a3c2fcdf1a2eeb6c43af6d490790f89eb13c8276c | 转码后文件访问地址 |