Hello,
I have been trying to use the onboard camera on the Jetson Tx2 in my application. It is not working and I have found that the video node for the camera is not created, and I have confirmed that /dev/video0 does not exist even though the onboard camera is plugged into the camera connector on the board.
For additional information:
Using Gstreamer pipeline:
"nvarguscamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720,
format=(string)NV12, framerate=(fraction)60/1 ! nvvidconv !
video/x-raw, width=(int)1280, height=(int)720, format=(string)BGRx !
queue max-size-buffers=1 leaky=downstream !
videoconvert ! video/x-raw, format=(string)BGR ! appsink sync=false "
Returns : “Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:521 No cameras available”
While using the same pipeline but instead with nvcamerasrc, it returns:
"(python3:12182): GStreamer-CRITICAL **: 23:09:00.682:
Trying to dispose element capsfilter1, but it is in PAUSED instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(python3:12182): GStreamer-CRITICAL **: 23:09:00.683:
Trying to dispose element capsfilter0, but it is in PAUSED instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(python3:12182): GStreamer-CRITICAL **: 23:09:00.684:
Trying to dispose element videoconvert0, but it is in PAUSED instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(python3:12182): GStreamer-CRITICAL **: 23:09:00.684:
Trying to dispose element queue0, but it is in PAUSED instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(python3:12182): GStreamer-CRITICAL **: 23:09:00.684:
Trying to dispose element nvvconv0, but it is in PAUSED instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(python3:12182): GStreamer-CRITICAL **: 23:09:00.685:
Trying to dispose element pipeline0, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
OpenCV Error: Unspecified error (GStreamer: unable to start pipeline
) in cvCaptureFromCAM_GStreamer, file /home/nvidia/build_opencv/opencv/modules/videoio/src/cap_gstreamer.cpp, line 887
VIDEOIO(cvCreateCapture_GStreamer (CV_CAP_GSTREAMER_FILE, filename)): raised OpenCV exception:
/home/nvidia/build_opencv/opencv/modules/videoio/src/cap_gstreamer.cpp:887: error: (-2) GStreamer: unable to start pipeline
in function cvCaptureFromCAM_GStreamer"
Only once the program is forcefully stopped.
I believe the error may lie mostly in the fact that /dev/video0 does not exist. So my question is what the reason for this could be, is it a hardware issue?
Thank you.