OpenCV-GStreamer backend fails to play UDP video stream that works on gst-launch-1.0
I’m trying to play a UDP video stream coming from a camera with ethernet interface through OpenCV-Gstreamer backend on Windows. For this I’ve already built OpenCV-4.9.0 from source with GStreamer 1.24.3 in Visual Studio 22. After adding necessary paths, I’ve verified its working with the following test program: