How to know/assign which csi camera I'm using, if I have two csi camera?

Continuing the discussion from OpenCV Video Capture with GStreamer doesn't work on ROS-melodic:

Continuing the discussion from OpenCV Video Capture with GStreamer doesn't work on ROS-melodic:

How to know/assign which csi camera I’m using, if I have two csi camera?

Hi,
Please set the property to nvarguscamerasrc:

  sensor-id           : Set the id of camera sensor to use. Default 0.
                        flags: readable, writable
                        Integer. Range: 0 - 255 Default: 0

$ gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! nvvidconv ! video/x-raw,format=I420 ! xvimagesink sync=0

it works. Thanks @DaneLLL

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.