Multi-camera playback command

Hi everyone:
We have a custom carrier board that uses csi0 2lane and csi4 4lane, and each camera can be played individually using nvgstcapture-1.0. Please guide me how to specify the command to play a specific camera, or the command to play simultaneously on both cameras.

Best regards!

You can choose a specific camera using nvgstcapture when you supply the --sensor-id argument. See nvgstcapture --help for more information.

nvgstcapture --sensor-id=1

You can display multiple cameras using gst-launch-1.0. It gets complicated quickly but the key is scaling and moving the video so camera0 doesn’t overlap camera1. Use gst-inspect-1.0 nvoverlaysink to see more information. You can use overlay-x, overlay-y, overlay-w, and overlay-h to place video streams where you need them.