Recording two camera streams into one video file


I need to take streams from two cameras (on the camera port) and join them horizontally into one stream and record it to H264/5. I don’t need to stitch or match or anything complicated, just place them side by side as they are.

It would also be good if I can do a known horizontal unwarp on each stream prior to the latter process…

Can anyone offer any suggestions?

Thanks in advance.

tegra_multimedia_api and gstreamer are two software stacks on Jetson platform. Please check the documents:

You can call NvBufferComposite() in tegra_multimedia_api, or use nvcompositor plugins in gstreamer. Both can be utilized for compositing two frames into side-by-side one frame.