How to close gstreamer pipeline in python

Hi AgallenSMX,

Below command can get video preview and can be closed properly with Ctr + C. The same as the command in your comment#6.

gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=(int)3280, height=(int)2464'  ! nvvidconv flip-method=0 ! 'video/x-raw, format=(string)I420' ! xvimagesink -e

Can this fix the “pipeline-close” issue?

BTW, we have an ISP file for our IMX219 module in case you need it. You should be able to get better image quality with this file.

https://www.dropbox.com/s/ougz816496m4ilw/camera_overrides.isp?dl=0

Please copy camera_overrides.isp to /var/nvidia/nvcam/settings and do below commands to install the ISP file.

sudo chmod 664 /var/nvidia/nvcam/settings/camera_overrides.isp
sudo chown root:root /var/nvidia/nvcam/settings/camera_overrides.isp