事件名称
AIContentReviewComplete
事件说明
视频审核完成。
示例
{
"eventTime":"2017-03-20T07:49:17Z",
"eventType":"AIContentReviewComplete",
"videoID":"147362d5167641419854b9859c114820",
"taskId":"0003#fgty85118429465b99a794951ffd4310",
"originalFileUrl":"https://sample.gdoss.xstore.ctyun.cn/mediatest/147362d5167641419854b9859c114820.mp4",
"status": "SUCCESS",
"taskMessage":"写入文件失败",
"aiVideoContentReviewInfo":{
"snapshot":{
"aiTimeList":["00.0", "10.0", "20.0"],
"aiSnapshotRegular":"https://sampleout.gdoss.xstore.ctyun.cn/outputdir/test-video-selfdes-{time}.jpg"
},
"porn":{
"status":"SUCCESS",
"output":{
"label":"sexy",
"segmentSet":[{
"confidence":98,
"label":"sexy", //子标签 "根据主标签的二级分类"
"url":"https://sample.gdoss.ctyun.cn/xxx/xxx/xx1.jpg"
}]
}
},
"terrorism":{
"status":"SUCCESS",
"output":{
"label":"normal"
}
},
}
}
返回数据描述
名称 |
示例值 |
描述 |
eventTime |
2017-03-20T07:49:17Z |
事件触发时间,为 UTC 时间,如 yyyy-MM-ddTHH:mm:ssZ |
eventType |
AIContentReviewComplete |
回调事件类型 |
videoID |
45caa4a6488844a3aaa2ea1334a7b806 |
视频上传到【媒体库】的唯一标识ID。 |
taskId |
0003#fgty85118429465b99a794951ffd4310 |
任务ID |
originalFileUrl |
https://sample.gdoss.xstore.ctyun.cn/mediatest/147362d5167641419854b9859c114820.mp4 |
源文件访问地址(回调地址中不携带签名,若该文件为私有权限,访问需使用预签名) |
status |
SUCCESS |
任务状态:SUCCESS-成功;FAIL-失败 |
taskMessage |
写入文件失败 |
回调信息:任务失败时为失败原因;成功时为:任务成功 |
aiVideoContentReviewInfo |
|
视频审核结果详情。详细信息见下表aiVideoContentReviewInfo |
表aiVideoContentReviewInfo
名称 |
示例值 |
描述 |
snapshot |
|
截图详情。具体内容见表snapshot |
porn |
|
鉴黄结果,若进行鉴黄审核才有该字段。具体内容见表porn/terrorism。 |
terrorism |
|
鉴恐结果,若进行鉴恐审核才有该字段。具体内容见表porn/terrorism。 |
表snapshot
名称 |
示例值 |
描述 |
aiTimeList |
["00.0", "10.0", "20.0"] |
审核时间点。 |
aiSnapshotRegular |
https://sampleout.gdoss.xstore.ctyun.cn/outputdir/test-video-selfdes-{time}.jpg |
截图文件列表。 |
表porn/terrorism
名称 |
示例值 |
描述 |
status |
SUCCESS |
审核结果。 |
output |
|
鉴黄审核输出结果,具体内容见表output。 |
表output
名称 |
示例值 |
描述 |
label |
sexy |
主标签。关于标签分类可查看【公共模板管理】-【审核模板】 |
segmentSet |
|
在审核中高于用户设置审核阈值的图片集合。具体内容见表segmentSet |
表segmentSet
名称 |
示例值 |
描述 |
confidence |
98 |
AI审核给出的评价分数。 |
label |
|
子标签,根据主标签的二级分类。 |
url |
https://sample.gdoss.ctyun.cn/xxx/xxx/xx1.jpg |
审核违规图片的URL地址 |