媒体审核结果中视频部分是按照时间点组成从小到大排序成一个时间线,如果视频时间非常长,查询媒体审核按分页返回第1页信息,如果需要详细查询视频部分的全量结果,可单独调用本接口。

请求参数

名称 类型 是否必选 描述
Action String 操作接口名,系统规定参数,取值: QueryMediaCensorJobDetail
JobId String 媒体审核作业Id
NextPageToken String 下一页标识,空表示第1页, 下一标识将在第一次查询后返回
MaximumPageSize String 每页最大返回数。

默认:30

范围:[1,300]

返回参数

名称 类型 描述
MediaCensorJobDetail AliyunMediaCensorJobDetail 媒体审核作业结果列表。

示例

请求示例
http://mts.cn-shanghai.aliyuncs.com?Action=QueryMediaCensorJobDetail&JobId=%2288c6ca184c0e47098a5b665e2a126797%22&<公共参数>

返回示例

XML格式
<QueryMediaCensorJobDetailResponse>
  <RequestId>7AAF5751-7522-418E-9056-FB57AA6E5A02</RequestId>  
  <MediaCensorJobDetail>
    <Input>
      <Bucket>bucket-test-in</Bucket>  
      <Location>oss-cn-shanghai</Location>  
      <Object>test/ai/censor/鉴黄视频4-2.mp4</Object>
    </Input>  
    <Suggestion>block</Suggestion>  
    <DescCensorResult>
      <Scene>antispam</Scene>  
      <Suggestion>pass</Suggestion>  
      <Label>normal</Label>  
      <Rate>99.91</Rate>
    </DescCensorResult>  
    <CreationTime>2018-09-13T16:32:24Z</CreationTime>  
    <State>Success</State>  
    <TitleCensorResult>
      <Scene>antispam</Scene>  
      <Suggestion>block</Suggestion>  
      <Label>porn</Label>  
      <Rate>99.91</Rate>
    </TitleCensorResult>  
    <PipelineId>c5b30b7c0d0e4a0abde1d5f9e751a772</PipelineId>  
    <Id>f8f166eea7a44e9bb0a4aecf9543a793</Id>  
    <VensorCensorResult>
      <NextPageToken>1</NextPageToken>  
      <CensorCensorResult>
        <CensorResult>
          <Scene>porn</Scene>  
          <Suggestion>block</Suggestion>  
          <Label>porn</Label>  
          <Rate>100.0000000000</Rate>
        </CensorResult>  
        <CensorResult>
          <Scene>terrorism</Scene>  
          <Suggestion>pass</Suggestion>  
          <Label>normal</Label>  
          <Rate>100.0000000000</Rate>
        </CensorResult>
      </CensorCensorResult>  
      <VideoTimelines>
        <VideoTimeline>
          <CensorCensorResult>
            <CensorResult>
              <Scene>porn</Scene>  
              <Suggestion>block</Suggestion>  
              <Label>porn</Label>  
              <Rate>100.0</Rate>
            </CensorResult>  
            <CensorResult>
              <Scene>terrorism</Scene>  
              <Suggestion>pass</Suggestion>  
              <Label>normal</Label>  
              <Rate>100.0</Rate>
            </CensorResult>
          </CensorCensorResult>  
          <Timestamp>00:00:00.005</Timestamp>  
          <Object>test/ai/censor/v2/vs-00001.jpg</Object>
        </VideoTimeline>  
        <VideoTimeline>
          <CensorCensorResult>
            <CensorResult>
              <Scene>porn</Scene>  
              <Suggestion>block</Suggestion>  
              <Label>porn</Label>  
              <Rate>100.0</Rate>
            </CensorResult>  
            <CensorResult>
              <Scene>terrorism</Scene>  
              <Suggestion>pass</Suggestion>  
              <Label>normal</Label>  
              <Rate>100.0</Rate>
            </CensorResult>
          </CensorCensorResult>  
          <Timestamp>00:00:05.005</Timestamp>  
          <Object>test/ai/censor/v2/vs-00002.jpg</Object>
        </VideoTimeline>
      </VideoTimelines>
    </VensorCensorResult>  
    <BarrageCensorResult>
      <Scene>antispam</Scene>  
      <Suggestion>pass</Suggestion>  
      <Label>normal</Label>  
      <Rate>99.91</Rate>
    </BarrageCensorResult>  
    <VideoCensorConfig>
      <VideoCensor>true</VideoCensor>  
      <OutputFile>
        <Bucket>bucket-out-test</Bucket>  
        <Location>oss-cn-shanghai</Location>  
        <Object>test/ai/censor/v2/vs-{Count}.jpg</Object>
      </OutputFile>
    </VideoCensorConfig>
  </MediaCensorJobDetail>
</QueryMediaCensorJobDetailResponse>
JSON格式
{
    "RequestId": "B42299E6-F71F-465F-8FE9-4FC2E3D3C2CA",
    "MediaCensorJobDetail": {
        "Input": {
            "Bucket": "bucket-test-in",
            "Location": "oss-cn-shanghai",
            "Object": "test/ai/censor/鉴黄视频4-2.mp4"
        },
        "Suggestion": "block",
        "DescCensorResult": {
            "Scene": "antispam",
            "Suggestion": "pass",
            "Label": "normal",
            "Rate": "99.91"
        },
        "CreationTime": "2018-09-13T16:32:24Z",
        "State": "Success",
        "TitleCensorResult": {
            "Scene": "antispam",
            "Suggestion": "block",
            "Label": "porn",
            "Rate": "99.91"
        },
        "PipelineId": "c5b30b7c0d0e4a0abde1d5f9e751a772",
        "Id": "f8f166eea7a44e9bb0a4aecf9543a793",
        "VensorCensorResult": {
            "NextPageToken": "1",
            "CensorCensorResult": {
                "CensorResult": [{
                    "Scene": "porn",
                    "Suggestion": "block",
                    "Label": "porn",
                    "Rate": "100.0000000000"
                }, {
                    "Scene": "terrorism",
                    "Suggestion": "pass",
                    "Label": "normal",
                    "Rate": "100.0000000000"
                }]
            },
            "VideoTimelines": {
                "VideoTimeline": [{
                    "CensorCensorResult": {
                        "CensorResult": [{
                            "Scene": "porn",
                            "Suggestion": "block",
                            "Label": "porn",
                            "Rate": "100.0"
                        }, {
                            "Scene": "terrorism",
                            "Suggestion": "pass",
                            "Label": "normal",
                            "Rate": "100.0"
                        }]
                    },
                    "Timestamp": "00:00:00.005",
                    "Object": "test/ai/censor/v2/vs-00001.jpg"
                }, {
                    "CensorCensorResult": {
                        "CensorResult": [{
                            "Scene": "porn",
                            "Suggestion": "block",
                            "Label": "porn",
                            "Rate": "100.0"
                        }, {
                            "Scene": "terrorism",
                            "Suggestion": "pass",
                            "Label": "normal",
                            "Rate": "100.0"
                        }]
                    },
                    "Timestamp": "00:00:05.005",
                    "Object": "test/ai/censor/v2/vs-00002.jpg"
                }]
            }
        },
        "BarrageCensorResult": {
            "Scene": "antispam",
            "Suggestion": "pass",
            "Label": "normal",
            "Rate": "99.91"
        },
        "VideoCensorConfig": {
            "VideoCensor": true,
            "OutputFile": {
                "Bucket": "bucket-out-test",
                "Location": "oss-cn-shanghai",
                "Object": "test/ai/censor/v2/vs-{Count}.jpg"
            }
        }
    }
}