Help: Gst.ElementFactory.Make(“rtspsrc”, “source”) Always Empty #1456
-
|
Hi everyone 👋 I’m running into an issue with Gst.ElementFactory.Make() and could use some guidance. I have GStreamer (MinGW) installed, with the system PATH pointing to \bin. In my C# WPF application, I’m able to successfully bind the GStreamer version and open a stream using ParseLaunch(string pipeline). However, when I try to create elements using Gst.ElementFactory.Make(), it always returns NULL, as if it can’t find the required DLLs. This makes me suspect that the application isn’t detecting the GStreamer plugin libraries correctly. I also tried adding \lib\gstreamer-1.0 to the system PATH, but that didn’t seem to help. Any pointers or best practices would be greatly appreciated. Thanks in advance! 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Sorry I'm not very knowledgeable with gstreamer so some question to guide you into some helpful direction:
|
Beta Was this translation helpful? Give feedback.
How do you know your code should work then?
Are you sure you don't need to Call gst_init?
ModuleInitializesets up GirCore. It does not set up gstreamer itself.