The Video Intelligence Streaming API supports live shot change detection with live streaming input of media data, and real-time streaming output of analysis results.
The following configuration JSON object shows how to use AIStreamer live shot change detection to annotate a streaming video.
{ "video_config": { "feature": "STREAMING_SHOT_CHANGE_DETECTION" } }
The AIStreamer returns a response similar to the following example.
Reading response. Shot: 0.0s to 4.170837s Shot: 4.204204s to 7.107107s Shot: 7.140473s to 11.778445s Shot: 11.811811s to 17.28395s Shot: 17.317317s to 20.82082s Shot: 20.854187s to 24.591257s Shot: 24.624624s to 30.063396s