Stereo Camera

I am currently working on a project that uses stereo camera (IMX 219-83) and the Jetson Nano DevKit. I would like to record the camera output (preferably uncompressed) to a file. I am able to record the output of each sensor individually using gstreamer to an mpeg4 file. Can you please suggest how to synchronize between the two sensors and record them simultaneously? Or is there a way to sync the two videos after recording? Also, what are some uncompressed formats that I can use for recording videos for computer vision applications?

Your camera need HW sync design and need below software to sync.