Merge sensors into one side by side stream

Is there a simple way to merge two sensors/cameras into one stream side by side in GStreamer

I know you can do it by composing stream in gstreamer, but I would like to do it closer to the camera source. Mainly by performance and simplicity reasons.

Hi,
We suggest use nvcompositor plugin. Please refer to

Or you may download source code of nvarguscamerasrc and do customization. By default is is single source capture and you can modify it to multi-source capture and call NvBuffer APIs for composition.