Hi,
when i try to use gsteram im getting these errors::
(camera:236): GStreamer-CRITICAL **: gst_value_list_get_value: assertion 'index < VALUE_LIST_SIZE (value)' failed
(camera:236): GStreamer-CRITICAL **: gst_value_init_and_copy: assertion 'G_IS_VALUE (src)' failed
(camera:236): GStreamer-CRITICAL **: gst_structure_id_take_value: assertion 'G_IS_VALUE (value)' failed
they are printed endlessly on the screen and i cant get any images nor with any other application. (like cat..)
any help appreciated, thanks!
Hi shlomi,
I don't suppose anyone can answer your question without providing more detailed information. Mainly:
Generally I'd guess your pipeline is invalid. If using a USB camera, did you try to launch it on PC?
Hi,
its a camera sensor gc0309 galaxy on ipu0/csi0 and its recognized and attached as the driver loads ok (or so it seems..)
i used gst-launch-1.0 and another camera app that worked with a usb webcam for testing.
when doing cat on dev/video0 i can see raw data running on the screen.
Hi shlomi
one can check what sensor format is used: default BSP supports
only YUYV (ov5642 sensor). So for rgb565 one can look at
How to Support RGB565 Gated Mode Input to i.MX6 CSI
First recommended to try unit tests, refer to attached Linux Manual
sect.5.5.2 Video4Linux API test, Porting Guide Chapter 7 Supporting the
i.MX 6 Camera Sensor Interface CSI0
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
my sensor's default (and current) mode is YUYV but when i set
sensor->pix.pixelformat = V4L2_PIX_FMT_YUYV;
in the driver i get nothing from it, only when
sensor->pix.pixelformat = V4L2_PIX_FMT_RGB565;
is set, i'm getting the video stream..
any idea?
thanks,
one can check how many cycles per pixel outputs sensor
and compare with Table 66 Camera Input Signal Cross Reference, Format, and Bits Per Cycle
http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf
~igor