Unable to stream cam with Motion

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

hello Zedezz,

may I know what’s your use-case.
for example, would you like to stream the camera preview frame from Nano platform through ethernet to your remote setup?
thanks

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Hi Zedezz,

Have you managed to get issue resolved? Any result can be shared?

Thanks