Lurker News
Gemini Embedding 2 can project raw video directly into a 768-dimensional vector space alongside text. No transcription, no frame captioning, no intermediate text. A query like "green car cutting me off" is directly comparable to a 30-second video clip at the vector level.

I used this to build a CLI that indexes hours of footage into ChromaDB, then searches it with natural language and auto-trims the matching clip. Demo video on the GitHub README. Indexing costs ~$2.50/hr of footage. Still-frame detection skips idle chunks, so security camera / sentry mode footage is much cheaper.

Comments (108) 40 threads

Earlier comments
wuliwong#
I am working on a really similar thing. My buddy just sent me this. Hit me up if you wanna chat!
rao-v#
Is there a decent open video embedding model out there? I’d love to play with this without uploading video.
kamranjon2 replies#
Does anyone know of an open weights models that can embed video? Would love to experiment locally with this.
sohamrj#
Not aware of any that do native video-to-vector embedding the way Gemini Embedding 2 does. There are CLIP-based models (like VideoCLIP) that embed frames individually, but they don't process temporal video. you'd need to average frame embeddings which loses a lot.

Would love to see open-weight models with this capability since it would eliminate the API cost and the privacy concern of uploading footage.

CamperBob2#
Very cool, thanks. Will check it out.
cat-turner#
This is great, thanks for sharing

Load more comments