Search code examples
google-cloud-platformvideo-intelligence-api

Google Video intelligence - Billing by segments


Do you know when we send a request with segments list (https://cloud.google.com/video-intelligence/docs/reference/rest/v1/videos/annotate#VideoContext) to analyse, if we are only charged for the segments times or the all video duration ?

Thanks


Solution

  • When you specify video-segments on your request, then only those segments will be analyzed and you will only be charged for the analyzed video. As you can see in pricing official docs you are billed per minute and not per video:

    Prices are per minute

    The different features that can be analyzed using VideoIntelligence will work only on video-segments if you provide them:

    1. Label detection:

    A LABEL_DETECTION request annotates ...entities ...detected ... in video segments provided

    1. Shot change detection:

    Shot detection ...detects changes...that occur throughout the length of... video segment.

    1. Explicit content detection

    EXPLICIT_CONTENT_DETECTION request annotates...entities ...detected in...video segments provided