AW: no such element factory "appsrc" on Windows !
Thornton, Keith
keith.thornton at zeiss.com
Fri Feb 13 02:26:52 PST 2015
The environment in which you are running your application is probably different from that where your gst-launch-1.0 is running
You might try setting
GST_PLUGIN_PATH in your application
e.g.
std::ostringstream gstPluginPath;
gstPluginsPath << „path to your plugins“ // eg „c:\\gstreamer\\bin\gstreamer-1.0“
_putenv_s(“GST_PLUGIN_PATH”, gstPluginsPath.str().c_str());
Put this before calling gst_init.
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von p-hafner at gmx.de
Gesendet: Freitag, 13. Februar 2015 11:02
An: gstreamer-devel at lists.freedesktop.org
Betreff: no such element factory "appsrc" on Windows !
Hi,
I try to get a appsrc-application example running on Windows 7.
It compiles fine :-)
If I run the exe, I got some failures,
y.c:363:gst_element_factory_create: creating element "pipeline" named "pipeline"
0:00:00.049031148 1172 007B4000 INFO GST_ELEMENT_FACTORY gstelementfactor
y.c:456:gst_element_factory_make: no such element factory "appsrc"!
0:00:00.050062164 1172 007B4000 INFO GST_ELEMENT_FACTORY gstelementfactor
y.c:456:gst_element_factory_make: no such element factory "videoconvert"!
0:00:00.051019471 1172 007B4000 INFO GST_ELEMENT_FACTORY gstelementfactor
y.c:456:gst_element_factory_make: no such element factory "autovideosink"!
(gstreamer.exe:1172): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OB
JECT (object)' failed
the app, didn't find the plugins.
What can be the reason for that?
If I execute gst-launcher with this pipeline,
gst-launch-1.0 testvidesrc ! autovideosink
gstreamer is running !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150213/96406d95/attachment.html>
More information about the gstreamer-devel
mailing list