@craig Yes, I want to get out more from the hardware acceleration.
I built the opencv with gstreamer support and nickel110’s OpenCV example works fine, so I think that’s not the problem. (only the nvdec pipeline crashes)
I tried what you posted
VideoCapture cap("thetauvcsrc ! nvdec ! autovideoconvert ! video/x-raw,format=BGRx ! queue ! videoconvert ! video/x-raw,format=BGR ! queue ! glimagesink");
but I get this:
E0601 09:44:33.237895273 9936 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies
[ WARN:0@9.437] global /home/david/develop/opencv/modules/videoio/src/cap_gstreamer.cpp (1226) open OpenCV | GStreamer warning: cannot find appsink in manual pipeline
[ WARN:0@9.437] global /home/david/develop/opencv/modules/videoio/src/cap_gstreamer.cpp (862) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
[ERROR:0@9.442] global /home/david/develop/opencv/modules/videoio/src/cap.cpp (164) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.5.5-dev) /home/david/develop/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): thetauvcsrc mode=4K ! nvdec ! autovideoconvert ! video/x-raw,format=BGRx ! queue ! videoconvert ! video/x-raw,format=BGR ! queue ! glimagesink in function 'icvExtractPattern'