Issue with Camera Streaming on Jetson Xavier NX with JetPack 5.1.3

Hello,

I am streaming video from two cameras via virtual channels on a Jetson Xavier NX running JetPack 5.1.3. When I remove both cameras and reconnect them, the stream gets stuck(but note that, the moment camera connects and powered up, frames will be sending to MIPI receiver, so no need to do any configuration)

To stream I need to close the gst window and relaunch the command, both cameras start streaming again. However, if I remove one camera and reconnect it, the stream resumes without even closing and relaunching gst command.

How can I resolve this problem so that the stream continues without needing to close and reopen the gst command after removing both cameras?

Any suggestions would be greatly appreciated.

Commands used to stream:

gst-launch-1.0 v4l2src device=“/dev/video0” ! video/x-raw,width=1920,height=1080,pixelformat=UYVY ! fpsdisplaysink

gst-launch-1.0 v4l2src device=“/dev/video1” ! video/x-raw,width=1920,height=1080,pixelformat=UYVY ! fpsdisplaysink

Thank You

Hi,
When error condition occurs, you would need to terminate the current pipelines and re-launch them. In your experiment, it resumes without terminating the pipelines, but it may be in an unstable status. Doing termination and reinitialization is suggested.

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