Mistä voi johtua, että jos käynnistän motion "palvelimen" käskyllä
# motion
Niin se käynnistyy ja toimii hyvin. Mutta jos käynnistän sen "oikein optisesti" käskyllä:
# /etc/init.d/motion start
Niin se kaatuu parin minuutin päästä.
Aika ärsyttävää, kun pitää aina muista käsiin käynnistää se. Logissa on tällaista:
May 3 15:42:16 shell motion: [0] Processing thread 0 - config file /etc/motion/motion.conf
May 3 15:42:16 shell motion: [0] Motion 3.2.12 Started
May 3 15:42:16 shell motion: [0] Created process id file /var/run/motion/motion.pid. Process ID is 21816
May 3 15:42:16 shell motion: [0] Motion running as daemon process
May 3 15:42:16 shell motion: [0] ffmpeg LIBAVCODEC_BUILD 3412993 LIBAVFORMAT_BUILD 3415808
May 3 15:42:16 shell motion: [0] Thread 1 is from /etc/motion/motion.conf
May 3 15:42:16 shell motion: [1] cap.driver: "uvcvideo"
May 3 15:42:16 shell motion: [1] cap.card: "VF0610 Live! Cam Socialize HD"
May 3 15:42:16 shell motion: [1] cap.bus_info: "usb-0000:00:1d.7-4"
May 3 15:42:16 shell motion: [1] cap.capabilities=0x04000001
May 3 15:42:16 shell motion: [1] - VIDEO_CAPTURE
May 3 15:42:16 shell motion: [1] - STREAMING
May 3 15:42:16 shell motion: [1] Test palette MJPG (640x480)
May 3 15:42:16 shell motion: [1] Using palette MJPG (640x480) bytesperlines 0 sizeimage 614400 colorspace 00000008
May 3 15:42:16 shell motion: [1] found control 0x00980900, "Brightness", range -128,127
May 3 15:42:16 shell motion: [1] #011"Brightness", default 0, current 0
May 3 15:42:16 shell motion: [1] found control 0x00980901, "Contrast", range 64,255
May 3 15:42:16 shell motion: [1] #011"Contrast", default 128, current 128
May 3 15:42:16 shell motion: [1] found control 0x00980902, "Saturation", range 0,255
May 3 15:42:16 shell motion: [1] #011"Saturation", default 128, current 128
May 3 15:42:16 shell motion: [1] found control 0x00980903, "Hue", range -128,127
May 3 15:42:16 shell motion: [1] #011"Hue", default 0, current 0
May 3 15:42:16 shell motion: [1] found control 0x00980910, "Gamma", range 72,500
May 3 15:42:16 shell motion: [1] #011"Gamma", default 100, current 100
May 3 15:42:16 shell motion: [1] found control 0x00980913, "Gain", range 0,2
May 3 15:42:16 shell motion: [1] #011"Gain", default 0, current 0
May 3 15:42:16 shell motion: [1] Resizing pre_capture buffer to 1 items
May 3 15:47:03 shell motion: [1] Closing video device /dev/video0
May 3 15:47:05 shell motion: [0] Motion terminating
May 3 15:47:05 shell motion: [0] Removed process id file (pid file).
# motion
Niin se käynnistyy ja toimii hyvin. Mutta jos käynnistän sen "oikein optisesti" käskyllä:
# /etc/init.d/motion start
Niin se kaatuu parin minuutin päästä.
Aika ärsyttävää, kun pitää aina muista käsiin käynnistää se. Logissa on tällaista:
May 3 15:42:16 shell motion: [0] Processing thread 0 - config file /etc/motion/motion.conf
May 3 15:42:16 shell motion: [0] Motion 3.2.12 Started
May 3 15:42:16 shell motion: [0] Created process id file /var/run/motion/motion.pid. Process ID is 21816
May 3 15:42:16 shell motion: [0] Motion running as daemon process
May 3 15:42:16 shell motion: [0] ffmpeg LIBAVCODEC_BUILD 3412993 LIBAVFORMAT_BUILD 3415808
May 3 15:42:16 shell motion: [0] Thread 1 is from /etc/motion/motion.conf
May 3 15:42:16 shell motion: [1] cap.driver: "uvcvideo"
May 3 15:42:16 shell motion: [1] cap.card: "VF0610 Live! Cam Socialize HD"
May 3 15:42:16 shell motion: [1] cap.bus_info: "usb-0000:00:1d.7-4"
May 3 15:42:16 shell motion: [1] cap.capabilities=0x04000001
May 3 15:42:16 shell motion: [1] - VIDEO_CAPTURE
May 3 15:42:16 shell motion: [1] - STREAMING
May 3 15:42:16 shell motion: [1] Test palette MJPG (640x480)
May 3 15:42:16 shell motion: [1] Using palette MJPG (640x480) bytesperlines 0 sizeimage 614400 colorspace 00000008
May 3 15:42:16 shell motion: [1] found control 0x00980900, "Brightness", range -128,127
May 3 15:42:16 shell motion: [1] #011"Brightness", default 0, current 0
May 3 15:42:16 shell motion: [1] found control 0x00980901, "Contrast", range 64,255
May 3 15:42:16 shell motion: [1] #011"Contrast", default 128, current 128
May 3 15:42:16 shell motion: [1] found control 0x00980902, "Saturation", range 0,255
May 3 15:42:16 shell motion: [1] #011"Saturation", default 128, current 128
May 3 15:42:16 shell motion: [1] found control 0x00980903, "Hue", range -128,127
May 3 15:42:16 shell motion: [1] #011"Hue", default 0, current 0
May 3 15:42:16 shell motion: [1] found control 0x00980910, "Gamma", range 72,500
May 3 15:42:16 shell motion: [1] #011"Gamma", default 100, current 100
May 3 15:42:16 shell motion: [1] found control 0x00980913, "Gain", range 0,2
May 3 15:42:16 shell motion: [1] #011"Gain", default 0, current 0
May 3 15:42:16 shell motion: [1] Resizing pre_capture buffer to 1 items
May 3 15:47:03 shell motion: [1] Closing video device /dev/video0
May 3 15:47:05 shell motion: [0] Motion terminating
May 3 15:47:05 shell motion: [0] Removed process id file (pid file).
Vastaukset
Vanhimmat
Ei viela vastauksia.