Re: Plugin Support

Hi Cole,
We only generate wrappers for gstreamer-core and gst-plugins-base plugins. Moreover, I'm going to remove this plugins in the newest version, so you shouldn't use them anyway (Instead of that, I'll provide tool for generating C++ wrappers for any plugins).
To use spectrum plugin in c++ code, I'd recommend to use following example:

#include <iostream>
#include <gstreamermm.h>

using namespace std;

int main (int argc, char **argv)
  Gst::init(argc, argv);

  auto element = Gst::ElementFactory::create_element("spectrum");

  auto filter = Glib::RefPtr<Gst::AudioFilter>::cast_dynamic(element);
  std::cout << filter->get_sink_pad()->get_name() << std::endl;

  return 0;

As you can see, you're able to use this element as Gst::AudioFilter object. Please let me know, whether that's what you're looking for, or you need more help.

2016-03-14 23:08 GMT+01:00 Cole Bush <bush c husky neu edu>:

I am wondering if it is possible to get the spectrum "good" plugin to be supported for the gstreamer c++ wrappings.

It is based off of GstAudioFilter which I see is ported in the git code. Is this something I would need to implement myself? Or is it already implemented somewhere and I haven't found it yet?

Thanks for any help,

gtkmm-list mailing list
gtkmm-list gnome org

Best regards,
Marcin Kolny

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]