|
- >>> vc = cv2.VideoCapture('test.mp4')
- Failed to query video capabilities: Inappropriate ioctl for device
- libv4l2: error getting capabilities: Inappropriate ioctl for device
- VIDEOIO ERROR: V4L: device test.mp4: Unable to query number of channels
- OpenCV(3.4.1) Error: Unspecified error (GStreamer: your gstreamer installation is missing a required plugin
- ) in handlemessage, file /builddir/build/BUILD/opencv-3.4.1/modules/videoio/src/cap_gstreamer.cpp, line 1869
- VIDEOIO(cvCreateCapture_GStreamer (CV_CAP_GSTREAMER_FILE, filename)): raised OpenCV exception:
- OpenCV(3.4.1) /builddir/build/BUILD/opencv-3.4.1/modules/videoio/src/cap_gstreamer.cpp:1869: error: (-2) GStreamer: your gstreamer installation is missing a required plugin
- in function handlemessage
同样情况,opencv是通过dnf安装的:
- dnf install python3-opencv
|
|