Jetson uses opencv and gstreamer to call the csi camera to report an error: [WARN:0] | GStreamer warning: Cannot query video position:

[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (933) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1

A similar warning is basically a problem

Just add a parameter to VideoCapture

cap = VideoCapture(0, cv.CAP_V4L2)

Guess you like

Origin blog.csdn.net/Yvon_L/article/details/130134094