generative-ai-python icon indicating copy to clipboard operation
generative-ai-python copied to clipboard

Can I live stream my web cam or live video ( HLS, RTSP and RTMP) to gemini vision api?

Open Munsyari opened this issue 1 year ago • 3 comments

Description of the feature request:

No response

What problem are you trying to solve with this feature?

No response

Any other information you'd like to share?

No response

Munsyari avatar Jun 03 '24 06:06 Munsyari

There is no way to provide live video to gemini for now, but it will be a great feature.

vishwakneelamegam avatar Jun 25 '24 11:06 vishwakneelamegam

@vishwakneelamegam correct. The API supports streaming output, but no streaming input. This is impossible right now.

MarkDaoust avatar Jun 25 '24 14:06 MarkDaoust

I have made a workaround with Open AI https://github.com/vishwakneelamegam/openai-video-narrator.

vishwakneelamegam avatar Jul 02 '24 03:07 vishwakneelamegam

Update. Yes, you can totally do this.

Start here: https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_LiveAPI.ipynb

MarkDaoust avatar Feb 19 '25 16:02 MarkDaoust