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