Video Content Audit

Last updated: 2020-04-02 16:08:57

    Video content audit is an offline task that intelligently audits video content with the aid of AI. The task execution results include audit score, audit suggestion, and suspected video segments. According to the "audit suggestion", you can decide whether to allow a video to be published, effectively avoiding potential legal risks and brand image damage caused by illegal videos.

    VOD can intelligently audit video image, speech recognized by ASR, and text recognized by OCR. The audit operations include detection of porn, terrorism, and politically sensitive information.

    Object Operation Description
    Video image (figures and objects)
    Porn information detection Performs porn information detection on video image, including:
  • porn: porn
  • vulgar: vulgarity
  • intimacy: intimacy
  • sexy: sexiness
  • Terrorism information detection Performs terrorism information detection on video image, including:
  • militant: militants
  • guns: weapons and guns
  • bloody: bloody scenes
  • explosion: explosions and fires
  • banners: terrorism flags
  • terrorists: terrorists
  • police: police force
  • crowd: crowd
  • Politically sensitive information detection Performs politically sensitive information detection on video image, including:
  • violation_photo: violating photo
  • politician: politically sensitive figure
  • ASR phrase (phrase in speech) Porn information detection Performs porn information detection on phrases in speech to identify suspect keywords
    Politically sensitive information detection Performs politically sensitive information detection on phrases in speech to identify suspect keywords
    OCR text (text in video image) Porn information detection Performs porn information detection on text in video image to identify suspect keywords
    Politically sensitive information detection Performs politically sensitive information detection on text in video image to identify suspect keywords
    Field Name Type Description
    confidence Float Audit score (0–100). The higher the score, the greater the suspicion
    suggestion String There are three types of audit suggestions: pass, review, and block:
    • pass: the degree of suspicion is not high, and approval is recommended.
    • review: the degree of suspicion is high, and human audit is recommended
    • block: the degree of suspicion is very high, and blocking is recommended
    segments Array Suspected video segments, helping locate specific segments in the video that are suspected of violations

    Video-Content-Audit-Template">

    Video Content Audit Template

    The audit operations in a video content audit task are subject to audit parameters, which can be presented in the form of VOD video content audit template as shown below. Such a template specifies what operations will be performed in an audit task:

    • Porn information detection in video image
    • Terrorism information detection in video image
    • Politically sensitive information detection in video image
    • ASR-based porn information detection in speech
    • ASR-based politically sensitive information detection in speech
    • OCR-based porn information detection in text
    • OCR-based politically sensitive information detection in text

    For common combinations of operations, VOD provides a preset video content audit template.

    Task Initiation

    There are three ways to initiate a video content audit task, namely, directly initiating through server API, directly initiating through the console, and specifying a task upon upload. For more information, please see Task Initiation for video processing.

    Below are instructions for initiating video content audit tasks in these ways:

    Getting Result

    After initiating a video content audit task, you can wait for result notification asynchronously or perform task query synchronously to get the task execution result. Below is an example of getting the result notification in normal callback mode after the content audit task is initiated (the fields with null value are omitted):

    {
        "EventType":"ProcedureStateChanged",
        "ProcedureStateChangeEvent":{
            "TaskId":"1256768367-Procedure-2e1af2456351812be963e309cc133403t0",
            "Status":"FINISH",
            "FileId":"5285890784246869930",
            "FileName":"Animal World",
            "FileUrl":"http://1256768367.vod2.myqcloud.com/xxx/xxx/AtUCmy6gmIYA.mp4",
            "MetaData":{
                "AudioDuration":60,
                "AudioStreamSet":[
                    {
                        "Bitrate":383854,
                        "Codec":"aac",
                        "SamplingRate":48000
                    }
                ],
                "Bitrate":1021028,
                "Container":"mov,mp4,m4a,3gp,3g2,mj2",
                "Duration":60,
                "Height":480,
                "Rotate":0,
                "Size":7700180,
                "VideoDuration":60,
                "VideoStreamSet":[
                    {
                        "Bitrate":637174,
                        "Codec":"h264",
                        "Fps":23,
                        "Height":480,
                        "Width":640
                    }
                ],
                "Width":640
            },
            "AiContentReviewResultSet":[
                {
                    "Type":"Porn",
                    "PornTask":{
                        "Status":"SUCCESS",
                        "ErrCode":0,
                        "Message":"",
                        "Input":{
                            "Definition":10
                        },
                        "Output":{
                            "Confidence":98,
                            "Suggestion":"block",
                            "Label":"sexy",
                            "SegmentSet":[
                                {
                                    "StartTimeOffset":9.5,
                                    "EndTimeOffset":14,
                                    "Confidence":98,
                                    "Suggestion":"block",
                                    "Label":"sexy",
                                    "Url":"http://xxx.vod2.myqcluod.com/xxx/xxx/xx1.jpg",
                                    "PicUrlExpireTimeStamp":1530005146
                                },
                                {
                                    "StartTimeOffset":16.5,
                                    "EndTimeOffset":18,
                                    "Confidence":80,
                                    "Suggestion":"review",
                                    "Label":"sexy",
                                    "Url":"http://xxx.vod2.myqcluod.com/xxx/xxx/xx2.jpg",
                                    "PicUrlExpireTimeStamp":1530005146
                                },
                                {
                                    "StartTimeOffset":41,
                                    "EndTimeOffset":49,
                                    "Confidence":97,
                                    "Suggestion":"block",
                                    "Label":"sexy",
                                    "Url":"http://xxx.vod2.myqcluod.com/xxx/xxx/xx3.jpg",
                                    "PicUrlExpireTimeStamp":1530005146
                                }
                            ]
                        }
                    }
                },
                {
                    "Type":"Terrorism",
                    "TerrorismTask":{
                        "Status":"SUCCESS",
                        "ErrCode":0,
                        "Message":"",
                        "Input":{
                            "Definition":10
                        },
                        "Output":{
                            "Confidence":0,
                            "Suggestion":"pass",
                            "SegmentSet":[
    
                            ]
                        }
                    }
                },
                {
                    "Type":"Political",
                    "PoliticalTask":{
                        "Status":"SUCCESS",
                        "ErrCode":0,
                        "Message":"",
                        "Input":{
                            "Definition":10
                        },
                        "Output":{
                            "Confidence":0,
                            "Suggestion":"pass",
                            "SegmentSet":[
    
                            ]
                        }
                    }
                }
            ],
            "TasksPriority":0,
            "TasksNotifyMode":""
        }
    }

    In the callback result, ProcedureStateChangeEvent.AiContentReviewResultSet contains three types of audit results in Type of Porn, Terrorism, and Political, which represent detection of porn, terrorism, and politically sensitive information in video image, respectively.

    • The result in Type of Porn shows that Output.Suggestion is block, that is, the possibility of porn information presence is high and blocking is recommended, the confidence of porn information is 98, and the reason is sexy (sexiness).
    • The result Output.SegmentSet in Type of Porn lists three video segments suspected of containing porn information. The start time and end time of each segment are marked by StartTimeOffset and EndTimeOffset.
    • The result in Type of Terrorism and Political shows that the video is not suspected of containing terrorism and politically sensitive information.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help