Web-kamera toimimaan

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
3161
Äänestä

Muut lukivat myös

Vastaukset 3

Vanhimmat

Apuva?

Äänestä

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/

Äänestä

Kommentoi aloitusta


motion666 kirjoitti:

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

Anonyymi
5000

Ilmoita asiaton sisältö

  • Sisältää materiaalia, joka on loukkaavaa, herjaavaa, rasistista, uhkailevaa tai ahdistelevaa.

  • Materiaali sisältää nimiä, yhteystietoja tai muita henkilökohtaisia tietoja. Julkisuuden henkilöistä, julkisissa viroissa toimivista ihmisistä sekä yritysten vastuuhenkilöistä saa keskustella työhön liittyen. Myös yksityiselämään liittyvistä asioista voi keskustella siltä osin, kuin niistä on julkisesti kerrottu.

  • Sisältää lapsille haitallista tai heiltä kiellettyä materiaalia. Seksuaalinen sisältö on sallittua aiheeseen tarkoitetuilla palstoilla, joiden ikäraja on 18 vuotta.

  • Lainvastaista sisältöä voi olla mm. yksityiselämää loukkaavan tiedon levitys, kiihottaminen kansanryhmää vastaan, laiton uhkaaminen, alaikäisiin liittyvä seksuaalinen sisältö/grooming, petokset, identiteettivarkaudet, kunnianloukkaukset ja tekijänoikeusrikkomukset.

  • Sisältö ei liity palstan tai keskusteluketjun aiheeseen.

  • Viesti ei ole suomea tai ruotsia (pl. International Forums), se sisältää mainontaa, se sisältää tekijänoikeuksin suojattua materiaalia, se on massapostitus tai jokin muu syy.

Jaa keskustelu