OV5645 issue for Gstreamer

ov5645 connect to CSI1

Pipeline setting as follows :

sudo media-ctl -d /dev/media0 -l ‘“msm_csiphy1”:1->“msm_csid0”:0[1],“msm_csid0”:1->“msm_ispif0”:0[1],“msm_ispif0”:1->“msm_vfe0_rdi0”:0[1]’

sudo media-ctl -d /dev/media0 -V ‘“ov5645 4-0078”:0[fmt:UYVY8_2X8/1280x960 field:none],“msm_csiphy1”:0[fmt:UYVY8_2X8/1280x960 field:none],“msm_csid0”:0[fmt:UYVY8_2X8/1280x960 field:none],“msm_ispif0”:0[fmt:UYVY8_2X8/1280x960 field:none],“msm_vfe0_rdi0”:0[fmt:UYVY8_2X8/1280x960 field:none]’

Program execution is as follows:

linaro@linaro-alip:~$ gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! ‘video/x-raw,format=UYVY,width=1280,height=960’ ! jpegenc ! filesink location=image01.jpg

Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock

========================================================
====> then Program stopped and image01.jpg no image
Can you tell us why?

Could you please indicate which board, mezzanine and os/release you are using ?

You try to ‘connect’ the CSI 1 to the CSID 0 which is AFAIK not possible. You should apply the following configuration:

sudo media-ctl -d /dev/media0 -l '"msm_csiphy1":1->"msm_csid1":0[1],"msm_csid1":1->"msm_ispif1":0[1],"msm_ispif1":1->"msm_vfe0_rdi1":0[1]'

sensor board layout by myself.
Please refer to the picture

OS use linaro debian 17.09
http://releases.linaro.org/96boards/dragonboard410c/linaro/debian/17.09/

We tried your method. The result is the same.
Do you have any other ideas?

Thank you for your reply.