Today I discovered…
Motion
C program to monitor the video feed from multiple cameras and detect motion by comparing frames. Further it can save the motion picture/video or trigger a script.
💖 What I like about Motion:
Lightweight and offline - Worked without any issues on even Raspberry Pi OS. It does not require any internet connection for motion detection.
Trigger script on motion - It has the feature to trigger any script when motion is detected. This opens up a lot of possibilities. I used it to call ntfy API which sends me notification on my phone.
Supports diverse video sources/streaming-protocols - Works with all sorts of video stream sources - usb camera, network camera, http/hls, rtmp/rtsp, etc. Recorded videos can also be used as source.
Highly configurable - Lots of options settings that can be configured for your use case including the sensitivity/noise level, pause/play stream, mask, etc.
👎 What I dislike about Motion:
This project was started in 2000. It does what it promises - motion detection. And it does so pretty well that it is hard to find any dislikes except for some features for my use case of private home security, which can be debatable whether this project should prioritise in its scope or not.
Limited UI features - It provides an html page accessible at your localhost:8080 to view the live stream, the motion, and configurations. But that’s all, there’s nothing else you can do with the UI. It would have been quite useful if one could directly go through all the motion events and image/video recorded.
You gotta RTFM - To configure/change settings in Motion, you need to have decent understanding of all the parameters. You must read the manual. Which is fine for the first time setup but for later usage, I wished if it was more friendly to not so tech savvy users so that anyone from the family could change at least basic settings when needed.
⭐ Ratings and metrics
Based on my experience, I would rate this project as following
Production readiness: 9/10
Docs rating: 7/10
Time to POC(proof of concept): less than 1 hour
Author: Mr Dave
Demo | Source
🛡 License: GPL-2.0
Tech Stack: C
If you discovered an interesting Open-Source project and want me to feature it in the newsletter, get in touch via the form above. To support this newsletter and Open-Source authors, follow #OpenSourceDiscovery on LinkedIn and Twitter