|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| [[Category:Surveillance]] | | #REDIRECT [[List of applications/Multimedia#Webcam]] |
| [[ja:Motion]]
| |
| [[ru:Motion]]
| |
| [[zh-hans:Motion]]
| |
| {{Related articles start}}
| |
| {{Related|Webcam setup}}
| |
| {{Related articles end}}
| |
| [https://motion-project.github.io/ 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 {{Pkg|motion}} package.
| |
| | |
| == Configuration ==
| |
| | |
| Motion can be called with the {{ic|-c}} option to define a specific configuration file (as is the case with [https://github.com/ccrisan/motioneye/wiki motionEye]).
| |
| | |
| If you do not specify {{ic|-c}} or the filename you give Motion does not exist, Motion will search for the configuration file called {{ic|motion.conf}} in the following order:
| |
| | |
| # Current directory from where motion was invoked
| |
| # Directory called {{ic|.motion}} in the current users home directory (shell environment variable {{ic|$HOME}}). E.g. {{ic|~/.motion/motion.conf}}
| |
| # {{ic|/etc/motion/}}
| |
| | |
| The default configuration file ({{ic|/etc/motion/motion.conf}}) is well commented, so it is easy to find which options are required and how to set them (ie {{ic|rotate 90}}).
| |
| | |
| By default Motion will use port {{ic|8080}} (+1 for each camera feed), and it will be limited to localhost connections only, both the web configuration server (on port {{ic|8080}}) and the camera feeds.
| |