Re: Are there Perl bindings for gstreamer-1.0?
- From: Terence Ferraro <terencejferraro gmail com>
- To: Steve Cookson <it sca-uk com>
- Cc: GTK-Perl List <gtk-perl-list gnome org>
- Subject: Re: Are there Perl bindings for gstreamer-1.0?
- Date: Sat, 26 Apr 2014 21:05:28 -0400
I knew nothing about GStreamer a couple hours ago, but, since I have had a lot of dealings with perl/introspection of late, I went ahead and did some digging. Compiled with gstreamer-1.2.4.
So, first off, instead of: my $play = GStreamer::ElementFactory -> make("playbin", "play");
It should be: my $play = GStreamer::ElementFactory::make("playbin", "play");
Due to the class-static stuff.
I was, however, running into the same issue. I first verified that this works:
my $fake_factory = Glib::Object::Introspection->invoke ('Gst', 'ElementFactory', 'find', 'fakesrc');
my $fake_element = GStreamer::ElementFactory::create($fake_factory,"source");
After attempting a find on playbin, it would seem that the plugin simply isn't installed as the fakesrc is working. Looking at: plugins/elements/, I only see a handful of source files; playbin not being one of them.
It looks like gst-plugins-base provides playbin. After installing, now the aforementioned playbin call returns correctly.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]