iMX6Q camera gstream error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6Q camera gstream error

1,441 Views
shlomiperlman
Contributor II

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!

Labels (4)
0 Kudos
5 Replies

886 Views
kubiznak_petr
Contributor V

Hi shlomi,

I don't suppose anyone can answer your question without providing more detailed information. Mainly:

  • Camera type
  • Used application (gst-launch or anything else?)
  • GStreamer pipeline

Generally I'd guess your pipeline is invalid. If using a USB camera, did you try to launch it on PC?

0 Kudos

886 Views
shlomiperlman
Contributor II

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.

0 Kudos

886 Views
igorpadykov
NXP Employee
NXP Employee

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!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

886 Views
shlomiperlman
Contributor II

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,

0 Kudos

886 Views
igorpadykov
NXP Employee
NXP Employee

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

0 Kudos