I am creating a c++ program and need to capture a single still image from a camera. I have tried using gstreamer and am running into issues and was wondering if anyone knew how to use nvgstcapture-1.0 to capture a single image at a certain file location without showing the preview display. It would be nice to have this all in just a single command.
The camera is not a V4l device but will capture correctly using the following command:
nvgstcapture-1.0 --prev-res=5 --image-res=12 j