1GStreamer::Interfaces(3U)ser Contributed Perl DocumentatiGoSntreamer::Interfaces(3)
2
3
4
6 GStreamer::Interfaces - Perl interface to the GStreamer Interfaces
7 library
8
10 use GStreamer::Interfaces;
11
12 # GStreamer::PropertyProbe
13
14 my $sink = GStreamer::ElementFactory -> make(alsasink => "sink");
15 my $pspec = $sink -> get_probe_property("device");
16
17 if ($sink -> needs_probe($pspec)) {
18 $sink -> probe_property($pspec);
19 }
20
21 my @devices = $sink -> get_probe_values($pspec);
22
23 # GStreamer::XOverlay
24
25 my $overlay = GStreamer::ElementFactory -> make(xvimagesink => "overlay");
26 $overlay -> set_xwindow_id($xid);
27
29 GStreamer::Interfaces provides access to some of the interfaces in the
30 GStreamer Interfaces library. Currently, that's
31 GStreamer::PropertyProbe and GStreamer::XOverlay.
32
34 GStreamer::PropertyProbe
35 pspecs = $element->get_probe_properties
36 pspec = $element->get_probe_property (name)
37 bool = $element->needs_probe (pspec)
38 $element->probe_property (pspec)
39 values = $element->get_probe_values (pspec)
40 values = $element->probe_get_probe_values (pspec)
41 bool = $element->needs_probe_name (name)
42 $element->probe_property_name (name)
43 values = $element->get_probe_values_name (name)
44 values = $element->probe_get_probe_values_name (name)
45
46 GStreamer::XOverlay
47 $overlay->set_xwindow_id (xwindow_id)
48 $overlay->expose
49 $overlay->got_xwindow_id (xwindow_id)
50 $overlay->prepare_xwindow_id
51 $overlay->handle_events (bool) (since 0.10.12)
52
54 Torsten Schoenfeld <kaffeetisch at gmx dot de>
55
57 Copyright (C) 2005-2010 by the gtk2-perl team
58
59
60
61perl v5.28.1 2010-03-20 GStreamer::Interfaces(3)