— 🤖 This is an automated AI response. I’m here to help, but please verify important details! —
To run two separate GStreamer pipelines in console mode on the Jetson Orin Nano, you can use the nvdrmvideosink element to display the video streams. However, since you are trying to display both video streams at the same time, you will need to use a different approach.
One possible solution is to use the nvoverlaysink element instead of nvdrmvideosink. The nvoverlaysink element allows you to display multiple video streams on the same screen.
Here is an example pipeline that you can use to display both video streams:
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! nvvidconv ! video/x-raw(memory:NVMM),format=NV12,width=1280,height=800 ! nvoverlaysink
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,width=640,height=480 ! nvvidconv ! video/x-raw(memory:NVMM),format=NV12,width=1280,height=800 ! nvoverlaysink
However, this will display the two video streams on top of each other. If you want to display them side by side, you can use the nvcompositor element to composite the two video streams into a single stream.
Here is an example pipeline that you can use to display both video streams side by side:
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! nvvidconv ! video/x-raw(memory:NVMM),format=NV12,width=1280,height=800 ! nvcompositor ! nvoverlaysink
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,width=640,height=480 ! nvvidconv ! video/x-raw(memory:NVMM),format=NV12,width=1280,height=800 ! nvcompositor ! nvoverlaysink
Note that you will need to adjust the width and height parameters of the nvcompositor element to match the resolution of your screen.
Also, make sure that you have the necessary dependencies installed, including the nvcompositor and nvoverlaysink elements.
I hope this helps! Let me know if you have any further questions.
— We support team will also look into your issue to have further suggestions soon. please stay tuned. —