I'm trying now to fix this bug for a few days and nothing is going forward.. I want to acces the camera of my Nvidia Jetson Tx2 with OpenCV and GStreamer.
(java:7468): GStreamer-CRITICAL **:gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
Videocapture cap = new VideoCapture();
cap.open("nvcamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height=
(int)720, format=(string)I420, framerate=(fraction)120/1 ! nvvidconv flip-
method=2 ! video/x-raw, format=(string)I420 ! videoconvert ! video/x-raw, format=
(string)BGR ! appsink");
cap.read(...
This pipeline worked great, but as I started my Jetson a few days ago it gave me this error. Maybe because I updated something... I don't know
Information
Nvidia Jetson TX2
Ubuntu 16.04
OpenCV 3.4.2
Java 1.8
GStreamer + plugins installed
Tried to rebuild OpenCV but nothing helped
Does anyone know how to solve this problem?