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