GithubHelp home page GithubHelp logo

todokku / nmotion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ajbogh/nmotion

0.0 0.0 0.0 22.55 MB

nMotion is a NodeJS RTSP security camera motion detection system. It'll detect motion in an RTSP stream and save the video to a folder as a short mp4 file.

License: GNU General Public License v3.0

JavaScript 93.80% HTML 2.78% CSS 3.42%

nmotion's Introduction

nMotion

A motion detection system written in NodeJS which can connect to several RTSP streams and detect movement. The system will store mp4s in a folder called "recordings", which can be a symlink to any file system.

Installation

git clone [email protected]:ajbogh/nMotion.git
npm install
  • Copy config.json.template to config.json

Edit the config.json file to include your cameras and ffmpegOptions. See the ffmpeg documentation for more advanced options.

Create a symlink for the "recordings" folder. You may link this folder to any file system or location within the target computer.

Running the app

The start command will run the camera service and the website at the same time.

npm run start

The website can be viewed by opening http://localhost:5000, the URL will be copied to the clipboard automatically.

Take note of the console logs and any errors that may occur from ffmpeg during the startup process. Any camera that doesn't connect may require additional ffmpeg options. The ffmpeg command used to start each camera is reported in the terminal when the service starts.

nmotion's People

Contributors

ajbogh avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.