Hi developers, ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi ,
Are you using " -lgstapp-0.10 " when you build you application ? On Wed, Apr 28, 2010 at 7:22 PM, Irfan Shaikh <[hidden email]> wrote: > > Hi developers, > > I am unable to create appsrc plugin in my gstreamer > application. I have the appsrc plugin already installed on my PC. I have > included following files. > #include <gst/app/gstappsrc.h> > #include <gst/app/gstappbuffer.h> > > source = gst_element_factory_make ("appsrc", "Application > source"); //FAILS ALWAYS > > Please can any one provide a hint why is this happening > > Regards > Irfan > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > -- Regards, Sudarshan Bisht ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Irfan Shaikh-2
Hi Developers, ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
what about -lgstinterfaces-0.10 ?
On Thu, Apr 29, 2010 at 10:01 AM, Irfan Shaikh <[hidden email]> wrote: > Hi Developers, > > I am also using " -lgstapp-0.10 " when i build you application. > > Regards > > > > > -----Original Message----- > From: Irfan Shaikh > Sent: Wed 4/28/2010 7:22 PM > To: [hidden email] > Subject: appsrc not getting created > > > Hi developers, > > I am unable to create appsrc plugin in my gstreamer > application. I have the appsrc plugin already installed on my PC. I have > included following files. > #include <gst/app/gstappsrc.h> > #include <gst/app/gstappbuffer.h> > > source = gst_element_factory_make ("appsrc", "Application > source"); //FAILS ALWAYS > > Please can any one provide a hint why is this happening > > Regards > Irfan > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > -- Regards, Sudarshan Bisht ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
No i am not using lgstinterfaces-0.10. I will try it out using it ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel Makefile (2K) Download Attachment |
In reply to this post by Irfan Shaikh-2
On Wed, Apr 28, 2010 at 6:52 AM, Irfan Shaikh
<[hidden email]> wrote: > > Hi developers, > > I am unable to create appsrc plugin in my gstreamer > application. I have the appsrc plugin already installed on my PC. I have > included following files. > #include <gst/app/gstappsrc.h> > #include <gst/app/gstappbuffer.h> > > source = gst_element_factory_make ("appsrc", "Application > source"); //FAILS ALWAYS This means that you do NOT have the appsrc plugin (or you have it, but GStreamer is unable to load it for some reason). Perhaps you have the plugin, but not the libraries it's using. The suggestions from others about linking to various libraries are irrelevant, you should ignore those. You need to figure out if you really have appsrc, and if you do have it, why GStreamer can't load it. Mike ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Have you set your GST_PLUGIN_PATH to the location where you install
the appsrc? Maybe you need to set it with “export GST_PLUGIN_PATH= /usr/local/lib/gstreamer-0.10/ .” Use pkg-config in the make file. For example, PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ CFLAGS=`pkg-config --libs --cflags gstreamer-0.10
gstreamer-base-0.10 gstreamer-interfaces-0.10` -L/usr/local/lib/gstreamer-0.10
-lgstphotography-0.10 -g From: Irfan Shaikh
[mailto:[hidden email]] Hi
------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Irfan Shaikh-2
Irfan Shaikh wrote:
> > Hi > I have the plugin loaded and it is prperly seen when i do > gst-inspect. But i am not very sure why my application is not > recognizing it > strace 2>stace.log -e file ./your-app and check the log Stefan > > For example : > > [root@localhost Testcode]# gst-inspect appsrc > Factory Details: > Long name: AppSrc > Class: Generic/Src > Description: Allow the application to feed buffers to a pipeline > Author(s): David Schleef <[hidden email]>, Wim Taymans > <[hidden email]> > Rank: none (0) > > Plugin Details: > Name: app > Description: Elements used to communicate with applications > Filename: /usr/local/lib/gstreamer-0.10/libgstapp.so > > > > > -----Original Message----- > From: Michael Smith [mailto:[hidden email]] > Sent: Thu 4/29/2010 10:39 AM > To: Discussion of the development of GStreamer > Subject: Re: [gst-devel] appsrc not getting created > > On Wed, Apr 28, 2010 at 6:52 AM, Irfan Shaikh > <[hidden email]> wrote: > > > > Hi developers, > > > > I am unable to create appsrc plugin in my gstreamer > > application. I have the appsrc plugin already installed on my PC. I have > > included following files. > > #include <gst/app/gstappsrc.h> > > #include <gst/app/gstappbuffer.h> > > > > source = gst_element_factory_make ("appsrc", > "Application > > source"); //FAILS ALWAYS > > This means that you do NOT have the appsrc plugin (or you have it, but > GStreamer is unable to load it for some reason). > > Perhaps you have the plugin, but not the libraries it's using. The > suggestions from others about linking to various libraries are > irrelevant, you should ignore those. You need to figure out if you > really have appsrc, and if you do have it, why GStreamer can't load > it. > > Mike > > ------------------------------------------------------------------------------ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |