How to capture video using gst-launch-1.0?

Hi,
Please take a look at
Capturing a video MP4 from Xavier AGX direct sensor (RAW)