Table of content
Using MIPI CSI-2 cameras with the Spacely carrier can be done with Gstreamer. The following guide will outline how the CSI-2 lanes in Ubuntu map the physical connectors on our carriers. The “sensor-id” column of the tables details which CSI-2 lane corresponds to the camera connector label indicated on the PCB silkscreen.Note: Many of the commands shown in this guide will require you to be the root user or to use sudo
MIPI CSI-2 TX1 Reference Table
MIPI CSI-2 TX2 Reference Table
Using Gstreamer pipeline
The following code segment can be used for IMX274/IMX185 camera as an input source by replacing “sensor-id=0” with your desired sensor id number. If you are using a different camera, this code can be used as a template.
gst-launch-1.0 nvcamerasrc sensor-id=0 ! “video/x-raw(memory:NVMM),height=1080, width=1920, format=I420, framerate=60/1” ! nvvidconv ! xvimagesink -ev &