找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: coldmoon

摄像头用motion做监控非常棒!

  [复制链接]
发表于 2012-2-24 23:21 | 显示全部楼层
冒个泡学完就走。回头试试。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-3-30 13:04 | 显示全部楼层
本帖最后由 逍遥137 于 2012-3-30 13:06 编辑

楼主问一下我的按设置好后打入motion -c motion.conf 命令后一直出来下面这个
BusyBox v1.15.3 (2012-01-09 08:56:37 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
Backfire (10.03.1, r29685) ------------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
---------------------------------------------------
root@OpenWrt:~# motion -c motion.conf
[0] Configfile motion.conf not found - trying defaults.: No such file or directory
[0] Processing thread 0 - config file /etc/motion.conf
[0] Unknown config option "ffmpeg_cap_new"
[0] Unknown config option "ffmpeg_cap_motion"
[0] Unknown config option "ffmpeg_timelapse"
[0] Unknown config option "ffmpeg_timelapse_mode"
[0] Unknown config option "ffmpeg_bps"
[0] Unknown config option "ffmpeg_variable_bitrate"
[0] Unknown config option "ffmpeg_video_codec"
[0] Unknown config option "ffmpeg_deinterlace"
[0] Unknown config option "movie_filename"
[0] Unknown config option "timelapse_filename"
[0] Unknown config option "sql_log_image"
[0] Unknown config option "sql_log_snapshot"
[0] Unknown config option "sql_log_mpeg"
[0] Unknown config option "sql_log_timelapse"
[0] Unknown config option "sql_query"
[0] Thread config file /usr/local/etc/thread1.conf not found: No such file or directory
[0] Motion 3.2.11.1 Started
[0] Thread 1 is from /etc/motion.conf
[0] httpd bind(): Address already in use
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft庐 LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm63xx-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[0] httpd thread exit
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft庐 LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm63xx-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft庐 LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm63xx-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft庐 LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm63xx-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft庐 LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm63xx-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft庐 LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm63xx-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft庐 LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm63xx-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft庐 LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm63xx-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft庐 LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm63xx-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft庐 LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm63xx-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft庐 LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm63xx-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting

摄像头用的是微软HD5000,同一路由我装了还了mjpeg-streamer,使用这个就没有问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-3-30 18:21 | 显示全部楼层
停用mjpeg-streamer就可以了!

点评

谢了搞定了  发表于 2012-3-31 00:33
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-3-30 20:04 | 显示全部楼层
逍遥137 发表于 2012-3-30 13:04
楼主问一下我的按设置好后打入motion -c motion.conf 命令后一直出来下面这个
BusyBox v1.15.3 (2012-01-0 ...

你的mjpeg-streamer没关吧,我也刚编译好固件在学习中!!想搞同时挂几个摄像头,单个已经OK了!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-3-31 00:33 | 显示全部楼层
qx86936007 发表于 2012-3-30 20:04
你的mjpeg-streamer没关吧,我也刚编译好固件在学习中!!想搞同时挂几个摄像头,单个已经OK了!

谢了搞定了,我直接把mjpeg-streamer在试一下就成功了,有没有办法让两个视频软件同时运行呢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-8-30 13:48 | 显示全部楼层
使用motion 如何录制视频,并且保存....
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-9-21 03:58 | 显示全部楼层
我在703N上试,摄像头用的GL860的gspca的,结果mjpg-stream出来的图像是四分格的,没法看,用motion运行设备就重启,搞不清楚为啥
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-10-27 14:20 | 显示全部楼层
379855747 发表于 2012-3-30 18:21
停用mjpeg-streamer就可以了!

我的mjpg -streamer 没启动阿,进程里也没有/  

为什么画面只有灰色。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-10-27 14:32 | 显示全部楼层
cap.driver: "uvcvideo"
cap.card: "Altair USB2.0 Camera"
cap.bus_info: "usb-ehci-platform-1"
cap.capabilities=0x04000001
------------------------
[1] [NTC] [VID] v4l2_get_capability: - VIDEO_CAPTURE
[1] [NTC] [VID] v4l2_get_capability: - STREAMING
[1] [NTC] [VID] v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
[1] [NTC] [VID] v4l2_select_input: - CAMERA
[1] [ERR] [VID] v4l2_select_input: Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] [NTC] [VID] vid_v4lx_start: Using V4L1
[1] [ERR] [ALL] motion_loop: Video device fatal error - Closing video device
[1] [NTC] [VID] vid_close: Closing video device /dev/video0
[1] [WRN] [ALL] motion_loop: Retrying until successful connection with camera
[1] [NTC] [VID] vid_v4lx_start: Using videodevice /dev/video0 and input -1
[1] [NTC] [VID] v4l2_get_capability:
------------------------
cap.driver: "uvcvideo"
cap.card: "Altair USB2.0 Camera"
cap.bus_info: "usb-ehci-platform-1"
cap.capabilities=0x04000001
------------------------
[1] [NTC] [VID] v4l2_get_capability: - VIDEO_CAPTURE
[1] [NTC] [VID] v4l2_get_capability: - STREAMING
[1] [NTC] [VID] v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
[1] [NTC] [VID] v4l2_select_input: - CAMERA
[1] [ERR] [VID] v4l2_select_input: Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] [NTC] [VID] vid_v4lx_start: Using V4L1
[1] [ERR] [ALL] motion_loop: Video device fatal error - Closing video device
[1] [NTC] [VID] vid_close: Closing video device /dev/video0


这个属于什么情况???画面是灰色的。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-3-1 21:25 | 显示全部楼层
target_dir /root/motion/snapshots当探测到运动时,图片和视频的保存路径,默认时为/var/lib/motion/snapshots。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-8-11 15:10 | 显示全部楼层
支持,学习中
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-12-5 22:57 来自手机 | 显示全部楼层
不错照着好搞
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-5-23 13:02 | 显示全部楼层
montin 在哪里下载,7620的

点评

请问你找到了吗?我也想要,请问可以给我吗?  详情 回复 发表于 2018-11-22 11:16
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-11-22 11:16 | 显示全部楼层
ryang 发表于 2016-5-23 13:02
montin 在哪里下载,7620的

请问你找到了吗?我也想要,请问可以给我吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-12-3 14:41 | 显示全部楼层
泥马,真给力!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-19 17:23

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表