Difference between revisions of "Motion"
Perspectoff (Talk | contribs) |
m (Clean-up) |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Versioninfo}} | ||
[[Category: Security]] | [[Category: Security]] | ||
[[Category: Cameras]] | [[Category: Cameras]] | ||
[[Category: Tutorials]] | [[Category: Tutorials]] | ||
− | |||
[[Category: Software components]] | [[Category: Software components]] | ||
+ | {| align="right" | ||
+ | | __TOC__ | ||
+ | |} | ||
− | '''Motion''' is a program that monitors the video signal from one or more cameras and is able to detect if a significant part of the picture has changed; in other words, it can detect motion. | + | '''Motion''' is a program that monitors the video signal from one or more cameras and is able to detect if a significant part of the picture has changed; in other words, it can detect motion. Motion is the perfect tool for keeping an eye on your property, keeping only those images that are interesting. |
− | LinuxMCE has a wrapper that connects to Motion. | + | LinuxMCE has a wrapper that connects to Motion, called "Motion Wrapper". This wrapper is added as a "device" on the "Interfaces" page. You must have this interface installed before setting up cameras. |
− | The program is written in C | + | The program is written in C for the Linux operating system. Motion is a command line based tool whose output can be jpeg or ppm files, or mpeg video sequences. |
− | For detailed info see the [http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome Motion website] | + | For detailed info see the [http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome Motion website]. |
==Features== | ==Features== | ||
− | * | + | *Takes snapshots of movement |
− | * | + | *Watches multiple video devices at the same time |
− | * | + | *Watches multiple inputs on one capture card at the same time |
*Live streaming webcam (using multipart/x-mixed-replace) | *Live streaming webcam (using multipart/x-mixed-replace) | ||
*Real time creation of mpeg movies using libraries from ffmpeg | *Real time creation of mpeg movies using libraries from ffmpeg | ||
Line 28: | Line 31: | ||
*Lots of user contributed related projects with web interfaces etc. | *Lots of user contributed related projects with web interfaces etc. | ||
*User configurable and user defined on screen display. | *User configurable and user defined on screen display. | ||
− | * | + | *Controlled via the browser (older versions used xml-rpc) |
*Automatic noise and threshold control | *Automatic noise and threshold control | ||
− | *Motion is a daemon with low CPU consumption and small memory footprint. | + | *Motion is a daemon with low CPU consumption and a small memory footprint. |
+ | ===Changing the Motion Wrapper settings=== | ||
− | + | *[[LinuxMCE Admin Website]]--> Advanced --> [[Advanced Pages Devices| Devices]] | |
− | + | *My Devices-->CORE-->Motion Wrapper | |
+ | *Under Device Data-->Motion Parameters can be found the actual parameters. The correspond to the [http://www.lavrsen.dk/twiki/bin/view/Motion/ConfigFileOptions Motion config options] found on the Motion wiki. | ||
+ | :*My surveillance camera already has automatic light leveling and I don't need the Motion module to do it for me, so I set auto-brightness off. | ||
+ | :*I wanted my camera to detect movement when just two frames showed a difference, so I set minimum_motion_frames to 2. | ||
+ | :*also need to set snapshot_interval to 2 ('''snapshot_interval 2''') | ||
+ | *After making all my changes, I saved and did a [[quick reload router]]. | ||
− | + | ==Interesting related projects== | |
− | + | ||
− | + | ||
− | + | Since there will probably be some discussion about the future of video surveillance under LinuxMCE, I'll enumerate here few interesting projects, which I hope will one day be incorporated into LinuxMCE. | |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
*[http://www.lavrsen.dk/twiki/bin/view/Motion/KmotionWebViewer Kmotion Web Viewer] | *[http://www.lavrsen.dk/twiki/bin/view/Motion/KmotionWebViewer Kmotion Web Viewer] | ||
− | |||
*[http://www.zoneminder.com/ Zoneminder] | *[http://www.zoneminder.com/ Zoneminder] |
Latest revision as of 20:14, 29 January 2012
Version | Status | Date Updated | Updated By |
---|---|---|---|
710 | Unknown | N/A | N/A |
810 | Unknown | N/A | N/A |
1004 | Unknown | N/A | N/A |
1204 | Unknown | N/A | N/A |
1404 | Unknown | N/A | N/A |
Usage Information |
Motion is a program that monitors the video signal from one or more cameras and is able to detect if a significant part of the picture has changed; in other words, it can detect motion. Motion is the perfect tool for keeping an eye on your property, keeping only those images that are interesting.
LinuxMCE has a wrapper that connects to Motion, called "Motion Wrapper". This wrapper is added as a "device" on the "Interfaces" page. You must have this interface installed before setting up cameras.
The program is written in C for the Linux operating system. Motion is a command line based tool whose output can be jpeg or ppm files, or mpeg video sequences.
For detailed info see the Motion website.
Features
- Takes snapshots of movement
- Watches multiple video devices at the same time
- Watches multiple inputs on one capture card at the same time
- Live streaming webcam (using multipart/x-mixed-replace)
- Real time creation of mpeg movies using libraries from ffmpeg
- Take automated snapshots on regular intervals
- Take automated snapshots at irregular intervals using cron
- Execute external commands when detecting movement (and e.g. send SMS or email)
- Motion tracking (camera follow motion - special hardware required)
- Feed events to a MySQL or PostgreSQL database.
- Feed video back to a video4linux loopback for real time viewing
- Lots of user contributed related projects with web interfaces etc.
- User configurable and user defined on screen display.
- Controlled via the browser (older versions used xml-rpc)
- Automatic noise and threshold control
- Motion is a daemon with low CPU consumption and a small memory footprint.
Changing the Motion Wrapper settings
- LinuxMCE Admin Website--> Advanced --> Devices
- My Devices-->CORE-->Motion Wrapper
- Under Device Data-->Motion Parameters can be found the actual parameters. The correspond to the Motion config options found on the Motion wiki.
- My surveillance camera already has automatic light leveling and I don't need the Motion module to do it for me, so I set auto-brightness off.
- I wanted my camera to detect movement when just two frames showed a difference, so I set minimum_motion_frames to 2.
- also need to set snapshot_interval to 2 (snapshot_interval 2)
- After making all my changes, I saved and did a quick reload router.
Since there will probably be some discussion about the future of video surveillance under LinuxMCE, I'll enumerate here few interesting projects, which I hope will one day be incorporated into LinuxMCE.