Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 9641a12e5d0eeef2da865588e445f182 > files > 541

gstreamermm1.0-doc-1.10.0-2.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>gstreamermm: gstreamermm Reference Manual</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">gstreamermm
   &#160;<span id="projectnumber">1.10.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">gstreamermm Reference Manual </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="Description"></a>
Description</h1>
<p>gstreamermm provides C++ bindings for the <a href="http://gstreamer.freedesktop.org">GStreamer streaming multimedia library</a>. With gstreamermm it is possible to develop applications that work with multimedia in C++. For instance, see <a class="el" href="classGst_1_1Element.html" title="Abstract base class for all pipeline elements. ">Gst::Element</a>, <a class="el" href="classGst_1_1Bin.html" title="Base class and element that can contain other elements. ">Gst::Bin</a> and <a class="el" href="classGst_1_1Pipeline.html" title="A top-level bin with clocking and bus management functionality. ">Gst::Pipeline</a>.</p>
<h1><a class="anchor" id="Features"></a>
Features</h1>
<ul>
<li>gstreamermm is developed over <a href="http://www.gtkmm.org/index.shtml">glibmm</a>, <a href="http://libsigc.sourceforge.net/">libsigc++</a> and <a href="http://libxmlplusplus.sourceforge.net/">libxml++</a> and the functionalities they provide.</li>
<li>Referencing and unreferencing of GObjects is handled automatically via glibmm's automatic pointer class, Glib::RefPtr.</li>
<li>libsigc++'s slots are used for callbacks and signals.</li>
<li>Most of the GStreamer core and base plug-ins are wrapped.</li>
</ul>
<h1><a class="anchor" id="Basics"></a>
Basic Usage</h1>
<p>Some form of the <a class="el" href="namespaceGst.html#a4368f0336db20f7dae336c97ebce0ef1" title="Initializes gstreamermm parsing command line arguments. ">Gst::init()</a> method must be called before using the library's classes, functions, etc. To get a deeper understanding of how to set up pipelines, deal with elements, pads, etc., see the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html">GStreamer Application Development Manual</a>.</p>
<p>The following includes the gstreamermm header: </p><div class="fragment"><div class="line"><span class="preprocessor">#include &lt;gstreamermm.h&gt;</span></div></div><!-- fragment --><p> (You may include individual headers, such as <code>gstreamermm/pipeline.h</code> instead.)</p>
<h1><a class="anchor" id="Compiling"></a>
Compiling</h1>
<p>If your source file is <code>program.cc</code>, you can compile it with: </p><div class="fragment"><div class="line">g++ program.cc -o program  `pkg-config --cflags --libs gstreamermm-1.0`</div></div><!-- fragment --><p>Alternatively, if using autoconf, use the following in <code>configure.ac:</code> </p><div class="fragment"><div class="line">PKG_CHECK_MODULES([GSTREAMERMM_1_0], [gstreamermm-1.0])</div></div><!-- fragment --><p> Then use the generated <code>GSTREAMERMM_1_0_CFLAGS</code> and <code>GSTREAMERMM_1_0_LIBS</code> variables in the project <code>Makefile.am</code> files. For example: </p><div class="fragment"><div class="line">program_CPPFLAGS = $(GSTREAMERMM_1_0_CFLAGS)</div><div class="line">program_LDADD = $(GSTREAMERMM_1_0_LIBS)</div></div><!-- fragment --> </div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Oct 21 2017 12:59:01 for gstreamermm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>