iMX6Q camera gstream error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX6Q camera gstream error

3,672件の閲覧回数
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!

ラベル(4)
0 件の賞賛
返信
5 返答(返信)

3,117件の閲覧回数
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 件の賞賛
返信

3,117件の閲覧回数
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 件の賞賛
返信

3,115件の閲覧回数
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 件の賞賛
返信

3,115件の閲覧回数
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 件の賞賛
返信

3,115件の閲覧回数
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 件の賞賛
返信