<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>RE: [gst-devel] appsrc not getting created</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi<BR>
&nbsp;&nbsp;&nbsp;&nbsp; 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<BR>
<BR>
For example :<BR>
<BR>
[root@localhost Testcode]# gst-inspect appsrc<BR>
Factory Details:<BR>
&nbsp; Long name:&nbsp;&nbsp;&nbsp; AppSrc<BR>
&nbsp; Class:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Generic/Src<BR>
&nbsp; Description:&nbsp; Allow the application to feed buffers to a pipeline<BR>
&nbsp; Author(s):&nbsp;&nbsp;&nbsp; David Schleef &lt;ds@schleef.org&gt;, Wim Taymans &lt;wim.taymans@gmail.com&gt;<BR>
&nbsp; Rank:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; none (0)<BR>
<BR>
Plugin Details:<BR>
&nbsp; Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; app<BR>
&nbsp; Description:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Elements used to communicate with applications<BR>
&nbsp; Filename:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/lib/gstreamer-0.10/libgstapp.so<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Michael Smith [<A HREF="mailto:msmith@xiph.org">mailto:msmith@xiph.org</A>]<BR>
Sent: Thu 4/29/2010 10:39 AM<BR>
To: Discussion of the development of GStreamer<BR>
Subject: Re: [gst-devel] appsrc not getting created<BR>
<BR>
On Wed, Apr 28, 2010 at 6:52 AM, Irfan Shaikh<BR>
&lt;irfanshaikh@tataelxsi.co.in&gt; wrote:<BR>
&gt;<BR>
&gt; Hi developers,<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am unable to create appsrc plugin in my gstreamer<BR>
&gt; application. I have the appsrc plugin already installed on my PC. I have<BR>
&gt; included following files.<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #include &lt;gst/app/gstappsrc.h&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #include &lt;gst/app/gstappbuffer.h&gt;<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; source&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = gst_element_factory_make (&quot;appsrc&quot;, &quot;Application<BR>
&gt; source&quot;);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //FAILS ALWAYS<BR>
<BR>
This means that you do NOT have the appsrc plugin (or you have it, but<BR>
GStreamer is unable to load it for some reason).<BR>
<BR>
Perhaps you have the plugin, but not the libraries it's using. The<BR>
suggestions from others about linking to various libraries are<BR>
irrelevant, you should ignore those. You need to figure out if you<BR>
really have appsrc, and if you do have it, why GStreamer can't load<BR>
it.<BR>
<BR>
Mike<BR>
<BR>
------------------------------------------------------------------------------<BR>
_______________________________________________<BR>
gstreamer-devel mailing list<BR>
gstreamer-devel@lists.sourceforge.net<BR>
<A HREF="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR>
<BR>
</FONT>
</P>

<pre style="white-space:normal"><br></pre></BODY>
</HTML>