参考:
Debian官网连接
Motion官网连接web
首先,参见Debian官网连接对Motion的介绍,网页中包含了全部相关依赖包,请首先确保这些依赖包的安装。ubuntu
摘出对Motion的介绍部分。以下:
Package: motion (3.2.12-3.4)bash
V4L capture program supporting motion detectionmarkdown
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. Or in other words, it can detect motion.ide
Motion is a command line based tool. It has no graphical user interface. Everything is setup either via the command line or via configuration files.ui
The output from motion can be:spa
简单来讲,Motion就是一款能够同时开启多个摄像头进行视频监控并同时实现运动捕捉的程序,该程序基于命令行界面,其输出支持jpg图片输出,ppm format视频输出,以及mpeg视频序列输出。同时,Motion还能够实现网页端的实时视频监控。命令行
安装介绍以下(摘自Motion官网连接):
PS:若是你想选择编译源码安装,参见上面的连接,有详细的说明。code
Motion is part of the Ubuntu repository. You can click either click here to install it via the Ubuntu Software-Center.
Or open up a terminal window and type:orm
sudo apt-get install motion
Before we start configuring Motion, we need to copy the config file to our Home folder so that the master copy won’t be affected. Open a terminal and copy the configuration file to your Home folder with following commands:
mkdir .motion
(Note: This will create a hidden folder “.motion” in your Home directory.)
sudo cp /etc/motion/motion.conf ~/.motion/motion.conf
(Note: This command will copy the original motion configuration file to its location.)
Now can open the configuration file for editing:
sudo nano ~/.motion/motion.conf
After you you have done so, start motion in the terminal simply by typing:
sudo motion
安装好Motion以后,
输入命令:
man motion
你会发现这是一款无比强大的应用。其可配置性强大的使人发指。
附上其官网链接供参考。 和其余Linux下的强大程序相同,这款程序一样是开源的。他的发布遵照GPL。 无需注册,无需任何人许可,你能够免费的安装,使用它。