Compiling a plugin

De Graef, Niels niels.degraef at barco.com
Thu Feb 14 13:09:54 UTC 2019


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 [gstreamer-devel-bounces at lists.freedesktop.org] on behalf of j1432 [other3 at buffingtonfx.com]
Sent: Wednesday, February 13, 2019 20:51
To: gstreamer-devel at lists.freedesktop.org
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
gstreamer-devel at lists.freedesktop.org
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>


More information about the gstreamer-devel mailing list