I am looking to use gstreamer to create a pipeline which takes input from 6 cameras. But I’m first taking it slow, and trying out one camera instead. Given the following command:
gst-launch-1.0 nvarguscamerasrc sensor-mode=0 ! "video/x-raw(memory:NVMM), width=(int)5328, height=(int)4512, format=(string)NV12, framerate=(fraction)15/1" ! nvvidconv ! "video/x-raw(memory:NVMM), width=(int)4096, height=(int)4096" ! filesink location=filename.mp4 -e
I haven’t been able to get it to save to file. It does display the output correctly if I ask it to display on screen with nvoverlaysink -e instead.
I would also prefer it if the final command contains the h264/h265 compression, but it might end up needing more things introduced in the pipeline in the meantime (such as cropping/stiching multiple videos into one tall video).