Freescale / gstreamer-imx

GStreamer 1.0 plugins for i.MX platforms
Other
184 stars 127 forks source link

Added ov5645 mipi camera #312

Closed Donnyp751 closed 1 year ago

Donnyp751 commented 1 year ago

I added the OV5645 MIPI camera so it wouldn't get caught by the unrecognized case and fail to start. I was getting the error below upon startup of a pipeline using the imxv4l2videosrc on a imx6. Adding the chip_identifier for the 5645 resolved this error on my system.

0:00:05.862029001 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:199:gst_imx_v4l2_context_probe_device: device node: [/dev/video0] 0:00:05.862532668 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:200:gst_imx_v4l2_context_probe_device: driver: [mxc_v4l2] 0:00:05.863191668 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:201:gst_imx_v4l2_context_probe_device: card: [] 0:00:05.863577334 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:202:gst_imx_v4l2_context_probe_device: bus info: [] 0:00:05.864307668 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:203:gst_imx_v4l2_context_probe_device: driver version: 0.1.11 0:00:05.864690001 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:207:gst_imx_v4l2_context_probe_device: available capabilities of physical device: 0:00:05.865062334 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:1106:log_capabilities: V4L2_CAP_VIDEO_CAPTURE 0:00:05.865416668 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:1112:log_capabilities: V4L2_CAP_VIDEO_OVERLAY 0:00:05.865782668 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:1131:log_capabilities: V4L2_CAP_READWRITE 0:00:05.865955668 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:1133:log_capabilities: V4L2_CAP_STREAMING 0:00:05.866315001 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:216:gst_imx_v4l2_context_probe_device: no capabilities of opened device set 0:00:05.867018334 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:236:gst_imx_v4l2_context_probe_device: chip identifier: [ov5645_mipi_camera] 0:00:05.867406668 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:255:gst_imx_v4l2_context_probe_device: unrecognized mxc_v4l2 based capture chip 0:00:05.867780334 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:554:probe_device_caps: enumerating supported V4L2 pixel formats 0:00:05.868152334 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:589:probe_device_caps: format index: 0 0:00:05.868517001 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:590:probe_device_caps: flags: 00000000 0:00:05.868868001 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:591:probe_device_caps: description: 'I420' 0:00:05.869252001 16190 0x246e00 DEBUG imxv4l2context gstimxv4l2context.c:592:probe_device_caps: pixel format fourCC: YU12 0:00:05.869671001 16190 0x246e00 ERROR imxv4l2context gstimxv4l2context.c:779:probe_device_caps: got unknown size type 0 while trying to get frame sizes for V4L2 pixelformat YU12 0:00:05.976989668 16190 0x246e00 DEBUG basesrc gstbasesrc.c:3553:gst_base_src_start: could not start 0:00:05.977518001 16190 0x246e00 WARN basesrc gstbasesrc.c:3557:gst_base_src_start: error: Failed to start

dv1 commented 1 year ago

Thanks!