Hi Terence,
On 01/05/14 08:36, Terence Ferraro wrote:
Looking at the C docs, it appears that you'll need to cast the
returned playsink to a type of GstVideoOverlay. It looks like, then,
you'd be able to call: gst_video_overlay_set_window_handle(overlay,
windowid);
Thanks for this.
Actually,
Hi Terrence,
On 28/04/14 19:57, Terence Ferraro wrote:
my $src = $message-src;
The next line seems to be the equivalent of:
gst_video_overlay_set_window_handle (GST_VIDEO_OVERLAY (GST_MESSAGE_SRC
(message)), win);
But you translated:
GST_MESSAGE_SRC (message) as $message-src. How
Hi Terence,
Well I got this too:
On 28/04/14 19:57, Terence Ferraro wrote:
It looks like it hands off a: Source:
Glib::Object::_Unregistered::GstPlaySink=HASH(0x8af8a40) as the $src.
You'll then need to set that to the window id of the drawable,
somehow. Let me know if you have any luck.
Continuing on from my last point:
On 30/04/14 19:37, Steve Cookson wrote:
But I don't see how to go from $src to its base-class object (if such
a beast exists) to use set_window_handle.
I found this in Python:
http://bazaar.launchpad.net/~jderose/+junk/gst-examples/view/head:/video-player
Hi Vividsnow,
On 28/04/14 21:38, vividsnow wrote:
https://gist.github.com/vividsnow/06e8eb21165d6f01a8bf - simple perl example
using gstreamer-1.0
Very interesting piece of code and works nicely.
check whether it is introspectable, for example:
grep -A1 set_caps
Hi Guys,
On 28/04/14 19:57, Terence Ferraro wrote:
# Create Gtk3 windows, widgets, drawable, etc..
Here is a piece of code with a combination of bits of code:
- Terence's/Torsten's original wrapping ;
- The testsource code from vividsnow
- A small player in wxWidgets.
The buttons are not
On 29/04/14 15:46, Steve Cookson wrote:
The buttons are not yet active.
Wx::Event::EVT_BUTTON( $i_main_menu, $media_pause_btn, sub {
my ($self, $event) = @_;
$gl_pipeline-set_state('GST_STATE_PAUSED')
}
);
Wx::Event::EVT_BUTTON( $i_main_menu, $media_play_btn
Hi Terence,
(It looks as though I didn't send this).
On 27/04/14 02:05, Terence Ferraro wrote:
So, first off, instead of: my $play = GStreamer::ElementFactory -
make(playbin, play);
It should be: my $play = GStreamer::ElementFactory::make(playbin,
play);
Excellent, I should have tried that!
the aforementioned playbin call returns correctly.
*Terence J. Ferraro
*
On Sat, Apr 26, 2014 at 6:13 PM, Steve Cookson i...@sca-uk.com
mailto:i...@sca-uk.com wrote:
Hi Guys,
On 26/04/14 09:30, Steve Cookson wrote:
I'd suggest basing them on Glib::Object
Hi Torsten,
Thanks for your email.
I've just subscribed to this list, so I don't suppose this will be shown
as the same thread.
I'd suggest basing them on Glib::Object::Introspection.
Are you saying it needs to be a complete rebuild, not a modification?
I'm just trying to get the
Hi Guys,
On 26/04/14 09:30, Steve Cookson wrote:
I'd suggest basing them on Glib::Object::Introspection.
Well actually, it's amazing. I've just been trying it.
It's not so easy to install you have to install libgirepository1.0-dev
first (apt-get install libgirepository1.0-dev
11 matches
Mail list logo