Lurker News
TLDR: I had 2,207 GoPro videos, and I need to rewatch them to find interesting moments from my cycling journey. I built a project to index them locally on my M1 Max using open-source ML models, search for those moments, and send the best clips straight to my DaVinci Resolve timeline. I indexed 628 videos (668.68 GB, 15h 13m 18s of footage duration), more details in the metrics table in the last section of this article.

Full article: https://iliashaddad.com/blog/i-indexed-669-gb-of-my-gopro-videos-using-my-m1-max-computer

Comments (116) 41 threads

That comment isn't part of this discussion anymore. Showing all comments.

iliashad1 reply#
That's great, I checked your article when it was in front page because someone mentioned my project in the comments.

Good job for the article and the project. That's great, yes local models are getting better and better

pfannl#
Apparently M1 Max video indexing is the new sourdough starter
justinram115 replies#
Something I've enjoyed more than I expected is Google and Apple photos sending me photo memories and compilations of various things in my life and my kids lives over the last decade.

I'm really bullish on taking more video of my kids, with the thought that it will become easier and easier for AI to put them into little compilations I can enjoy later.

JMiao2 replies#
do you use android and ios, or is there another benefit to having personal media with both?
iliashad1 reply#
Can you please elaborate more?
ngai_aku#
I think most people are either in on Google or in on Apple whereas the OP indicated they have their media stored with both
dave8088#
I run both on my phone as a lazy (but flawed) backup strategy.
goodmythical1 reply#
You don't mind Google using your kids to train their models and advertising algorithms?

Years from now they'll be getting "hey look at BIKE BRANDS' NEWEST CHEAP BIKE REMEMBER WHEN YOU USED TO RIDE BIKE BRAND BIKES"

satvikpendem2 replies#
I think most people really don't care, and/or will just adblock those sorts of things when they do arrive.
marci#
Don't worry. Most people spend most of their compute time on a phone, where you're ability to filter ads is way more enshitified.
whattheheckheck1 reply#
What about in 10 years when they auto search and label users for political dissent and likelihood of impact

Continue this thread — 1 reply

mwelpa1 reply#
I wish I could connect Apple photos to my Spotify account and have photo memories connected with songs I listened to at the time :)
alias_neo#
Music memories are the best.

I booted up my old PS3 from my uni days (20 years ago?) and found all of the music I had on it because I used it for everything at the time. Some seriously nostalgic music I'd completely forgotten about.

theshrike79#
I think the Apple stuff is done 100% on device.

Google loves scanning stuff on in the cloud though.

esjeon2 replies#
> Then, run the frame analysis pipeline, which will divide the video into separate video scenes (1s each, or 1fps) > (…) > Frames analyzed 57,537

Aha, it makes total sense. This number sounds much more reasonable than “669 GB”, since the actual total size of processed frames would be like 10-30 GB.
(Not downplaying anything. Doing-at-home always requires some math on practicality)
> Total compute time 67h 40m 42s
I’m just curious tho — is there any paying options that can accelerate this kind of process? Just spin up GPU instances?

iliashad1 reply#
> Aha, it makes total sense. This number sounds much more reasonable than “669 GB”, since the actual total size of processed frames would be like 10-30 GB.

The reason why is “669 GB” is the total raw footage size when I'm doing the video processing, I downscaled each frame to 720p to make the video processing much faster and I don't need full original quality in order to get accurate results (as far as I know and experiment with).
> I’m just curious tho — is there any paying options that can accelerate this kind of process? Just spin up GPU instances?
For now, I found that NVIDIA GPU for example RTX 3060 with 12GB Vram was much faster than my M1 Max. (still working on optimizing for speed and accuracy).

ngai_aku1 reply#
What PAYG providers do people here recommend? Most powerful machine at home is an M1 MBA (16GB), so I too am interested in short term options where I can still benefit from the privacy of local models
villgax1 reply#
Runpod

Continue this thread — 1 reply

egorfine#
Yep. Go to vast.ai, spin up a cheap GPU instance, add a bit of code to the project and let it run it finish in just a few hours for like ten bucks.

But it's not as fun as running local model right here on your computer on your own desk. It feels like magic.

Load more comments