Compiling a plugin

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

Compiling a plugin

j1432
Hi folks,

   I'm pretty new to gstreamer and programming in Linux so this is probably
a pretty basic question.   I have however done similar things to what I am
trying to do in Directshow for Windows for what it is worth.  

I'm trying to develop a plugin for Gstreamer.  I have the rest of my program
working using Gstreamer but I need a plugin to convert the output of a
special camera into something that is usable by later filters.  I am trying
to build a do-nothing plugin that just passes its input to the output at
first but am not sure how to properly compile and install it.  

I am working in Ubuntu 18.10.   Here's what I'm doing:

Starting with code found at:
https://github.com/kirankrishnappa/gst-template
I use make_element <my filter's name> gsttransform to create the source
files for the plugin.
I changed Makefile.am to use the name of my filter.
In configure.ac I changed the line AC_INIT([my-plugin-package],[1.0.0])  to
reflect my plugin's name.
In my .c file I changed #include <gst/controller/gstcontroller.h> to
#include <gst/controller/controller.h>  
because it appears that this is referencing something that was in an older
version of Gstreamer.
In the root directory for my project I run autogen.sh.
If I then run make, it declares "nothing to be done for 'all'" in my source
directory.

The Gstreamer documentation seems to be really good but doesn't talk about
how to build a plugin and install it.  Googling isn't turning up anything
helpful.   Are there any good guides out there that could help or do any of
you see something obvious that I am missing?

Thanks in advance!





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

RE: Compiling a plugin

GStreamer-devel mailing list
Hi,

This seems to be a very outdated fork of gst-template. You can find the official repository over at

https://gitlab.freedesktop.org/gstreamer/gst-template

Kind regards,
Niels De Graef

________________________________________
From: gstreamer-devel [[hidden email]] on behalf of j1432 [[hidden email]]
Sent: Wednesday, February 13, 2019 20:51
To: [hidden email]
Subject: Compiling a plugin

Hi folks,

   I'm pretty new to gstreamer and programming in Linux so this is probably
a pretty basic question.   I have however done similar things to what I am
trying to do in Directshow for Windows for what it is worth.

I'm trying to develop a plugin for Gstreamer.  I have the rest of my program
working using Gstreamer but I need a plugin to convert the output of a
special camera into something that is usable by later filters.  I am trying
to build a do-nothing plugin that just passes its input to the output at
first but am not sure how to properly compile and install it.

I am working in Ubuntu 18.10.   Here's what I'm doing:

Starting with code found at:
https://github.com/kirankrishnappa/gst-template
I use make_element <my filter's name> gsttransform to create the source
files for the plugin.
I changed Makefile.am to use the name of my filter.
In configure.ac I changed the line AC_INIT([my-plugin-package],[1.0.0])  to
reflect my plugin's name.
In my .c file I changed #include <gst/controller/gstcontroller.h> to
#include <gst/controller/controller.h>
because it appears that this is referencing something that was in an older
version of Gstreamer.
In the root directory for my project I run autogen.sh.
If I then run make, it declares "nothing to be done for 'all'" in my source
directory.

The Gstreamer documentation seems to be really good but doesn't talk about
how to build a plugin and install it.  Googling isn't turning up anything
helpful.   Are there any good guides out there that could help or do any of
you see something obvious that I am missing?

Thanks in advance!





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
This message is subject to the following terms and conditions: MAIL DISCLAIMER<http://www.barco.com/en/maildisclaimer>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling a plugin

Michael Gruner
I haven’t used gst-template yet, but I documented some steps on how to use the “gst-element-maker” tool shipped on plugins bad.


Hope it helps!

Michael

On Feb 14, 2019, at 7:09 AM, De Graef, Niels via gstreamer-devel <[hidden email]> wrote:

Hi,

This seems to be a very outdated fork of gst-template. You can find the official repository over at

https://gitlab.freedesktop.org/gstreamer/gst-template

Kind regards,
Niels De Graef

________________________________________
From: gstreamer-devel [[hidden email]] on behalf of j1432 [[hidden email]]
Sent: Wednesday, February 13, 2019 20:51
To: [hidden email]
Subject: Compiling a plugin

Hi folks,

  I'm pretty new to gstreamer and programming in Linux so this is probably
a pretty basic question.   I have however done similar things to what I am
trying to do in Directshow for Windows for what it is worth.

I'm trying to develop a plugin for Gstreamer.  I have the rest of my program
working using Gstreamer but I need a plugin to convert the output of a
special camera into something that is usable by later filters.  I am trying
to build a do-nothing plugin that just passes its input to the output at
first but am not sure how to properly compile and install it.

I am working in Ubuntu 18.10.   Here's what I'm doing:

Starting with code found at:
https://github.com/kirankrishnappa/gst-template
I use make_element <my filter's name> gsttransform to create the source
files for the plugin.
I changed Makefile.am to use the name of my filter.
In configure.ac I changed the line AC_INIT([my-plugin-package],[1.0.0])  to
reflect my plugin's name.
In my .c file I changed #include <gst/controller/gstcontroller.h> to
#include <gst/controller/controller.h>
because it appears that this is referencing something that was in an older
version of Gstreamer.
In the root directory for my project I run autogen.sh.
If I then run make, it declares "nothing to be done for 'all'" in my source
directory.

The Gstreamer documentation seems to be really good but doesn't talk about
how to build a plugin and install it.  Googling isn't turning up anything
helpful.   Are there any good guides out there that could help or do any of
you see something obvious that I am missing?

Thanks in advance!





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
This message is subject to the following terms and conditions: MAIL DISCLAIMER<http://www.barco.com/en/maildisclaimer>
_______________________________________________
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: Compiling a plugin

MaZderMind
Hi

for a simple start you might also look at https://gstreamer.mazdermind.de/
*shameless plug*

Peter

Am 14.02.19 um 14:39 schrieb Michael Gruner:

> I haven’t used gst-template yet, but I documented some steps on how to
> use the “gst-element-maker” tool shipped on plugins bad.
>
> https://developer.ridgerun.com/wiki/index.php?title=Creating_a_New_GStreamer_Element_or_Application_Using_Templates#Create_an_empty_GStreamer_element
>
> Hope it helps!
>
> Michael
> www.ridgerun.com <http://www.ridgerun.com>
>
> On Feb 14, 2019, at 7:09 AM, De Graef, Niels via gstreamer-devel
> <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>> Hi,
>>
>> This seems to be a very outdated fork of gst-template. You can find
>> the official repository over at
>>
>> https://gitlab.freedesktop.org/gstreamer/gst-template
>>
>> Kind regards,
>> Niels De Graef
>>
>> ________________________________________
>> From: gstreamer-devel [[hidden email]
>> <mailto:[hidden email]>] on behalf of
>> j1432 [[hidden email] <mailto:[hidden email]>]
>> Sent: Wednesday, February 13, 2019 20:51
>> To: [hidden email]
>> <mailto:[hidden email]>
>> Subject: Compiling a plugin
>>
>> Hi folks,
>>
>>   I'm pretty new to gstreamer and programming in Linux so this is probably
>> a pretty basic question.   I have however done similar things to what I am
>> trying to do in Directshow for Windows for what it is worth.
>>
>> I'm trying to develop a plugin for Gstreamer.  I have the rest of my
>> program
>> working using Gstreamer but I need a plugin to convert the output of a
>> special camera into something that is usable by later filters.  I am
>> trying
>> to build a do-nothing plugin that just passes its input to the output at
>> first but am not sure how to properly compile and install it.
>>
>> I am working in Ubuntu 18.10.   Here's what I'm doing:
>>
>> Starting with code found at:
>> https://github.com/kirankrishnappa/gst-template
>> I use make_element <my filter's name> gsttransform to create the source
>> files for the plugin.
>> I changed Makefile.am to use the name of my filter.
>> In configure.ac I changed the line
>> AC_INIT([my-plugin-package],[1.0.0])  to
>> reflect my plugin's name.
>> In my .c file I changed #include <gst/controller/gstcontroller.h> to
>> #include <gst/controller/controller.h>
>> because it appears that this is referencing something that was in an older
>> version of Gstreamer.
>> In the root directory for my project I run autogen.sh.
>> If I then run make, it declares "nothing to be done for 'all'" in my
>> source
>> directory.
>>
>> The Gstreamer documentation seems to be really good but doesn't talk about
>> how to build a plugin and install it.  Googling isn't turning up anything
>> helpful.   Are there any good guides out there that could help or do
>> any of
>> you see something obvious that I am missing?
>>
>> Thanks in advance!
>>
>>
>>
>>
>>
>> --
>> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> <mailto:[hidden email]>
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> This message is subject to the following terms and conditions: MAIL
>> DISCLAIMER<http://www.barco.com/en/maildisclaimer>
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> <mailto:[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: Compiling a plugin

j1432
Thank you for the replies!  I have things compiling now and am working to
understand how to use the results in a Gstreamer program that I write.   I
appreciate the help that you have provided!  



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel