[967a388] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[967a388] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a7bd2b6f] | 7 | <!ENTITY gstreamer-download-http "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-&gstreamer-version;.tar.bz2">
|
---|
[ba6f749] | 8 | <!ENTITY gstreamer-download-ftp "&gnome-download-ftp;/gstreamer/0.10/gstreamer-&gstreamer-version;.tar.bz2">
|
---|
| 9 | <!ENTITY gstreamer-md5sum "69b594b43e52e1d0eaf512a89c7b3137">
|
---|
| 10 | <!ENTITY gstreamer-size "1.9 MB">
|
---|
| 11 | <!ENTITY gstreamer-buildsize "72 MB">
|
---|
| 12 | <!ENTITY gstreamer-time "1.5 SBU (includes building manuals and 0.5 SBU to run the test suite)">
|
---|
[967a388] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="gstreamer" xreflabel="GStreamer-&gstreamer-version;">
|
---|
[a7bd2b6f] | 16 | <?dbhtml filename="gstreamer.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>GStreamer-&gstreamer-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gstreamer">
|
---|
| 26 | <primary sortas="a-GStreamer">GStreamer</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GStreamer</title>
|
---|
| 31 |
|
---|
[33d63e8d] | 32 | <para>The <application>GStreamer</application> package contains a streaming
|
---|
| 33 | media framework that enables applications to share a common set of plugins for
|
---|
| 34 | things like video decoding and encoding, audio encoding and decoding, audio
|
---|
| 35 | and video filters, audio visualisation, Web streaming and anything else that
|
---|
| 36 | streams in real-time or otherwise. It is modelled after research software
|
---|
[c866109] | 37 | worked on at the Oregon Graduate Institute. After installing
|
---|
| 38 | <application>GStreamer</application>, you'll likely need to install
|
---|
| 39 | one or more of the <xref linkend="gst-plugins-good"/>,
|
---|
| 40 | <xref linkend="gst-plugins-ugly"/>, <ulink
|
---|
| 41 | url="http://gstreamer.freedesktop.org/modules/gst-plugins-bad.html">GStreamer
|
---|
| 42 | Bad Plug-ins</ulink> and <ulink
|
---|
| 43 | url="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html">GStreamer
|
---|
| 44 | FFmpeg plug-in</ulink> packages.</para>
|
---|
[a7bd2b6f] | 45 |
|
---|
| 46 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 47 | <itemizedlist spacing="compact">
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download (HTTP): <ulink url="&gstreamer-download-http;"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download (FTP): <ulink url="&gstreamer-download-ftp;"/></para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download MD5 sum: &gstreamer-md5sum;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Download size: &gstreamer-size;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Estimated disk space required: &gstreamer-buildsize;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Estimated build time: &gstreamer-time;</para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 |
|
---|
[ab5b06b] | 68 | <bridgehead renderas="sect3">GStreamer Dependencies</bridgehead>
|
---|
[a7bd2b6f] | 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[a68c66aa] | 71 | <para role="required"><xref linkend="glib2"/> and
|
---|
| 72 | <xref linkend="libxml2"/></para>
|
---|
[a7bd2b6f] | 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a68c66aa] | 75 | <para role="optional">
|
---|
| 76 | <ulink url="http://check.sourceforge.net/">Check</ulink>
|
---|
| 77 | (required to run the unit regression tests), and
|
---|
| 78 | <ulink url="http://www.valgrind.org/">Valgrind</ulink>
|
---|
| 79 | (optionally used during the unit regression tests)</para>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Optional (Required to Rebuild the API
|
---|
| 82 | Documentation)</bridgehead>
|
---|
| 83 | <para role="optional"><xref linkend="gtk-doc"/> and
|
---|
| 84 | <xref linkend="pyxml"/></para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional (Required to Build
|
---|
| 87 | Manuals)</bridgehead>
|
---|
[a747b3c] | 88 | <para role="optional"><xref linkend="libxslt"/>,
|
---|
[520f6b4f] | 89 | <xref linkend="tetex"/>,
|
---|
[33d63e8d] | 90 | <xref linkend="gs"/> or
|
---|
| 91 | <xref linkend="espgs"/>,
|
---|
| 92 | <xref linkend="docbook-utils"/>,
|
---|
[e93d40c5] | 93 | <ulink url="http://www.xfig.org/">Transfig</ulink>, and
|
---|
[a7bd2b6f] | 94 | <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink></para>
|
---|
| 95 |
|
---|
[0e2aa08] | 96 | <para condition="html" role="usernotes">User Notes:
|
---|
| 97 | <ulink url="&blfs-wiki;/gstreamer"/></para>
|
---|
| 98 |
|
---|
[a7bd2b6f] | 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="installation">
|
---|
| 102 | <title>Installation of GStreamer</title>
|
---|
| 103 |
|
---|
[a68c66aa] | 104 | <!-- Commenting as the Valgrind stuff has been fixed, but leaving it in
|
---|
| 105 | here so in case we need it again
|
---|
[e93d40c5] | 106 | <para>Newer versions of <application>Valgrind</application> are known to
|
---|
| 107 | cause the build to break. If you have <application>Valgrind</application>
|
---|
| 108 | version >= 3.1.0 installed, you should add
|
---|
[a68c66aa] | 109 | <option>-disable-valgrind</option> to the <command>configure</command>
|
---|
[e93d40c5] | 110 | command below so the build will complete.</para>
|
---|
[a68c66aa] | 111 | -->
|
---|
[e93d40c5] | 112 |
|
---|
[33d63e8d] | 113 | <para>Install <application>GStreamer</application> by running the following
|
---|
[a7bd2b6f] | 114 | commands:</para>
|
---|
| 115 |
|
---|
[081a9c3] | 116 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[a7bd2b6f] | 117 | make</userinput></screen>
|
---|
[11d6d1ac] | 118 |
|
---|
[a68c66aa] | 119 | <para>To test the results, issue: <command>make check</command>. There are
|
---|
| 120 | many other <filename>Makefile</filename> targets you can specify for
|
---|
| 121 | running the tests, issue <command>make -C tests/check help</command> to see
|
---|
| 122 | the complete list.</para>
|
---|
[e93d40c5] | 123 |
|
---|
[a7bd2b6f] | 124 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[11d6d1ac] | 125 |
|
---|
[a7bd2b6f] | 126 | <screen role="root"><userinput>make install &&
|
---|
[a68c66aa] | 127 | install -v -m755 -d /usr/share/doc/gstreamer-0.10/design &&
|
---|
| 128 | install -v -m644 docs/design/*.txt \
|
---|
| 129 | /usr/share/doc/gstreamer-0.10/design &&
|
---|
[ba6f749] | 130 |
|
---|
[a68c66aa] | 131 | if [ -d /usr/share/doc/gstreamer-0.10/faq/html ]; then
|
---|
[ec5db802] | 132 | chown -v -R root:root \
|
---|
[a68c66aa] | 133 | /usr/share/doc/gstreamer-0.10/*/html
|
---|
| 134 | fi</userinput></screen>
|
---|
| 135 |
|
---|
[ba6f749] | 136 | <!-- Gtk-Docs are now installed by default, even without building them
|
---|
[a68c66aa] | 137 | <para>If you did not rebuild the API documentation by passing
|
---|
[ba6f749] | 138 | <option>-enable-gtk-doc</option> to the <command>configure</command>
|
---|
[a68c66aa] | 139 | script and you wish to install the pre-built documentation, issue the
|
---|
| 140 | following command as the <systemitem class="username">root</systemitem>
|
---|
| 141 | user:</para>
|
---|
| 142 |
|
---|
| 143 | <screen role="root"><userinput>for DOCS in gst libs plugins; do make -C docs/$DOCS install-data; done</userinput></screen>
|
---|
[ba6f749] | 144 | -->
|
---|
[a68c66aa] | 145 |
|
---|
| 146 | <sect3>
|
---|
| 147 | <title>Testing the Installation</title>
|
---|
| 148 |
|
---|
| 149 | <para>To test the functionality of the
|
---|
| 150 | <application>GStreamer</application> installation, you can run a simple
|
---|
| 151 | test as an unprivileged user (you may have to run
|
---|
| 152 | <command>ldconfig</command> as the
|
---|
| 153 | <systemitem class="username">root</systemitem> user before attempting
|
---|
| 154 | the test).</para>
|
---|
| 155 |
|
---|
| 156 | <screen><userinput>gst-launch -v fakesrc num_buffers=5 ! fakesink</userinput></screen>
|
---|
| 157 |
|
---|
| 158 | <para>If the command outputs a series of messages from fakesrc and
|
---|
| 159 | fakesink, everything is okay.</para>
|
---|
| 160 |
|
---|
| 161 | </sect3>
|
---|
[a7bd2b6f] | 162 |
|
---|
| 163 | </sect2>
|
---|
| 164 |
|
---|
| 165 | <sect2 role="commands">
|
---|
| 166 | <title>Command Explanations</title>
|
---|
| 167 |
|
---|
[ba6f749] | 168 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 169 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[a68c66aa] | 170 |
|
---|
| 171 | <para><option>--enable-docbook</option>: This parameter is used to build
|
---|
| 172 | HTML, PDF and PostScript versions of the
|
---|
| 173 | <application>GStreamer</application> User's Manual, FAQ and Writer's Guide.
|
---|
| 174 | Note that you must have all the listed dependencies installed.</para>
|
---|
| 175 |
|
---|
[33d63e8d] | 176 | <para><command>chown -v -R root:root ...</command>: The documentation is
|
---|
| 177 | installed with ownerships of the user who untarred and built the package.
|
---|
[a7bd2b6f] | 178 | This command changes the ownerships of the installed documentation files to
|
---|
[ec5db802] | 179 | root:root and is only executed if the documentation files were built and
|
---|
| 180 | installed.</para>
|
---|
[a7bd2b6f] | 181 |
|
---|
| 182 | </sect2>
|
---|
| 183 |
|
---|
| 184 | <sect2 role="content">
|
---|
| 185 | <title>Contents</title>
|
---|
| 186 |
|
---|
| 187 | <segmentedlist>
|
---|
| 188 | <segtitle>Installed Programs</segtitle>
|
---|
| 189 | <segtitle>Installed Libraries</segtitle>
|
---|
| 190 | <segtitle>Installed Directories</segtitle>
|
---|
| 191 |
|
---|
| 192 | <seglistitem>
|
---|
[a68c66aa] | 193 | <seg>gst-feedback{,-0.10}, gst-inspect{,-0.10}, gst-launch{,-0.10},
|
---|
| 194 | gst-typefind{,-0.10}, gst-xmllaunch{,-0.10} and
|
---|
| 195 | gst-xmlinspect{,-0.10}</seg>
|
---|
| 196 | <seg>libgstbase-0.10.{so,a}, libgstcheck-0.10.{so,a},
|
---|
| 197 | libgstcontroller-0.10.{so,a}, libgstdataprotocol-0.10.{so,a},
|
---|
| 198 | libgstnet-0.10.{so,a}, libgstreamer-0.10.{so,a}, and
|
---|
[0e2aa08] | 199 | libgst*.{so,a} plugin modules</seg>
|
---|
[a68c66aa] | 200 | <seg>/usr/include/gstreamer-0.10, /usr/lib/gstreamer-0.10,
|
---|
| 201 | /usr/share/doc/gstreamer-0.10,
|
---|
| 202 | /usr/share/gtk-doc/html/gstreamer{,-libs,-plugins}-0.10</seg>
|
---|
[a7bd2b6f] | 203 | </seglistitem>
|
---|
| 204 | </segmentedlist>
|
---|
| 205 |
|
---|
| 206 | <variablelist>
|
---|
| 207 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 208 | <?dbfo list-presentation="list"?>
|
---|
| 209 | <?dbhtml list-presentation="table"?>
|
---|
| 210 |
|
---|
| 211 | <varlistentry id="gst-feedback">
|
---|
[a68c66aa] | 212 | <term><command>gst-feedback-0.10</command></term>
|
---|
[a7bd2b6f] | 213 | <listitem>
|
---|
[d7ecaa6] | 214 | <para>generates debug info for <application>GStreamer</application>
|
---|
[a7bd2b6f] | 215 | bug reports.</para>
|
---|
| 216 | <indexterm zone="gstreamer gst-feedback">
|
---|
[a68c66aa] | 217 | <primary sortas="b-gst-feedback">gst-feedback-0.10</primary>
|
---|
[a7bd2b6f] | 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="gst-inspect">
|
---|
[a68c66aa] | 223 | <term><command>gst-inspect-0.10</command></term>
|
---|
[a7bd2b6f] | 224 | <listitem>
|
---|
[33d63e8d] | 225 | <para>prints information about a
|
---|
[a7bd2b6f] | 226 | <application>GStreamer</application> plugin or element.</para>
|
---|
| 227 | <indexterm zone="gstreamer gst-inspect">
|
---|
[a68c66aa] | 228 | <primary sortas="b-gst-inspect">gst-inspect-0.10</primary>
|
---|
[a7bd2b6f] | 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | <varlistentry id="gst-launch">
|
---|
[a68c66aa] | 234 | <term><command>gst-launch-0.10</command></term>
|
---|
[a7bd2b6f] | 235 | <listitem>
|
---|
[33d63e8d] | 236 | <para>is a tool that builds and runs basic
|
---|
[a7bd2b6f] | 237 | <application>GStreamer</application> pipelines.</para>
|
---|
| 238 | <indexterm zone="gstreamer gst-launch">
|
---|
[a68c66aa] | 239 | <primary sortas="b-gst-launch">gst-launch-0.10</primary>
|
---|
[a7bd2b6f] | 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="gst-typefind">
|
---|
[a68c66aa] | 245 | <term><command>gst-typefind-0.10</command></term>
|
---|
[a7bd2b6f] | 246 | <listitem>
|
---|
[33d63e8d] | 247 | <para>uses the <application>GStreamer</application> type finding
|
---|
[d7ecaa6] | 248 | system to determine the relevant <application>GStreamer</application>
|
---|
[33d63e8d] | 249 | plugin to parse or decode a file, and determine the corresponding
|
---|
[a7bd2b6f] | 250 | MIME type.</para>
|
---|
| 251 | <indexterm zone="gstreamer gst-typefind">
|
---|
[a68c66aa] | 252 | <primary sortas="b-gst-typefind">gst-typefind-0.10</primary>
|
---|
[a7bd2b6f] | 253 | </indexterm>
|
---|
| 254 | </listitem>
|
---|
| 255 | </varlistentry>
|
---|
| 256 |
|
---|
| 257 | <varlistentry id="gst-xmlinspect">
|
---|
[a68c66aa] | 258 | <term><command>gst-xmlinspect-0.10</command></term>
|
---|
[a7bd2b6f] | 259 | <listitem>
|
---|
[d7ecaa6] | 260 | <para>prints information about a <application>GStreamer</application>
|
---|
[a7bd2b6f] | 261 | plugin or element in XML document format.</para>
|
---|
| 262 | <indexterm zone="gstreamer gst-xmlinspect">
|
---|
[a68c66aa] | 263 | <primary sortas="b-gst-xmlinspect">gst-xmlinspect-0.10</primary>
|
---|
[a7bd2b6f] | 264 | </indexterm>
|
---|
| 265 | </listitem>
|
---|
| 266 | </varlistentry>
|
---|
| 267 |
|
---|
| 268 | <varlistentry id="gst-xmllaunch">
|
---|
[a68c66aa] | 269 | <term><command>gst-xmllaunch-0.10</command></term>
|
---|
[a7bd2b6f] | 270 | <listitem>
|
---|
[d7ecaa6] | 271 | <para>is used to build and run a basic <application>GStreamer</application>
|
---|
[a7bd2b6f] | 272 | pipeline, loading it from an XML description.</para>
|
---|
| 273 | <indexterm zone="gstreamer gst-xmllaunch">
|
---|
[a68c66aa] | 274 | <primary sortas="b-gst-xmllaunch">gst-xmllaunch-0.10</primary>
|
---|
[a7bd2b6f] | 275 | </indexterm>
|
---|
| 276 | </listitem>
|
---|
| 277 | </varlistentry>
|
---|
| 278 |
|
---|
| 279 | </variablelist>
|
---|
| 280 |
|
---|
| 281 | </sect2>
|
---|
[967a388] | 282 |
|
---|
| 283 | </sect1>
|
---|