Minulla on Microsoft LifeCam HD-5000 kamera ja yritän saada sen toimimaan Raspberry Pi:ssa motion ohjelman kanssa. Jostain syystä tämä ei onnistu millään, vaikka sama kamera toimii täydellisesti kannettavassa Debianissa ja motion siinä toimii täydellisesti myös.
En ole oikein hyvä selvittämään missä on vika. Voisiko joku auttaa?
Tällaista tapahtuu kun yritän käynnistää motionin Raspberry Pi:ssa:
root@raspberrypi:/# motion
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
[0] Thread 1 is from /etc/motion/motion.conf
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft® LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm2708_usb-1.3.4"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] 1: MJPG (MJPEG)
[1] Selected palette YUYV
[1] Test palette YUYV (320x240)
[1] Using palette YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace 00000008
[1] found control 0x00980900, "Brightness", range 30,255
[1] "Brightness", default -8193, current 133
[1] found control 0x00980901, "Contrast", range 0,10
[1] "Contrast", default 57343, current 5
[1] found control 0x00980902, "Saturation", range 0,200
[1] "Saturation", default 57343, current 83
[1] mmap information:
[1] frames=4
[1] 0 length=153600
[1] 1 length=153600
[1] 2 length=153600
[1] 3 length=153600
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[0] Thread 1 - Watchdog timeout, trying to do a graceful restart
[0] httpd - Finishing
[0] httpd Closing
[0] httpd thread exit
[0] Thread 1 - Watchdog timeout, did NOT restart graceful,killing it!
[0] Calling vid_close() from motion_cleanup
[0] Closing video device /dev/video0
En ole oikein hyvä selvittämään missä on vika. Voisiko joku auttaa?
Tällaista tapahtuu kun yritän käynnistää motionin Raspberry Pi:ssa:
root@raspberrypi:/# motion
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
[0] Thread 1 is from /etc/motion/motion.conf
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Microsoft® LifeCam HD-5000"
[1] cap.bus_info: "usb-bcm2708_usb-1.3.4"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] 1: MJPG (MJPEG)
[1] Selected palette YUYV
[1] Test palette YUYV (320x240)
[1] Using palette YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace 00000008
[1] found control 0x00980900, "Brightness", range 30,255
[1] "Brightness", default -8193, current 133
[1] found control 0x00980901, "Contrast", range 0,10
[1] "Contrast", default 57343, current 5
[1] found control 0x00980902, "Saturation", range 0,200
[1] "Saturation", default 57343, current 83
[1] mmap information:
[1] frames=4
[1] 0 length=153600
[1] 1 length=153600
[1] 2 length=153600
[1] 3 length=153600
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[0] Thread 1 - Watchdog timeout, trying to do a graceful restart
[0] httpd - Finishing
[0] httpd Closing
[0] httpd thread exit
[0] Thread 1 - Watchdog timeout, did NOT restart graceful,killing it!
[0] Calling vid_close() from motion_cleanup
[0] Closing video device /dev/video0
Vastaukset 3
Vanhimmat
Apuva?
http://www.chriswpage.com/2009/05/setup-an-advanced-webcam-security-system-with-ubuntu-8-04-and-motion/
Motion on oletuksena disabloitu, joten sinun täytyy asettaa /etc/default/motion tiedosto arvosta start_motion_daemon=no arvoon start_motion_daemon=yes
Tuossa ohjeessa samat herjat
TROUBLESHOOTING
I received the error
1 motion: [0] Thread 1 - Watchdog timeout, trying to do a graceful restart
2 motion: [0] Thread 1 - Watchdog timeout, did NOT restart graceful,killing
This had to do with my resolution that i set to high
I changed the resolution back to the default resolution of motion and it worked.
http://raspberry-blog.com/general/installing-webcam-on-raspberry-pi/