i have a project with a OV2740 at IMX8M PLUS platform. OV2740's output format is RAW10. actually i have successfully finished the driver development. i can use v4l2 commands to capture images well. but i can't put the sensor's video stream on screen. i want to display the sensor video stream on screen in real time. how can i do that?
Solved! Go to Solution.
Hi @fengyus
Your issue is that you have connected your sensor only to ISI which only outputs RAW10(BGGR).
RAW10(BGGR) cannot be displayed unless you process it via ISP first. This is because this is Raw bayer format.
You need to also activate ISP in device tree and setup the ISP pipeline as described in iMX8MP_CAMERA_DISPLAY_GUIDE.pdf
ISP will convert RAW10(BGGR) to YUYV (which is YUV 4:2:2). This is input to all pipelines described in i.MX8GStreamerUserGuide.pdf (sent previously)
After that you should see two devices in /dev:
/dev/video0 and /dev/video1
Hi @fengyus
Your issue is that you have connected your sensor only to ISI which only outputs RAW10(BGGR).
RAW10(BGGR) cannot be displayed unless you process it via ISP first. This is because this is Raw bayer format.
You need to also activate ISP in device tree and setup the ISP pipeline as described in iMX8MP_CAMERA_DISPLAY_GUIDE.pdf
ISP will convert RAW10(BGGR) to YUYV (which is YUV 4:2:2). This is input to all pipelines described in i.MX8GStreamerUserGuide.pdf (sent previously)
After that you should see two devices in /dev:
/dev/video0 and /dev/video1
yes it is. thanks a lot.
Hello @fengyus
You can refer to GStreamer User guide (see attached) in chapter 6.
There is explained how to stream a video from a camera device.
Best regards,
Salas.
Hi Alejandro_Salas:
when i run "gst-device-monitor-1.0", i get my device as below:
as you can see, gstreamer think the format of my sensor is YUY2、NV12、BGRA、BGRX、BGR or RGB16. but in fact, my format should be RAW10(BGGR). in v4l2 commands, it should be BG10. how can i make gstreamer find my right format?