# Gemini can now natively embed video, so I built sub-second…

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…

- **Page:** https://magpie.gallery/i/gemini-can-now-natively-embed-video-so-i-built-sub-j5yu
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Runs on:** windows, macos, linux
- **Tags:** video-search, embeddings, cli, semantic-search

## Source

Web · sohamrj: Gemini can now natively embed video, so I built sub-second video search

- **Original:** https://news.ycombinator.com/item?id=47503617

> 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. https://github.com/ssrajadh/sentrysearch

## GitHub projects

- https://github.com/ssrajadh/sentrysearch

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
