Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Is it possible to stream a Youtube video to Google's Vision API

Hi,

I'm new to Google's Dev Tools. I'm working on a project which examines many frames of a video and sends them to Google's Vision API for processing. I know I could download the video and submit the request using a local file but I was wondering if there is a more efficient way.

Is it possible to stream the video directly to the API or download it directly to Google Cloud Storage?

Thanks,

 

Niall

0 5 634
5 REPLIES 5

According to this article:

https://support.google.com/youtube/answer/56100

You can download videos from YouTube that you have uploaded but you can't download other user's YouTube videos.

Yes I know I could download the video and reupload it to Google Storage but my question is whether there is a way to stream a Youtube video directly to Google Storage or the Cloud APIs.

Would it be your video that you want to copy to Google Storage or a 3rd parties video you wanted to copy?

A third party’s

You'll probably require consent from the 3rd party to use/stream their content or you might get under a copyright strike. 

Even if you don't get a copyright claim, it's advisable to get the consent from the original creator/owner of the video.