<div dir="ltr"><span style="color:rgb(75,75,75);font-family:Arial;font-size:14px">I built opencv+gstreamer and now i'm trying to run pipeline using next code:</span> <div><br></div><pre class="gmail-prettyprint" style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:12.025px;margin-top:0px;margin-bottom:18px;background-color:rgb(245,245,245);padding:2px;color:rgb(51,51,51);border-radius:4px;line-height:18px;border:1px solid rgb(136,136,136);white-space:pre-wrap;word-break:break-all;clear:both"><code style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;padding:0px;color:inherit;border-radius:3px;background-color:transparent;border:0px;clear:both"><span class="gmail-pln" style="color:rgb(0,0,0)">cv</span><span class="gmail-pun" style="color:rgb(102,102,0)">::</span><span class="gmail-typ" style="color:rgb(102,0,102)">VideoCapture</span><span class="gmail-pln" style="color:rgb(0,0,0)"> cap</span><span class="gmail-pun" style="color:rgb(102,102,0)">(</span><span class="gmail-str" style="color:rgb(0,136,0)">"udpsrc port=5000 ! application/x-rtp,media=video, payload=26,encoding-name=JPEG,framerate=30/1 ! rtpjpegdepay ! jpegdec ! videoconvert ! appsink"</span><span class="gmail-pun" style="color:rgb(102,102,0)">,</span><span class="gmail-pln" style="color:rgb(0,0,0)"> </span></code>cv<span class="gmail-pun" style="background-color:transparent;font-size:12px;color:rgb(102,102,0)">::</span><span class="gmail-pln" style="background-color:transparent;font-size:12px;color:rgb(0,0,0)">CAP_GSTREAMER</span><span class="gmail-pun" style="background-color:transparent;font-size:12px;color:rgb(102,102,0)">);</span><span style="background-color:rgb(255,255,255);font-family:Arial,Helvetica,sans-serif;font-size:small;color:rgb(34,34,34)"> </span></pre><div><span style="color:rgb(75,75,75);font-family:Arial;font-size:14px">But it don't work and GST_DEBUG gives me next verbose (there are just WARNS):</span><br></div><div><pre style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:12.025px;margin-top:0px;margin-bottom:9px;background-color:rgb(245,245,245);padding:8.5px;color:rgb(51,51,51);border-radius:4px;line-height:18px;border:1px solid rgba(0,0,0,0.15);white-space:pre-wrap;word-break:break-all;clear:both"><code style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;padding:0px;color:inherit;border-radius:3px;background-color:transparent;border:0px;clear:both">0:00:00.091552122  6712   00482000 WARN                 filesrc gstfilesrc.c:533:gst_file_src_start:<source> error: No such file "C:\Users\Yumatov\Documents\build-testgstopencv-Desktop_Qt_5_12_2_MinGW_32_bit-Debug\udpsrc port=5000 ! application\x-rtp,media=video, payload=26,encoding-name=JPEG,framerate=30\1 ! rtpjpegdepay ! jpegdec ! videoconvert ! appsink"
       0:00:00.091614363  6712   00482000 INFO        GST_ERROR_SYSTEM gstelement.c:2141:gst_element_message_full_with_details:<source> posting message: Resource not found.
        0:00:00.091671639  6712   00482000 INFO        GST_ERROR_SYSTEM gstelement.c:2168:gst_element_message_full_with_details:<source> posted error message: Resource not found.
        0:00:00.091719644  6712   00482000 WARN                 basesrc gstbasesrc.c:3469:gst_base_src_start:<source> error: Failed to start
    0:00:00.093382284  6712   00482000 INFO                 filesrc gstfilesrc.c:468:gst_file_src_start:<source> opening file C:\Users\Yumatov\Documents\build-testgstopencv-Desktop_Qt_5_12_2_MinGW_32_bit-Debug\udpsrc port=5000 ! application\x-rtp,media=video, payload=26,encoding-name=JPEG,framerate=30\1 ! rtpjpegdepay ! jpegdec ! videoconvert ! appsink
    0:00:00.093470680  6712   00482000 WARN                 filesrc gstfilesrc.c:533:gst_file_src_start:<source>

 error: No such file "C:\Users\Yumatov\Documents\build-testgstopencv-Desktop_Qt_5_12_2_MinGW_32_bit-Debug\udpsrc port=5000 ! application\x-rtp,media=video, payload=26,encoding-name=JPEG,framerate=30\1 ! rtpjpegdepay ! jpegdec ! videoconvert ! appsink"

0:00:00.093608736  6712   00482000 INFO        GST_ERROR_SYSTEM gstelement.c:2141:gst_element_message_full_with_details:<source> posting message: Resource not found.
0:00:00.093666674  6712   00482000 INFO        GST_ERROR_SYSTEM gstelement.c:2168:gst_element_message_full_with_details:<source> posted error me

ssage: Resource not found.
0:00:00.093716666  6712   00482000 WARN                 basesrc gstbasesrc.c:3469:gst_base_src_start:<source> error: Failed to start
0:00:00.093772286  6712   00482000 INFO        GST_ERROR_SYSTEM gstelement.c:2141:gst_element_message_full_with_details:<source> posting message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
0:00:00.093825588  6712   00482000 INFO        GST_ERROR_SYSTEM gstelement.c:2168:gst_element_message_full_with_details:<source> posted error message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Desktop_Qt_5_12_2_MinGW_32_bit-Debug\udpsrc port=5000 ! application\x-rtp,media=video, payload=26,encoding-name=JPEG,framerate=30\1 ! rtpjpegdepay ! jpegdec ! videoconvert ! appsink
0:00:00.094257636  6712   00482000 WARN                 filesrc gstfilesrc.c:533:gst_file_src_start:<source> error: No such file "C:\Users\Yumatov\Documents\build-testgstopencv-Desktop_Qt_5_12_2_MinGW_32_bit-Debug\udpsrc port=5000 ! application\x-rtp,media=video, payload=26,encoding-name=JPEG,framerate=30\1 ! rtpjpegdepay ! jpegdec ! videoconvert ! appsink"
0:00:00.094322857  6712   00482000 INFO        GST_ERROR_SYSTEM gstelement.c:2141:gst_element_message_full_with_details:<source> posting message: Resource not found.
0:00:00.094376822  6712   00482000 INFO        GST_ERROR_SYSTEM gstelement.c:2168:gst_element_message_full_with_details:<source> posted error message: Resource not found.
0:00:00.094424496  6712   00482000 WARN                 basesrc gstbasesrc.c:3469:gst_base_src_start:<source> error: Failed to start
0:00:00.094479123  6712   00482000 INFO        GST_ERROR_SYSTEM gstelement.c:2141:gst_element_message_full_with_details:<source> posting message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
0:00:00.094531101  6712   00482000 INFO        GST_ERROR_SYSTEM gstelement.c:2168:gst_element_message_full_with_details:<source> posted error message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
0:00:00.094578113  6712   00482000 WARN                 basesrc gstbasesrc.c:3824:gst_base_src_activate_push:<source> Failed to start in push mode
0:00:00.094624794  6712   00482000 INFO                GST_PADS gstpad.c:1277:activate_mode_internal:<source:src> failed to activate in push mode
0:00:00.094670151  6712   00482000 WARN                GST_PADS gstpad.c:1142:gst_pad_set_active:<source:src> Failed to activate pad
</code></pre><p style="margin:0px;padding:0px 5px 0px 0px;border:none;font-size:14px;line-height:1.4;color:rgb(75,75,75);font-family:Arial">This pipeline works using gst-launch... My system: win7, mingw32, opencv 4.1.0</p></div></div>