Windows deployment and gst-inspect-1.0.exe works with videotestsrc, but not with udpsrc
MK
pikim at web.de
Tue Jul 5 20:42:42 UTC 2022
Hello,
I wrote a C++ application that uses gstreamer based on the example here:
https://gstreamer.freedesktop.org/documentation/video/gstvideooverlay.html?gi-language=c#gstvideooverlay-and-qt.
In the end I want to deploy it by manually picking the necessary
gstreamer files.
In a first step I copied the whole gstreamer-1.0 plugin directory to
make sure that all files and plugins are present. So,
gstvideotestsrc.dll and gstudp.dll are in exactly the same folder. When I
set "GST_PLUGIN_PATH=C:\path\to\gstreamer-1.0"
in a cmd window and execute
C:\path\to\gst-inspect-1.0.exe videotestsrc
I get many warnings in the form of
(gst-inspect-1.0:157572): GStreamer-WARNING **: 15:10:03.294: Failed to
load plugin 'C:\path\to\gstreamer-1.0\gstaccurip.dll'
but also the desired plugin information about videotestsrc.
When I do the same for udpsrc
C:\path\to\gst-inspect-1.0.exe udpsrc
I don’t get any plugin information but only “failed to load plugin”
warnings.
In my application itself the pipeline is set as string inside a config
file. When I set the pipeline to show a videotestsrc, the app works as
expected and shows the test screen. But when I set the pipeline to
“udpsrc port=xxxx” instead, it doesn’t show the incoming camera stream.
Passing the exact same udpsrc pipeline string directly to
gst-launch-1.0.exe works and the incoming UDP stream is shown as expected.
What am I doing wrong?
Best regards,
Michael
More information about the gstreamer-devel
mailing list