I am trying to use the TX2 onboard camera with opencv using the pipeline:
“nvcamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)I420,
framerate=(fraction)24/1 ! nvvidconv flip-method=6 ! video/x-raw, format=(string)I420 !
videoconvert ! video/x-raw, format=(string)BGR ! appsink”
But I get the below error while running the program or by directly running the gstreamer in terminal,
nvidia@tegra-ubuntu:~$ gst-launch-1.0 nvcamerasrc ! ‘video/x-raw(memory:NVMM), width=640, height=480, framerate=30/1, format=NV12’ ! nvvidconv flip-method=2 ! nvoverlaysink -e
Setting pipeline to PAUSED …
To verify the camera drivers are functional, I tried running nvgstcapture-1.0 in terminal and the camera works fine.
It would be helpful if someone could help me understand what could cause pipeline to be paused.
Any help to resolve this problem would be appreciated.
Thanks in advance