How to Capture RAW sensor frames using gstreamer

Hello!

How can I capture pure raw frames using gstreamer i.e., before passing the captured frame from the ISP. In my case I’m on jetson Xavier NX with a imx219 sensor. It has the output format of RG10 (RGGB 10 bit raw frame). The gstreamer application passes the frame from the jetson board builtin ISP. I want to skip the ISP entirely. Is there a way to do so? Currently I’m using the following command:

gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM),width=1920,height=1080,framerate=20/1’ ! nvvidconv ! ‘video/x-raw,format=I420’ ! xvimagesink -e

Just for reference: I’ve developed a software ISP which takes in raw frames and outputs debayer RGB images. I am able to capture raw frames using v4l2 and nvargus but I want to use gstreamer as in the case of gstreamer I will not have to manage rest of the code required for performance i.e., all the different threads and their queues (capture, display etc.). I’ll just plugin my ISP after capture and gstreamer will automatically handle the rest.

Not sure if I correctly understand your case, though maybe the following topic could help: