Motion

Motion is a program that monitors the video signal from cameras. It is able to detect if a significant part of the picture has changed; in other words, it can detect motion.

Installation

Install the motion package.

Configuration

Motion can be called with the -c option to define a specific configuration file (as is the case with motionEye).

If you do not specify -c or the filename you give Motion does not exist, Motion will search for the configuration file called motion.conf in the following order:

  1. Current directory from where motion was invoked
  2. Directory called .motion in the current users home directory (shell environment variable $HOME). E.g. ~/.motion/motion.conf
  3. /etc/motion/

The default configuration file () is well commented, so it is easy to find which options are required and how to set them (ie ).

By default Motion will use port (+1 for each camera feed), and it will be limited to localhost connections only, both the web configuration server (on port ) and the camera feeds.

gollark: I probably could, it would just be bad.
gollark: For example, if I install Arch on some random laptop from 10 years ago it'll probably run fine, although some hardware may not be supported and it might have trouble with browsers because those are horribly processing-intensive.
gollark: Amazingly, OSes can be mostly hardware agnostic.
gollark: <@151391317740486657> Mine seems to work fine.
gollark: It's on normal flash memory like user data, only you're not allowed to access it by the system.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.