can't build OpenCV + GStreamer correctly (MinGW, Windows)

asked 2019-07-10 17:46:59 -0600

bronstein87 gravatar image

I'm trying to run test pipeline:

 cv::VideoCapture cap(" videotestsrc ! videoconvert ! appsink0", cv::CAP_GSTREAMER);

But it doesn't start and return next debug info (see below). I compiled opencv using mingw32 7.3.0. Version of Gstreamer is also 32bit. What can be wrong? win7, opencv 4.1.0.

0:00:00.040498363  6904   1F44A7C0 WARN      GST_PLUGIN_LOADING gstplugin.c:793:_priv_gst_plugin_load_file_for_registry: module_open failed: 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstdecklink.dll': Не найдена указанная процедура.

    (untitled2.exe:6904): GStreamer-WARNING **: 02:29:33.412: Failed to load plugin 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstdecklink.dll': 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstdecklink.dll': Не найдена указанная процедура.
    0:00:00.061620856  6904   1F44A7C0 WARN      GST_PLUGIN_LOADING gstplugin.c:793:_priv_gst_plugin_load_file_for_registry: module_open failed: 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstopenh264.dll': Не найдена указанная процедура.

    (untitled2.exe:6904): GStreamer-WARNING **: 02:29:33.432: Failed to load plugin 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstopenh264.dll': 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstopenh264.dll': Не найдена указанная процедура.
    0:00:00.072668621  6904   1F44A7C0 WARN      GST_PLUGIN_LOADING gstplugin.c:793:_priv_gst_plugin_load_file_for_registry: module_open failed: 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstsoundtouch.dll': Не найдена указанная процедура.

    (untitled2.exe:6904): GStreamer-WARNING **: 02:29:33.442: Failed to load plugin 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstsoundtouch.dll': 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstsoundtouch.dll': Не найдена указанная процедура.
    0:00:00.088487674  6904   1F44A7C0 WARN      GST_PLUGIN_LOADING gstplugin.c:793:_priv_gst_plugin_load_file_for_registry: module_open failed: 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstsrt.dll': Не найдена указанная процедура.

    (untitled2.exe:6904): GStreamer-WARNING **: 02:29:33.465: Failed to load plugin 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstsrt.dll': 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstsrt.dll': Не найдена указанная процедура.
    0:00:00.089972159  6904   1F44A7C0 WARN      GST_PLUGIN_LOADING gstplugin.c:793:_priv_gst_plugin_load_file_for_registry: module_open failed: 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgsttaglib.dll': Не найдена указанная процедура.

    (untitled2.exe:6904): GStreamer-WARNING **: 02:29:33.465: Failed to load plugin 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgsttaglib.dll': 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgsttaglib.dll': Не найдена указанная процедура.
    0:00:00.097988553  6904   1F44A7C0 WARN      GST_PLUGIN_LOADING gstplugin.c:793:_priv_gst_plugin_load_file_for_registry: module_open failed: 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstwebrtcdsp.dll': Не найдена указанная процедура.

    (untitled2.exe:6904): GStreamer-WARNING **: 02:29:33.475: Failed to load plugin 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstwebrtcdsp.dll': 'E:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstwebrtcdsp.dll': Не найдена указанная процедура.
    0:00:00.107822720  6904   1F44A7C0 WARN                 filesrc gstfilesrc.c:533:gst_file_src_start:<source> error: No such file "C:\Users\Shmeisser\Documents\build-untitled2-Desktop_Qt_5_9_4_MinGW_32bit-Debug\ autovideosrc ! videoconvert ...
(more)
edit retag flag offensive close merge delete