Hello,
i try to stream my RaspberryPi Cam v2.1 with motion, the motion server is running but when I access the HTTP (from a other computer) server I get a gray window with “unable to open video device”.
I camera is shown under /dev/video0. Is it maybe a problem with “palette format”?
this is from the motion.log file:
cap.driver: “tegra-video”
cap.card: “vi-output, imx219 6-0010”
cap.bus_info: “platform:54080000.vi:0”
cap.capabilities=0x84200001
[1:ml1] [NTC] [VID] [Nov 07 18:33:10] v4l2_get_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] [Nov 07 18:33:10] v4l2_get_capability: - STREAMING
[1:ml1] [NTC] [VID] [Nov 07 18:33:10] v4l2_select_input: name = “Camera 0”, type 0x00000002, status 00000001
[1:ml1] [NTC] [VID] [Nov 07 18:33:10] v4l2_select_input: - CAMERA
[1:ml1] [WRN] [VID] [Nov 07 18:33:10] v4l2_select_input: Device doesn’t support VIDIOC_G_STD
[1:ml1] [NTC] [VID] [Nov 07 18:33:10] v4l2_set_pix_format: Config palette index 17 (YU12) doesn’t work.
[1:ml1] [NTC] [VID] [Nov 07 18:33:10] v4l2_set_pix_format: Supported palettes:
[1:ml1] [NTC] [VID] [Nov 07 18:33:10] v4l2_set_pix_format: (0) RG10 (10-bit Bayer RGRG/GBGB)
[1:ml1] [NTC] [VID] [Nov 07 18:33:10] v4l2_set_pix_format: 0 - 10-bit Bayer RGRG/GBGB (compressed : 0) (0x30314752)
[1:ml1] [ERR] [VID] [Nov 07 18:33:10] v4l2_set_pix_format: Unable to find a compatible palette format.
[1:ml1] [NTC] [VID] [Nov 07 18:33:10] vid_v4lx_start: Using V4L1
[1:ml1] [ERR] [ALL] [Nov 07 18:33:10] motion_loop: Video device fatal error - Closing video device
[1:ml1] [NTC] [VID] [Nov 07 18:33:10] vid_close: Closing video device /dev/video0