frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Gemini can now natively embed video, so I built sub-second video search

https://github.com/ssrajadh/sentrysearch
60•sohamrj•2h ago
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

ygouzerh•1h ago
That's quite interesting, well done! I haven't thought of this use case for embeddings. It open the door to quite many potential applications!
stavros•1h ago
Man, the surveillance applications for this are staggering.
dev_tools_lab•1h ago
Nice use of native video embedding. How do you handle cases where Gemini's response confidence is low? Do you have a fallback or threshold?
sohamrj•1h ago
as of now, no threshold but that is planned in the future.

for example, for now if i search "cybertruck" in my indexed dashcam footage, i don't have any cybertrucks in my footage, so it'll return a clip of the next best match which is a big truck, but not a cybertruck

mdrzn•1h ago
Very interesting (not for a dashcam, but for home monitoring).
klntsky•1h ago
why not skip the text conversion? is it usable at all?
sohamrj•1h ago
gemini embedding 2 converts straight video to vectors. in this case, dashcam clips don't have audio to transcribe and even if they did, it would be useless in the search
password4321•45m ago
What are the SoA audio models right now?
Aeroi•1h ago
very cool, anybody have apparent use cases for this?
sohamrj•54m ago
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.

hebelehubele•42m ago
State surveillance
wahnfrieden•15m ago
Worker surveillance
giozaarour•26m ago
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•14m ago
Branding/marketing monitoring companies would be all over this.
emsign•46m ago
Where is the Exit to this dystopia?
BrokenCogs•29m ago
The Matrix style human pods: we live in blissful ignorance in the Matrix, while the LLMs extract more and more compute power from us so some CEO somewhere can claim they have now replaced all humans with machines in their business.
throwup238•16m ago
I was thinking more of the season 3 episode of Doctor Who titled Gridlock where everyone lives in flying cars circling a giant expressway underground, while all the upper class people on the surface died years ago from a pandemic.
ting0•5m ago
Ever get the feeling that the universe is reading your mind? Maybe there's some truth to that after all.
7777777phil•43m ago
Today I learned that Gemini can now natively embed video..

Cool Project, thanks for sharing!

kamranjon•24m ago
Does anyone know of an open weights models that can embed video? Would love to experiment locally with this.
sohamrj•5m ago
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.

SpaceManNabs•17m ago
> No transcription, no frame captioning, no intermediate text.

If there is text on the video (like a caption or wtv), will the embedding capture that? Never thought about this before.

If the video has audio, does the embedding capture that too?

sohamrj•9m ago
Yes to both. The embedding is over raw video frames, so anything visible (text, signs, captions) gets captured in the vector. And Gemini Embedding 2 extracts the audio track and embeds it alongside the visual frames. So a query like 'someone yelling' would theoretically match on audio. My dashcam footage doesn't have audio though, so I haven't tested that side yet.
nullbyte•5m ago
What a brilliant idea! is this all done locally? That's incredible.

LiteLLM Python package compromised by supply-chain attack

https://github.com/BerriAI/litellm/issues/24512
615•theanonymousone•5h ago•254 comments

Run a 1T parameter model on a 32gb Mac by streaming tensors from NVMe

https://github.com/t8/hypura
76•tatef•1h ago•40 comments

Hypothesis, Antithesis, Synthesis

https://antithesis.com/blog/2026/hegel/
80•alpaylan•2h ago•41 comments

No Terms. No Conditions

https://notermsnoconditions.com
108•bayneri•1h ago•31 comments

Show HN: Gemini can now natively embed video, so I built sub-second video search

https://github.com/ssrajadh/sentrysearch
63•sohamrj•2h ago•25 comments

Show HN: Email.md – Markdown to responsive, email-safe HTML

https://www.emailmd.dev/
24•dancablam•1h ago•2 comments

Testing the Swift C compatibility with Raylib (+WASM)

https://carette.xyz/posts/swift_c_compatibility_with_raylib/
32•LucidLynx•2d ago•9 comments

Nanobrew: The fastest macOS package manager compatible with brew

https://nanobrew.trilok.ai/
102•syrusakbary•6h ago•59 comments

Microsoft's "Fix" for Windows 11: Flowers After the Beating

https://www.sambent.com/microsofts-plan-to-fix-windows-11-is-gaslighting/
769•h0ek•8h ago•557 comments

Tony Hoare and His Imprint on Computer Science

https://cacm.acm.org/blogcacm/tony-hoare-and-his-imprint-on-computer-science/
22•matt_d•3d ago•3 comments

LaGuardia pilots raised safety alarms months before deadly runway crash

https://www.theguardian.com/us-news/2026/mar/24/laguardia-airplane-pilots-safety-concerns-crash
179•m_fayer•2h ago•139 comments

Debunking Zswap and Zram Myths

https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html
125•javierhonduco•7h ago•30 comments

Ripgrep is faster than grep, ag, git grep, ucg, pt, sift (2016)

https://burntsushi.net/ripgrep/
257•jxmorris12•11h ago•104 comments

Secure Domain Name System (DNS) Deployment 2026 Guide [pdf]

https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-81r3.pdf
70•XzetaU8•5h ago•6 comments

curl > /dev/sda: How I made a Linux distro that runs wget | dd

https://astrid.tech/2026/03/24/0/curl-to-dev-sda/
118•astralbijection•7h ago•49 comments

WolfGuard: WireGuard with FIPS 140-3 cryptography

https://github.com/wolfssl/wolfguard
38•789c789c789c•1h ago•23 comments

Opera: Rewind The Web to 1996 (Opera at 30)

https://www.web-rewind.com
161•thushanfernando•9h ago•99 comments

io_uring, libaio performance across Linux kernels and an unexpected IOMMU trap

https://blog.ydb.tech/how-io-uring-overtook-libaio-performance-across-linux-kernels-and-an-unexpe...
34•tanelpoder•4h ago•13 comments

Apple Business

https://www.apple.com/newsroom/2026/03/introducing-apple-business-a-new-all-in-one-platform-for-b...
125•soheilpro•2h ago•111 comments

Box of Secrets: Discreetly modding an apartment intercom to work with Apple Home

https://www.jackhogan.me/blog/box-of-secrets/
241•jackhogan11•1d ago•90 comments

So where are all the AI apps?

https://www.answer.ai/posts/2026-03-12-so-where-are-all-the-ai-apps.html
243•tanelpoder•3h ago•247 comments

Log File Viewer for the Terminal

https://lnav.org/
269•wiradikusuma•12h ago•42 comments

Country that put backdoors in Cisco routers to spy on world bans foreign routers

https://www.theregister.com/2026/03/24/fcc_foreign_routers/
10•beardyw•10m ago•1 comments

The Jellies That Evolved a Different Way to Keep Time

https://www.quantamagazine.org/the-jellies-that-evolved-a-different-way-to-keep-time-20260320/
20•jyunwai•4d ago•5 comments

LLM Neuroanatomy II: Modern LLM Hacking and Hints of a Universal Language?

https://dnhkng.github.io/posts/rys-ii/
73•realberkeaslan•7h ago•26 comments

MSA: Memory Sparse Attention

https://github.com/EverMind-AI/MSA
76•chaosprint•3d ago•5 comments

iPhone 17 Pro Demonstrated Running a 400B LLM

https://twitter.com/anemll/status/2035901335984611412
689•anemll•1d ago•314 comments

Autoresearch on an old research idea

https://ykumar.me/blog/eclip-autoresearch/
406•ykumards•23h ago•90 comments

BIO – The Bao I/O Co-Processor

https://www.crowdsupply.com/baochip/dabao/updates/bio-the-bao-i-o-co-processor
79•hasheddan•2d ago•21 comments

NanoClaw Adopts OneCLI Agent Vault

https://nanoclaw.dev/blog/nanoclaw-agent-vault/
97•turntable_pride•4h ago•28 comments