Use libargus Application to open the camera

Hi all,
We have an CSI camea imx219, the way we open it now is through gstreamer+nvarguscamerasrc, the command is:

    gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=(string)NV12, 
    framerate=(fraction)30/1' ! nvoverlaysink -e

However, our test found that the camera display has a longer delay, so I would like to ask how to open the camera and play video through the libargus Application channel? Are there any related commands under Linux?

If there is no related command,so is there any sample code for opening and playing the camera?


Have a reference to mmapi sample code.

sudo apt list -a nvidia-l4t-jetson-multimedia-api
sudo apt install nvidia-l4t-jetson-multimedia-api=32.xxxxxx