nulledy

Fregata - Run Frigate on your Mac, accelerated by the Apple Silicon

by
Fregata is a native macOS port of the excellent open-source Frigate NVR. Object detection runs on the Apple Neural Engine (~1–4 ms/frame) and video decode/encode uses VideoToolbox, so one Apple Silicon Mac handles many cameras in real time — no Docker, no Linux VM, no Coral or GPU, no low quality detection sub-streams. Same Frigate config, web UI, MQTT, and Home Assistant integration. $10 one-time, 30-day trial.

Add a comment

Replies

Best
nulledy
Maker
📌
I've been a fan and avid user of the excellent privacy-first local Frigate NVR for years (https://frigate.video if you're unfamiliar). For the last year or so I've been running Frigate as a docker container on my Mac Mini. While this setup worked, and was kind of energy efficient, CPU usage was high and it felt like I was leaving a LOT of the performance and benefits of Apple Silicon on the table. Frigate requires Docker, but Docker on Mac runs containers inside of a Linux VM, blocking container access to the Apple Neural Engine (ANE), GPU, and the hardware media decoding/encoding Media Engine. As well as adding VM overhead, this prevents Frigate running on docker from using any of that hardware for things like AI object detection, hardware accelerated video stream decoding/encoding, Frigate's AI Enrichments, and more. Fregata ports the runtime Frigate needs (think process supervisor, RAM disk management, environment variables, inter-process communication, shared memory, etc) that is normally provided by Docker into a native Mac .app, signed and notarized by Apple. Additionally we added and maintain a Apple Core ML AI object detector written in Rust that uses the ANE and hardware-accelerated frame cropping, plus hundreds of other Frigate optimizations and tweaks specific to macOS. Fregata is the runtime that RUNS a macOS-customized version of Frigate. We'll keep Fregata up to date with upstream Frigate releases. All Frigate features work as usual (including Frigate+), just accelerated by Apple Silicon. The result is AI object detection inference times of 1-2ms on the ANE, stream decode/encode accelerated by Apple's Media Engine, GPU-accelerated Frigate enrichments, very minimal CPU usage, and the extreme energy efficiency of the Mac Mini (or any Apple Silicon Mac you have laying around). Any and all user feedback is very welcome and happy to answer any questions you have. If you're a Mac user that runs Frigate, we think you'll be very pleased with Fregata.