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
sans_souse1 reply#
Total aside here but is that you driving the pickup I assume?
sohamrj#
haha no i'm driving the tesla and that clip is from the left repeater camera (teslas record from all around the car)
ideashower#
Is there a local model that this would work with?
crashabr#
I wonder how well this would work with dance videos.
Aeroi5 replies#
very cool, anybody have apparent use cases for this?
sohamrj#
dashcam and home security footage are the 2 main ones i can think of.

a bit expensive right now so it's not as practical at scale. but once the embedding model comes out of public preview, and we hopefully get a local equivalent, this will be a lot more practical.

hebelehubele1 reply#
State surveillance
wahnfrieden#
Worker surveillance
giozaarour1 reply#
I think a good use case would be searching for certain products or videos across social media (TikTok and Instagram). especially useful for shopping, maybe
vidarh#
Branding/marketing monitoring companies would be all over this.
mannyv1 reply#
Indexing all your porn and skipping all the filler.
iso1631#
isn't the "fill her" the point of porn?
CamperBob2#
Trail and game cams come to mind. "Create a montage of all deer encounters," "Find first appearance of black bear this year," that sort of thing.

Load more comments