(no subject)

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

(no subject)

priyanka kataria
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.

Regards,
Priyanka Kataria 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Building custom plugin in Windows

priyanka kataria
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.

Regards,
Priyanka Kataria 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building custom plugin in Windows

Ray Tiley


On Thu, May 16, 2019 at 5:20 AM priyanka kataria <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building custom plugin in Windows

priyanka kataria
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?

Thanks,
Priyanka Kataria 

On Thu, 16 May 2019 at 5:41 PM, Ray Tiley <[hidden email]> wrote:


On Thu, May 16, 2019 at 5:20 AM priyanka kataria <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building custom plugin in Windows

Nicolas Dufresne-5


Le jeu. 16 mai 2019 09 h 25, priyanka kataria <[hidden email]> 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 <[hidden email]> wrote:


On Thu, May 16, 2019 at 5:20 AM priyanka kataria <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building custom plugin in Windows

priyanka kataria
Hi,

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 <[hidden email]> wrote:


Le jeu. 16 mai 2019 09 h 25, priyanka kataria <[hidden email]> 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 <[hidden email]> wrote:


On Thu, May 16, 2019 at 5:20 AM priyanka kataria <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building custom plugin in Windows

Tim Müller
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 <
> [hidden email]> wrote:
> >
> > Le jeu. 16 mai 2019 09 h 25, priyanka kataria <
> > [hidden email]> 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 <[hidden email]>
> > > wrote:
> > > >
> > > > On Thu, May 16, 2019 at 5:20 AM priyanka kataria <
> > > > [hidden email]> 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
> > > > > [hidden email]
> > > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > >
> > > > _______________________________________________
> > > > gstreamer-devel mailing list
> > > > [hidden email]
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Tim Müller, Centricular Ltd - http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building custom plugin in Windows

priyanka kataria
Thank you so much everybody.
This resolved my issue.

Thanks,
Priyanka 

On Fri, 17 May 2019 at 1:09 PM, Tim Müller <[hidden email]> 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 <
> [hidden email]> wrote:
> >
> > Le jeu. 16 mai 2019 09 h 25, priyanka kataria <
> > [hidden email]> 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 <[hidden email]>
> > > wrote:
> > > >
> > > > On Thu, May 16, 2019 at 5:20 AM priyanka kataria <
> > > > [hidden email]> 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
> > > > > [hidden email]
> > > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > >
> > > > _______________________________________________
> > > > gstreamer-devel mailing list
> > > > [hidden email]
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Tim Müller, Centricular Ltd - http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel