<div><div dir="auto">Thank you so much everybody.</div></div><div dir="auto">This resolved my issue.</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Priyanka </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 17 May 2019 at 1:09 PM, Tim Müller <<a href="mailto:tim@centricular.com">tim@centricular.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 2019-05-17 at 07:41 +0530, priyanka kataria wrote:<br>
<br>
Hi,<br>
<br>
I just pushed a fix to gst-template for what it's worth, the plugin<br>
name for the audiofilter example wasn't right:<br>
<br>
<a href="https://gitlab.freedesktop.org/gstreamer/gst-template/commit/16d996b0efc3643323698e986f33a1753cb00f15" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-template/commit/16d996b0efc3643323698e986f33a1753cb00f15</a><br>
<br>
The source filenames don't matter, the two things that need to match<br>
are: 1) the plugin .so/.dll filename and 2) the plugin name in<br>
GST_PLUGIN_DEFINE (third argument).<br>
<br>
Cheers<br>
-Tim<br>
<br>
> I have generated the plugin through gst-template, hence the filenames<br>
> are correct.<br>
> <br>
> While generating the dll, I put the name of dll in the following way:<br>
> If the plugin name is “custplugin” and the file names are<br>
> “gstcustplugin.c” and “gstcustplugin.h”, then the dll name is<br>
> “custplugin.dll”.<br>
> <br>
> But still the plugin is not found.<br>
> <br>
> Guess cerbero is the last thing I can try.<br>
> <br>
> Have you guys tried using it for custom plugin build? In case yes,<br>
> please share the steps.<br>
> <br>
> Thanks,<br>
> Priyanka Kataria <br>
> <br>
> On Thu, 16 May 2019 at 7:02 PM, Nicolas Dufresne <<br>
> <a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>> wrote:<br>
> > <br>
> > Le jeu. 16 mai 2019 09 h 25, priyanka kataria <<br>
> > <a href="mailto:priyanka.kataria86@gmail.com" target="_blank">priyanka.kataria86@gmail.com</a>> a écrit :<br>
> > > Hi Ray,<br>
> > > <br>
> > > Thank you for the quick reply.<br>
> > > <br>
> > > But this doesn’t resolve my issue, I am still getting the same<br>
> > > error.<br>
> > > <br>
> > > I also checked the dump of my dll and the names were not mangled.<br>
> > > <br>
> > > Shall I try using cerbero for this?<br>
> > <br>
> > Then make sure that the name of the DLL matches the plugin name.<br>
> > GStreamer uses dynamic plugin entry point which are deduced from<br>
> > file names.<br>
> > <br>
> > > Thanks,<br>
> > > Priyanka Kataria <br>
> > > <br>
> > > On Thu, 16 May 2019 at 5:41 PM, Ray Tiley <<a href="mailto:raytiley@gmail.com" target="_blank">raytiley@gmail.com</a>><br>
> > > wrote:<br>
> > > > <br>
> > > > On Thu, May 16, 2019 at 5:20 AM priyanka kataria <<br>
> > > > <a href="mailto:priyanka.kataria86@gmail.com" target="_blank">priyanka.kataria86@gmail.com</a>> wrote:<br>
> > > > > > Hello,<br>
> > > > > > <br>
> > > > > > I have built a custom plugin using “Constructing the<br>
> > > > > > boilerplate“ instructions.<br>
> > > > > > <br>
> > > > > > The plugin builds and works successfully in Linux<br>
> > > > > > environment.<br>
> > > > > > <br>
> > > > > > Then, I take the C source and header file to Windows and<br>
> > > > > > try to build using Visual Studio 2015 which has been setup<br>
> > > > > > as per the steps in “Installing on Windows” gstreamer<br>
> > > > > > tutorial.<br>
> > > > > >  <br>
> > > > > > The build completes but the plugin cannot be found whatever<br>
> > > > > > path I set.<br>
> > > > > > Finally, I have copied the “custom.dll” in <gstreamer-<br>
> > > > > > 1.0>\lib directory. Then, I noticed that   “libcustom.lib”<br>
> > > > > > which should be placed under <gstreamer-1.0>\lib\gstreamer-<br>
> > > > > > 1.0 directory, is not created in Visual Studio build.<br>
> > > > > > <br>
> > > > > > Is this the cause of plugin not being found?<br>
> > > > > > <br>
> > > > > > Please share the steps if anybody has built a custom plugin<br>
> > > > > > in Windows.<br>
> > > > <br>
> > > > You could be running into this issue I reported yesterday: <br>
> > > > <a href="https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/401" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/401</a><br>
> > > >  <br>
> > > > > > Regards,<br>
> > > > > > Priyanka Kataria <br>
> > > > > <br>
> > > > > _______________________________________________<br>
> > > > > gstreamer-devel mailing list<br>
> > > > > <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> > > > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
> > > > <br>
> > > > _______________________________________________<br>
> > > > gstreamer-devel mailing list<br>
> > > > <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> > > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
> > > <br>
> > > _______________________________________________<br>
> > > gstreamer-devel mailing list<br>
> > > <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
> > <br>
> > _______________________________________________<br>
> > gstreamer-devel mailing list<br>
> > <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
> <br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
-- <br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div>