How to capure multi-camera in one progress

Hi,
You can use nvcompositor plugin to composite the 4 sources into single video plane. Please refer to the topic:
Gst for merging 4 webcams sometimes works, and sometimes it doesn't