说明:

motion主页: http://www.lavrsen.dk/foswiki/bin/view/Motion

motion下载地址: http://sourceforge.net/projects/motion/files/motion%20-%203.2/

系统: Ubuntu 12.10
开发板:mini2440
linux: 2.6.32
交叉工具链:4.4.3
motion版本:3.2.11.1
对于PC版本的直接apt-get install motion就可以的具体的使用方法参见 这里。
本文主要记录一下ARM版本的编译使用:
1.去上边说明的motion下载地址下载3.2.11.1版本
2.配置命令:./configure  --prefix=${PWD}/_install  --host=arm-linux --without-ffmpeg

3.接下来就是make  和 make install了。

4.make install后会在_install/bin/目录下产生motion可执行文件,拷贝到开发板上/root/motion目录下,并在同目录中建motion.conf内容如下:
# Minimal motion example config file provided by the
# Debian motion package - for basic webcam operation.
#
# You most certainly want to investigate
# /usr/share/doc/motion/examples/motion-dist.conf.gz
# for further configuration options. Also, refer to the
# motion man page and /usr/share/doc/motion/motion_guide.html
# for detailed information on configuration options.
daemon off
quiet on
locate on
# You may very well need to change this (check with 'dmesg'
# after plugging in your webcam).
videodevice /dev/video0
# Image size in pixels (valid range is camera dependent).
width 320
height 240
framerate 25
quality 85
auto_brightness off
# General threshold level and noise threshold
# level (for distinguishing between noise and motion).
threshold_tune off
threshold 4500
noise_level 64
# Initial brightness, contrast, hue (NTSC), and saturation.
# 0 = disabled (valid range 0-255).
brightness 0
contrast 0
saturation 0
hue 0
# Encode movies in real-time (install ffmpeg before enabling).
ffmpeg_cap_new on
# Codec to be used by ffmpeg for the video compression.
# Supported formats: mpeg4, msmpeg4.
ffmpeg_video_codec msmpeg4
# Target base directory for pictures and films (you may need
# to change this (or change its permissions) depending on
# which system user runs motion).
target_dir /root/motion/snapshots
# Define a port number (e.g. 8000) to enable the mini-http server.
# 0 = disabled.
webcam_port 8081
# Set to 'off' to allow anybody (not just localhost) to view the
# webcam via the mini-http server ( http://hostname:port).
webcam_localhost off
snapshot_interval 1
snapshot_filename snapshot
webcam_quality 50
webcam_maxrate 8
#on_event_start /root/motion/on_motion_detected
#on_event_end /root/motion/on_motion_end
gap 10
5.运行./motion -c motion.conf

6.用chrome浏览器实时监控(360极速,世界之窗测试不可以)

转载于:https://www.cnblogs.com/xinyuyuanm/archive/2013/04/06/3002711.html

motion的移植和使用相关推荐

  1. 基于motion的视频压缩的实时监控系统

    项目说明:监控报警系统 涉及到的技术: 1.OSS/ALSA 声卡驱动的配置 2.Madplay嵌入式播放器移植 3.实现V4L2图像采集程序 4.移动监控主系统motion的移植 5.移植嵌入式we ...

  2. mini2440基于motion的移动图像监控系统和基于SDL的远程监控

    这段时间在考虑做基于mini2440移动图像监控系统设计和远程监控设计:这个项目刚开始被我分割成几部分: 1.实现采集开发板上摄像头数据在开发板的LCD显示 2.实现网络远程监控把开发板上摄像头数据发 ...

  3. RTTHREAD软件包目录

    RTTHREAD软件包目录 这边统计下RTTHREAD软件包的各项内容 IOT 包名 技术标签 依赖平台 备注 abup_fota OTA TCP/UDP 本软件包是用于 Abup FOTA 升级的固 ...

  4. 嵌入式单片机及其相关博客及教程

    一.单片机: 1.嵌入式单片机程序架构之时间片轮询法 https://mp.weixin.qq.com/s/F6FGDwW_Rqaxzf9BYcg6yQ 2.stm32 f429 移植 littlev ...

  5. motion程序的移植和安装【转】

    本文转载自:http://blog.csdn.net/guozhiyuan20095318/article/details/7310486 motion是一个开源的用于移动图像监控的程序.我在做博创杯 ...

  6. 【鲁班猫创意氛围赛】移植motion进行移动侦测抓拍录像

    [鲁班猫创意氛围赛]移植motion进行移动侦测抓拍录像 LubanCat-RK环境搭建 部署motion 配置motion的各项参数 进行局域网展示图像 LubanCat-RK环境搭建 环境搭建可参 ...

  7. 基于mjpg-streamer网络视频服务器移植

    MJPG简介: MJPG是MJPEG的缩写,但是MJPEG还可以表示文件格式扩展名. MJPEG 全名为 "Motion Joint Photographic Experts Group&q ...

  8. tq2440 lcd 移植

    移植环境(红色粗字体字为修改后内容,蓝色粗体字为特别注意内容) 1,主机环境:VMare下CentOS 5.5 ,1G内存. 2,集成开发环境:Elipse IDE 3,编译编译环境:arm-linu ...

  9. Fire and Motion[转载]

    http://chinese.joelonsoftware.com/Articles/FireAndMotion.html  作者: 周思博 (Joel Spolsky) 译: Siyan Li 李思 ...

最新文章

  1. hdu2604 矩阵快速幂
  2. linux下mongdb绑定ip,Linux下MongoDB安装及副本集配置 | 聂扬帆博客
  3. cookie在后台的存取
  4. 【BZOJ3930】选数(莫比乌斯反演倍数形式,杜教筛)
  5. 独家 | 2021双11背后的数据库硬核科技
  6. 面试题:聊一聊设计模式的基本原则
  7. python交通调查数据处理_python 小型交通调查后的数据处理(数车)
  8. html带取消的谈窗框,HTML参考
  9. xtrabackup 备份
  10. PE格式详细讲解5 - 系统篇05|解密系列
  11. python控制语句字符串截取_python字符串截取如何操作
  12. Hibernate 主键
  13. 人生不怕晚,就看敢不敢|优锘科技 X《无尽攀登》专场见面会
  14. 交通仿真软件国内外详情分析及发展概述
  15. 时尚新享受,告别鼠标手
  16. 「唇语识别技术」看不透TA的心,但可以听懂TA的话
  17. 口琴膜片什么作用_有多少人用无膜半音阶口琴,对于初学者来说?
  18. STLINk驱动安装
  19. Optional-------NPE
  20. 宝塔上限制国内IP访问你的网站

热门文章

  1. 计算机二级office试题27答案,2017年12月计算机二级MS Office习题答案(一)
  2. java 框架介绍------权限框架
  3. 给初学者的RxJava2.0教程(三)
  4. Java类加载机制与反射
  5. 软考(6)--数据库
  6. Office 浏览器
  7. Pytext简介:facebook的基于PyTorch的NLP框架
  8. 20款免费响应式的 HTML5 网站模板下载
  9. CRFsuite 学习: CoNLL 2000 shared task
  10. 机器学习中训练集和测试集归一化(matlab版)