[1] Failed to open video device /dev/video0: Permission denied
[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] Started stream webcam server in port 8081
[1] Retrying until successful connection with camera
[1] Failed to open video device /dev/video0: Permission denied
[1] Retrying until successful connection with camera
[1] Failed to open video device /dev/video0: Permission denied
[1] Retrying until successful connection with camera
[1] cap.driver: "uvcvideo"
[1] cap.card: "USB 2.0 Camera"
[1] cap.bus_info: "usb-0000:00:1d.7-3"
[1] cap.capabilities=0x84000001
[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] Selected palette YUYV
[1] Test palette YUYV (640x480)
[1] Using palette YUYV (640x480) bytesperlines 1280 sizeimage 614400 colorspace 00000008
[1] found control 0x00980900, "Brightness", range -64,64
[1] "Brightness", default 2, current 2
[1] found control 0x00980901, "Contrast", range 0,64
[1] "Contrast", default 36, current 36
[1] found control 0x00980902, "Saturation", range 1,128
[1] "Saturation", default 90, current 90
[1] found control 0x00980903, "Hue", range -40,40
[1] "Hue", default 5, current 5
[1] found control 0x00980910, "Gamma", range 72,500
[1] "Gamma", default 77, current 77
[1] found control 0x00980913, "Gain", range 0,100
[1] "Gain", default 0, current 0
[1] mmap information:
[1] frames=4
[1] 0 length=614400
[1] 1 length=614400
[1] 2 length=614400
[1] 3 length=614400
[1] Using V4L2