Better HN
topnewbestaskshowjobs
Log inSign up

correa_brian

183 karma · joined May 26, 2023 (3y ago) · 159 submissions

CEO of https://meetcosmos.com/

yt https://www.youtube.com/@brian_correa

spotify https://open.spotify.com/show/2Za0QNRj1JIn45zBOvCQIw?si=54d4684b79a34194&nd=1&dlsi=756e83690fb54152

Submissions

comment 9mo ago · link · parent

lol

comment 1y ago · link · parent

super cool. just tried it. love the sassy comments

comment 1y ago · link · parent

I literally feel like I'm doing drugs when I'm watching short-form videos.

4.

Show HN: I made a macOS app to index media and transcribe audio locally(meetcosmos.com ↗)

1 points · by correa_brian · 1y ago · discuss

5.

Show HN: I made an Premiere plugin to edit faster(meetcosmos.com ↗)

1 points · by correa_brian · 1y ago · discuss

comment 1y ago · link · parent

cool idea

7.

Cosmos: Private multimodal AI that runs on your laptop(meetcosmos.com ↗)

1 points · by correa_brian · 1y ago · discuss

comment 1y ago · link · parent

hell yeah

comment 1y ago · link · parent

I'm on an M2 and it takes <5 minutes to index a 2hr movie. If you're trying to index a lot of media at once, we will queue it up to be indexed. We also do smart sampling to detect similar frames so if it two talking heads vs. a lot of different shots, it will process faster. In that case the audio is more valuable for the talking heads.

The semantic search queries typically take 100-250ms.

comment 1y ago · link · parent

Yeah, exactly. We capture the semantic meaning of each frame and complement the filename/metadata, so both options work.

comment 1y ago · link · parent

Hey everyone, I'm brian, one of the makers of cosmos, a desktop app that makes your entire media collection, including external hard drives, searchable by using local ML models.

With your catalog indexed, you can use existing content to generate videos (text-to-video and image-to-video) using Veo 3. To try this out you'll need to bring your own Gemini API key. Obviously this part is not private since you are using Google's AI, but the generations get saved to your desktop and imo it's less clunky than the Google Videos UI. We also added a prompt pre-processing step to enrich the original user input. We use Gemini to create a structured JSON prompt that includes detailed information on lighting, audio, characters, and mood, to name it few. In my experience this makes it easier to preserve continuity in your scenes.

I want to experiment with some local generation models soon so Cosmos can function 100% offline (I've read good things about Wan 2.1 and Stable Diffusion). I really like working with local models (also using Whisper for audio to text transcription) and think long-term everyone will want at least some portion of their data managed by private, offline models.

If you are curious about building something like this for yourself, below is a rough outline: - Pick a platform or a cross-platform tool for your build (we started with Electron and eventually moved to Tauri) - Select your ML models. There are plenty of open-source image and text embedding models (Clip, Siglip, Nomic) - Design a media processing pipeline that won't fry your users' computer (pro tip: you're going to want to throttle indexing when CPU utilization gets too high) - Experiment with well-known open-source media tools like ImageMagick and FFmpeg. This is more than enough to extract frame, clip videos, or anything else you might want to do with a piece of media in your pre/post-processing - Database choice: There are lots of choices for DBs, but in my experience simpler is better. We started with Redis (it was overkill) and eventually migrated to sqlite with a vector embedding extension. Haven't tried Qdrant, Pinecone, or Chromadb, but sqlite works great for this use case. - If you want to support online AI platforms like OpenAI or Anthropic then you'll need to manage API keys and HTTP requests to these services (or maybe MCP? Don't know much about that yet).

Demo https://www.youtube.com/watch?v=qHPl_n-HlP4

12.

Show HN: I built a desktop app that indexes your media locally(meetcosmos.com ↗)

16 points · by correa_brian · 1y ago · 8 comments

comment 1y ago · link · parent

fixed! thanks again

comment 1y ago · link · parent

woah, you're right. thanks for catching! fixing that now

comment 1y ago · link · parent

lets goooo. thank you! i also made it red so it's easier to catch. appreciate the feedback.

comment 1y ago · link · parent

You can record directly on the site! I can make it more prominent but there's a Microphone button under the file drop. Lmk if you don't see it.

comment 1y ago · link · parent

That's what it used to be. Now it's bytedance's premiere/veed competitor

18.

Show HN: I built a tool to replace capcut audio transcription(meetcosmos.com ↗)

26 points · by correa_brian · 1y ago · 10 comments

comment 1y ago · link · parent

Ended up swapping out redis for sqlite-vec. Works great. Thanks

comment 1y ago · link · parent

:just-blaze

comment 1y ago · link · parent

What part?

comment 1y ago · link · parent

We're using redis vector modules for cosine similarity. I'm sure there's more to optimize there. Your project sounds cool. How'd you reverse engineer apple's model?

comment 1y ago · link · parent

The UX was a small part of the re-write. Since we started from scratch we had a blank slate and figured we'd go all in on Tauri/Rust/React vs. trying continue with Electron in the mix.

comment 1y ago · link · parent

I just wasn't able to get the similarity results to match redis. Probably my own error, but that's why I opted for it instead of SQLite. We'll revisit at some point.

comment 1y ago · link · parent

Thanks! We went with Rust because we weren't able to tune sqlite with a vector search extension to give me the results we wanted. I'm sure it's possible to use it instead of Redis but that's an optimization for another day. I'll check out Neon.

comment 1y ago · link · parent

That's pretty sick. Nice work. What's it called? We're working on the app store submission this week.

comment 1y ago · link · parent

Hey Alex - thanks for commenting. I'd be interested in giving this all another look. Like we mentioned in the post + comments, We went with redis because that's what got us the results we wanted. I'm open to revisiting our vector storage if it spares us needing to manage a separate db process.
123456