no such element factory "appsrc" on Windows !

p-hafner at gmx.de p-hafner at gmx.de
Fri Feb 13 03:52:12 PST 2015


Yes, thanks, I set the wrong path to GST_PLUGIN_PATH!


2015-02-13 11:26 GMT+01:00 Thornton, Keith <keith.thornton at zeiss.com>:

>  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 !
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150213/ed6c121c/attachment.html>


More information about the gstreamer-devel mailing list