fzonevip 发表于 2012-2-24 23:21

冒个泡学完就走。回头试试。

逍遥137 发表于 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'son the bottom, then Bailey's,
* 1/3 shot Vodka   then Vodka.
---------------------------------------------------
root@OpenWrt:~# motion -c motion.conf
Configfile motion.conf not found - trying defaults.: No such file or directory
Processing thread 0 - config file /etc/motion.conf
Unknown config option "ffmpeg_cap_new"
Unknown config option "ffmpeg_cap_motion"
Unknown config option "ffmpeg_timelapse"
Unknown config option "ffmpeg_timelapse_mode"
Unknown config option "ffmpeg_bps"
Unknown config option "ffmpeg_variable_bitrate"
Unknown config option "ffmpeg_video_codec"
Unknown config option "ffmpeg_deinterlace"
Unknown config option "movie_filename"
Unknown config option "timelapse_filename"
Unknown config option "sql_log_image"
Unknown config option "sql_log_snapshot"
Unknown config option "sql_log_mpeg"
Unknown config option "sql_log_timelapse"
Unknown config option "sql_query"
Thread config file /usr/local/etc/thread1.conf not found: No such file or directory
Motion 3.2.11.1 Started
Thread 1 is from /etc/motion.conf
httpd bind(): Address already in use
Thread 1 started
cap.driver: "uvcvideo"
cap.card: "Microsoft庐 LifeCam HD-5000"
cap.bus_info: "usb-bcm63xx-1"
cap.capabilities=0x04000001
- VIDEO_CAPTURE
- STREAMING
Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
httpd thread exit
ioctl(VIDIOCGMBUF) - Error device does not support memory map
V4L capturing using read is deprecated!
Motion only supports mmap.
Could not fetch initial image from camera
Motion continues using width and height from config file(s)
Resizing pre_capture buffer to 1 items
bind(): Address already in use
Problem enabling stream server in port 8081: Address already in use
Thread exiting
Motion thread 1 restart
Thread 1 started
cap.driver: "uvcvideo"
cap.card: "Microsoft庐 LifeCam HD-5000"
cap.bus_info: "usb-bcm63xx-1"
cap.capabilities=0x04000001
- VIDEO_CAPTURE
- STREAMING
Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
ioctl(VIDIOCGMBUF) - Error device does not support memory map
V4L capturing using read is deprecated!
Motion only supports mmap.
Could not fetch initial image from camera
Motion continues using width and height from config file(s)
Resizing pre_capture buffer to 1 items
bind(): Address already in use
Problem enabling stream server in port 8081: Address already in use
Thread exiting
Motion thread 1 restart
Thread 1 started
cap.driver: "uvcvideo"
cap.card: "Microsoft庐 LifeCam HD-5000"
cap.bus_info: "usb-bcm63xx-1"
cap.capabilities=0x04000001
- VIDEO_CAPTURE
- STREAMING
Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
ioctl(VIDIOCGMBUF) - Error device does not support memory map
V4L capturing using read is deprecated!
Motion only supports mmap.
Could not fetch initial image from camera
Motion continues using width and height from config file(s)
Resizing pre_capture buffer to 1 items
bind(): Address already in use
Problem enabling stream server in port 8081: Address already in use
Thread exiting
Motion thread 1 restart
Thread 1 started
cap.driver: "uvcvideo"
cap.card: "Microsoft庐 LifeCam HD-5000"
cap.bus_info: "usb-bcm63xx-1"
cap.capabilities=0x04000001
- VIDEO_CAPTURE
- STREAMING
Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
ioctl(VIDIOCGMBUF) - Error device does not support memory map
V4L capturing using read is deprecated!
Motion only supports mmap.
Could not fetch initial image from camera
Motion continues using width and height from config file(s)
Resizing pre_capture buffer to 1 items
bind(): Address already in use
Problem enabling stream server in port 8081: Address already in use
Thread exiting
Motion thread 1 restart
Thread 1 started
cap.driver: "uvcvideo"
cap.card: "Microsoft庐 LifeCam HD-5000"
cap.bus_info: "usb-bcm63xx-1"
cap.capabilities=0x04000001
- VIDEO_CAPTURE
- STREAMING
Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
ioctl(VIDIOCGMBUF) - Error device does not support memory map
V4L capturing using read is deprecated!
Motion only supports mmap.
Could not fetch initial image from camera
Motion continues using width and height from config file(s)
Resizing pre_capture buffer to 1 items
bind(): Address already in use
Problem enabling stream server in port 8081: Address already in use
Thread exiting
Motion thread 1 restart
Thread 1 started
cap.driver: "uvcvideo"
cap.card: "Microsoft庐 LifeCam HD-5000"
cap.bus_info: "usb-bcm63xx-1"
cap.capabilities=0x04000001
- VIDEO_CAPTURE
- STREAMING
Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
ioctl(VIDIOCGMBUF) - Error device does not support memory map
V4L capturing using read is deprecated!
Motion only supports mmap.
Could not fetch initial image from camera
Motion continues using width and height from config file(s)
Resizing pre_capture buffer to 1 items
bind(): Address already in use
Problem enabling stream server in port 8081: Address already in use
Thread exiting
Motion thread 1 restart
Thread 1 started
cap.driver: "uvcvideo"
cap.card: "Microsoft庐 LifeCam HD-5000"
cap.bus_info: "usb-bcm63xx-1"
cap.capabilities=0x04000001
- VIDEO_CAPTURE
- STREAMING
Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
ioctl(VIDIOCGMBUF) - Error device does not support memory map
V4L capturing using read is deprecated!
Motion only supports mmap.
Could not fetch initial image from camera
Motion continues using width and height from config file(s)
Resizing pre_capture buffer to 1 items
bind(): Address already in use
Problem enabling stream server in port 8081: Address already in use
Thread exiting
Motion thread 1 restart
Thread 1 started
cap.driver: "uvcvideo"
cap.card: "Microsoft庐 LifeCam HD-5000"
cap.bus_info: "usb-bcm63xx-1"
cap.capabilities=0x04000001
- VIDEO_CAPTURE
- STREAMING
Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
ioctl(VIDIOCGMBUF) - Error device does not support memory map
V4L capturing using read is deprecated!
Motion only supports mmap.
Could not fetch initial image from camera
Motion continues using width and height from config file(s)
Resizing pre_capture buffer to 1 items
bind(): Address already in use
Problem enabling stream server in port 8081: Address already in use
Thread exiting
Motion thread 1 restart
Thread 1 started
cap.driver: "uvcvideo"
cap.card: "Microsoft庐 LifeCam HD-5000"
cap.bus_info: "usb-bcm63xx-1"
cap.capabilities=0x04000001
- VIDEO_CAPTURE
- STREAMING
Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
ioctl(VIDIOCGMBUF) - Error device does not support memory map
V4L capturing using read is deprecated!
Motion only supports mmap.
Could not fetch initial image from camera
Motion continues using width and height from config file(s)
Resizing pre_capture buffer to 1 items
bind(): Address already in use
Problem enabling stream server in port 8081: Address already in use
Thread exiting
Motion thread 1 restart
Thread 1 started
cap.driver: "uvcvideo"
cap.card: "Microsoft庐 LifeCam HD-5000"
cap.bus_info: "usb-bcm63xx-1"
cap.capabilities=0x04000001
- VIDEO_CAPTURE
- STREAMING
Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
ioctl(VIDIOCGMBUF) - Error device does not support memory map
V4L capturing using read is deprecated!
Motion only supports mmap.
Could not fetch initial image from camera
Motion continues using width and height from config file(s)
Resizing pre_capture buffer to 1 items
bind(): Address already in use
Problem enabling stream server in port 8081: Address already in use
Thread exiting
Motion thread 1 restart
Thread 1 started
cap.driver: "uvcvideo"
cap.card: "Microsoft庐 LifeCam HD-5000"
cap.bus_info: "usb-bcm63xx-1"
cap.capabilities=0x04000001
- VIDEO_CAPTURE
- STREAMING
Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
ioctl(VIDIOCGMBUF) - Error device does not support memory map
V4L capturing using read is deprecated!
Motion only supports mmap.
Could not fetch initial image from camera
Motion continues using width and height from config file(s)
Resizing pre_capture buffer to 1 items
bind(): Address already in use
Problem enabling stream server in port 8081: Address already in use
Thread exiting

摄像头用的是微软HD5000,同一路由我装了还了mjpeg-streamer,使用这个就没有问题

379855747 发表于 2012-3-30 18:21

停用mjpeg-streamer就可以了!

qx86936007 发表于 2012-3-30 20:04

逍遥137 发表于 2012-3-30 13:04 static/image/common/back.gif
楼主问一下我的按设置好后打入motion -c motion.conf 命令后一直出来下面这个
BusyBox v1.15.3 (2012-01-0 ...

你的mjpeg-streamer没关吧,我也刚编译好固件在学习中!!想搞同时挂几个摄像头,单个已经OK了!

逍遥137 发表于 2012-3-31 00:33

qx86936007 发表于 2012-3-30 20:04 static/image/common/back.gif
你的mjpeg-streamer没关吧,我也刚编译好固件在学习中!!想搞同时挂几个摄像头,单个已经OK了!

谢了搞定了,我直接把mjpeg-streamer在试一下就成功了,有没有办法让两个视频软件同时运行呢

落僷墲痕 发表于 2012-8-30 13:48

使用motion 如何录制视频,并且保存....

crush 发表于 2012-9-21 03:58

我在703N上试,摄像头用的GL860的gspca的,结果mjpg-stream出来的图像是四分格的,没法看,用motion运行设备就重启,搞不清楚为啥

bluezym 发表于 2012-10-27 14:20

379855747 发表于 2012-3-30 18:21 static/image/common/back.gif
停用mjpeg-streamer就可以了!

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

为什么画面只有灰色。

bluezym 发表于 2012-10-27 14:32

cap.driver: "uvcvideo"
cap.card: "Altair USB2.0 Camera"
cap.bus_info: "usb-ehci-platform-1"
cap.capabilities=0x04000001
------------------------
v4l2_get_capability: - VIDEO_CAPTURE
v4l2_get_capability: - STREAMING
v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
v4l2_select_input: - CAMERA
v4l2_select_input: Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
vid_v4lx_start: Using V4L1
motion_loop: Video device fatal error - Closing video device
vid_close: Closing video device /dev/video0
motion_loop: Retrying until successful connection with camera
vid_v4lx_start: Using videodevice /dev/video0 and input -1
v4l2_get_capability:
------------------------
cap.driver: "uvcvideo"
cap.card: "Altair USB2.0 Camera"
cap.bus_info: "usb-ehci-platform-1"
cap.capabilities=0x04000001
------------------------
v4l2_get_capability: - VIDEO_CAPTURE
v4l2_get_capability: - STREAMING
v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
v4l2_select_input: - CAMERA
v4l2_select_input: Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
vid_v4lx_start: Using V4L1
motion_loop: Video device fatal error - Closing video device
vid_close: Closing video device /dev/video0


这个属于什么情况???画面是灰色的。

zczhu 发表于 2013-3-1 21:25

target_dir /root/motion/snapshots当探测到运动时,图片和视频的保存路径,默认时为/var/lib/motion/snapshots。

53gcchg 发表于 2014-8-11 15:10

支持,学习中:)

dkxj213 发表于 2014-12-5 22:57

不错照着好搞

ryang 发表于 2016-5-23 13:02

montin 在哪里下载,7620的

小tan 发表于 2018-11-22 11:16

ryang 发表于 2016-5-23 13:02
montin 在哪里下载,7620的

请问你找到了吗?我也想要,请问可以给我吗?

sandy99 发表于 2022-12-3 14:41

泥马,真给力!
页: 1 2 [3]
查看完整版本: 摄像头用motion做监控非常棒!