Openvino MFX:不支持的扩展名:rtsp://cris:pass@192.167.1.175:444/live/ch0,Ubuntu

Openvino MFX: Unsupported extension: rtsp://cris:pass@192.167.1.175:444/live/ch0 , Ubuntu

嗨,我 运行ning python Ubuntu 20.04.1 LTS 上的 Opencv 运动检测脚本在 运行ning [=13= 之后工作正常] 如果我 运行 使用 OpenVINO 2021.2.185 然后我得到 Openvino MFX: Unsupported extension: rtsp://cris:pass@192.167.1.175:444/live/ch0 如果我将它从 IP 摄像机 src='rtsp://cris:pass@192.167.1.175:444/live/ch0' 更改为网络摄像头 src=0 那么一切正常。

你能帮帮我吗??

错误如下

[ WARN:0] global ../opencv/modules/videoio/src/cap_gstreamer.cpp (1766) handleMessage OpenCV | GStreamer warning: your GStreamer installation is missing a required plugin
[ WARN:0] global ../opencv/modules/videoio/src/cap_gstreamer.cpp (1781) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module uridecodebin0 reported: No URI handler implemented for "rtsp".
[ WARN:0] global ../opencv/modules/videoio/src/cap_gstreamer.cpp (909) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global ../opencv/modules/videoio/src/cap_gstreamer.cpp (501) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
libva info: VA-API version 1.8.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
MFX: Unsupported extension: rtsp://cris:pass@192.167.1.175:444/live/ch0
[ WARN:0] global ../opencv/modules/videoio/src/cap_gstreamer.cpp (1601) open OpenCV | GStreamer warning: cannot link elements
libva info: VA-API version 1.8.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
MFX: Unsupported FourCC: XVID (0x44495658)
[ERROR:0] global ../opencv/modules/videoio/src/cap.cpp (561) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.5.1-openvino) ../opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): video.avi in function 'icvExtractPattern'

您可以参考 here 解决此问题[ WARN:0] 全局 ../opencv/modules/videoio/src/cap_gstreamer.cpp (1766) handleMessage OpenCV | GStreamer 警告:您的 GStreamer 安装缺少必需的插件

接下来Openvino MFX报错:Unsupported extension: rtsp://cris:pass@192.167.1.175:444/live/ch0,请参考这个thread