the failed message is :
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
EOS on shutdown enabled – waiting for EOS after Error
Waiting for EOS…
New clock: GstSystemClock
Let me add the background information:
my carmera is without ISP. but I don’t konw this. Therefore the image type I configured for the first time was yuv format, executing the gst-lanuch command and displaying a green screen. So I later changed the image type to RG12. But it report a failed message, as shown above.
Hi,
The v4l2src plugin does not support Bayer format such as RG10, RG12. Would suggest check with the camera vendor to see if they have sensor driver and device tree for using ISP engine in Orin.
Not sure if you get the camera from our camera partner. May share brand and model ID of the camera for reference.
hi DaneLLL, my camera is senyun ox5bir without isp. I can now use the i2ctransfer tools read/write serDes and sensor register. I think the current link is open. However, when I run webcam with gst-lanch command, the green screen is displayed, because the image output format I configured is yuv, so I think this is the reason for the green screen, because the sensor outputs the raw data. That’s why I want it to output image data in RG12 format. If orin does not support RG12 image data, is there any way I can get a grayscale image when I configure the data format to yuv?
If you have to use the camera, a possible solution is to capture frame data into CUDA buffer, and implement debayering code to debayer frame data from Bayer to YUV. There is no existing implementation, and you would need to implement the whole software stack.
But now there is another situation that when I set the format to yuv, running the gst-lanuch command will get a green screen. Now I want to get the grayscale image by setting the value of UV and Y, is there anything you can help me?