Steve_BZ has asked for the wisdom of the Perl Monks concerning the following question:
Greetings monks.
I have an installation running wxPerl with Wx::MediaCtrl front-ending GStreamer. The functionality of Wx::MediaCtrl, does not adequately control GStreamer, so I had hoped to use the GStreamer perl api, however, I have belatedly realised that the GStreamer perl api seems to be part of Gtk2-Perl. So I guess GStreamer (perl) and Glib have some fundamental level of interoperation through Gtk2.
For instance if I just use the sample code (Getting the Perl GStreamer api working.) for Gstreamer, a window pops up and it runs easily. This is presumably a Gtk2 window. There is a Glib::MainLoop, which I understand is the Gtk2 event processor.
I would like to use a Wx window and use Wx events as well, since I have a heavy investment in them. How would I do do this? Do I need to learn Gtk2? Is there some sample code around that would help me to understand it.
I guess it's a bit of an overhead to have two event processors (Gtk2 & Wx) but it doesn't sound like the end of the world. The bigger question for me is how do I play the GStreamer perl api through a Wx::Frame or whatever.
Sorry if this post seems a bit intractible.
Your advice is very welcome.
Regards
Steve.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Glib & Wx interoperation
by Anonymous Monk on Jun 21, 2011 at 21:07 UTC | |
by Steve_BZ (Chaplain) on Jun 22, 2011 at 12:21 UTC | |
by Anonymous Monk on Jun 22, 2011 at 13:55 UTC |