Basic camera usage

This page provides a basic overview on the fpc/ffc-connection over CSI to the Carrierboard and basic camera streaming

How to connect

Most of carrierboards are using a 22-Pin FPC/FFC connector. The images below are showing the camera connection for the Raspberry PI IMX219 camera on a JNX30 Carrierboard using a 15- to 22-Pin adapter .

In case your camera uses a different connector you may want to take a look at our shop for available camera adapters.

Camera Capture

The following gstreamer pipelines are optimized for the Raspberry PI IMX219 and might not work with a different camera. If you don't know what you are doing, you may speak to your camera supplier for more information

The parameter sensor-id= describes the camera target. This id can be found by using ls /dev/. If the camera correctly plugged in then there should be a device called /dev/videoX, where X is the camera id.

All pipelines listed below are using the NVIDIA accelerated Argus GStreamer-plugins to make use of the NVIDIA Jetson specific hardware components

Common properties

PropertyDescription

sensor-id

Video device number

width

Requested video width

height

Requested video height

format

Video stream format, this value depends on the camera sensor that is used. You should contact your camera vendor for the value that should be used here

framerate

Defines captured frames for a given time frame (Example: 30/1 would be 30 frames each second -> frames/time)

num-buffers

Amount of frames that should be captured

Capture examples

stream.sh
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)30/1' ! nvvidconv ! queue ! xvimagesink

Last updated