[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 |
|
---|
[aeff7f4] | 7 | <!ENTITY gstreamer-download-http "&gnome-download-http;/gstreamer/0.10/gstreamer-&gstreamer-version;.tar.xz">
|
---|
| 8 | <!ENTITY gstreamer-download-ftp "&gnome-download-ftp;/gstreamer/0.10/gstreamer-&gstreamer-version;.tar.xz">
|
---|
[e43a5132] | 9 | <!ENTITY gstreamer-md5sum "15389c73e091b1dda915279c388b9cb2">
|
---|
[6f3e2f8] | 10 | <!ENTITY gstreamer-size "2.9 MB">
|
---|
[e43a5132] | 11 | <!ENTITY gstreamer-buildsize "90 MB">
|
---|
[aeff7f4] | 12 | <!ENTITY gstreamer-time "1.2 SBU">
|
---|
[967a388] | 13 | ]>
|
---|
| 14 |
|
---|
[2ba0c1a] | 15 | <sect1 id="gstreamer" xreflabel="GStreamer-&gstreamer-version;">
|
---|
[a7bd2b6f] | 16 | <?dbhtml filename="gstreamer.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
[2ba0c1a] | 22 | <title>GStreamer-&gstreamer-version;</title>
|
---|
[a7bd2b6f] | 23 |
|
---|
| 24 | <indexterm zone="gstreamer">
|
---|
| 25 | <primary sortas="a-GStreamer">GStreamer</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to GStreamer</title>
|
---|
[e2abf328] | 30 | <!--
|
---|
[2ba0c1a] | 31 | <para>
|
---|
| 32 | <application>GStreamer</application> is a streaming media framework that
|
---|
| 33 | enables applications to share a common set of plugins for things like
|
---|
| 34 | video decoding and encoding, audio encoding and decoding, audio and video
|
---|
| 35 | filters, audio visualisation, Web streaming and anything else that streams
|
---|
| 36 | in real-time or otherwise. It is modelled after research software worked
|
---|
| 37 | on at the Oregon Graduate Institute. After installing
|
---|
| 38 | <application>GStreamer</application>, you'll likely need to install one or
|
---|
| 39 | more of the <xref linkend="gst-plugins-bad"/>,
|
---|
| 40 | <xref linkend="gst-plugins-good"/>, <xref linkend="gst-plugins-ugly"/> and
|
---|
| 41 | <xref linkend="gst-ffmpeg"/> packages.
|
---|
| 42 | </para>
|
---|
[e2abf328] | 43 | -->
|
---|
[b379ac51] | 44 | &lfs77_checked;
|
---|
[a7bd2b6f] | 45 |
|
---|
[058a3280] | 46 | &gst-compat;
|
---|
| 47 |
|
---|
[a7bd2b6f] | 48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 49 | <itemizedlist spacing="compact">
|
---|
| 50 | <listitem>
|
---|
[2ba0c1a] | 51 | <para>
|
---|
| 52 | Download (HTTP): <ulink url="&gstreamer-download-http;"/>
|
---|
| 53 | </para>
|
---|
[a7bd2b6f] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[2ba0c1a] | 56 | <para>
|
---|
| 57 | Download (FTP): <ulink url="&gstreamer-download-ftp;"/>
|
---|
| 58 | </para>
|
---|
[a7bd2b6f] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[2ba0c1a] | 61 | <para>
|
---|
| 62 | Download MD5 sum: &gstreamer-md5sum;
|
---|
| 63 | </para>
|
---|
[a7bd2b6f] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[2ba0c1a] | 66 | <para>
|
---|
| 67 | Download size: &gstreamer-size;
|
---|
| 68 | </para>
|
---|
[a7bd2b6f] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[2ba0c1a] | 71 | <para>
|
---|
| 72 | Estimated disk space required: &gstreamer-buildsize;
|
---|
| 73 | </para>
|
---|
[a7bd2b6f] | 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
[2ba0c1a] | 76 | <para>
|
---|
| 77 | Estimated build time: &gstreamer-time;
|
---|
| 78 | </para>
|
---|
[a7bd2b6f] | 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
| 81 |
|
---|
[ab5b06b] | 82 | <bridgehead renderas="sect3">GStreamer Dependencies</bridgehead>
|
---|
[a7bd2b6f] | 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4c2be438] | 85 | <para role="required">
|
---|
[f7e3016] | 86 | <xref linkend="glib2"/> and
|
---|
| 87 | <xref linkend="libxml2"/>
|
---|
[4c2be438] | 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 91 | <para role="optional">
|
---|
| 92 | <xref linkend="gobject-introspection"/>
|
---|
| 93 | </para>
|
---|
[a7bd2b6f] | 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4c2be438] | 96 | <para role="optional">
|
---|
[37bea21] | 97 | <xref linkend="gsl"/>,
|
---|
[f1607a4] | 98 | <xref linkend="valgrind"/>
|
---|
[f96eaed8] | 99 | (optionally used during the unit regression tests)
|
---|
[cf3ddc0c] | 100 | </para>
|
---|
[a68c66aa] | 101 |
|
---|
[2ba0c1a] | 102 | <bridgehead renderas="sect4">
|
---|
| 103 | Optional (Required to rebuild the API Documentation)
|
---|
| 104 | </bridgehead>
|
---|
[4c2be438] | 105 | <para role="optional">
|
---|
| 106 | <xref linkend="gtk-doc"/> and
|
---|
[f3429309] | 107 | <xref linkend="python2"/>
|
---|
[cc60178] | 108 | </para>
|
---|
[a68c66aa] | 109 |
|
---|
[2ba0c1a] | 110 | <bridgehead renderas="sect4">Optional (Required to Build Manuals)</bridgehead>
|
---|
[4c2be438] | 111 | <para role="optional">
|
---|
| 112 | <xref linkend="docbook-utils"/>,
|
---|
[2ba0c1a] | 113 | <xref linkend="gs"/>
|
---|
| 114 | <xref linkend="libxslt"/> and
|
---|
[2d98031c] | 115 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
|
---|
[cc60178] | 116 | </para>
|
---|
[a7bd2b6f] | 117 |
|
---|
[0e2aa08] | 118 | <para condition="html" role="usernotes">User Notes:
|
---|
[2ba0c1a] | 119 | <ulink url="&blfs-wiki;/gstreamer"/>
|
---|
| 120 | </para>
|
---|
[a7bd2b6f] | 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="installation">
|
---|
| 124 | <title>Installation of GStreamer</title>
|
---|
| 125 |
|
---|
[2ba0c1a] | 126 | <para>
|
---|
| 127 | Install <application>GStreamer</application> by running the following
|
---|
| 128 | commands:
|
---|
| 129 | </para>
|
---|
[a7bd2b6f] | 130 |
|
---|
[2a33982] | 131 | <screen><userinput>sed -i -e '/YYLEX_PARAM/d' \
|
---|
| 132 | -e '/parse-param.*scanner/i %lex-param { void *scanner }' \
|
---|
| 133 | gst/parse/grammar.y &&
|
---|
| 134 |
|
---|
| 135 | ./configure --prefix=/usr \
|
---|
[2ba0c1a] | 136 | --disable-static &&
|
---|
[a7bd2b6f] | 137 | make</userinput></screen>
|
---|
[11d6d1ac] | 138 |
|
---|
[2ba0c1a] | 139 | <para>
|
---|
| 140 | To test the results, issue: <command>make check</command>. There are
|
---|
| 141 | many other <filename>Makefile</filename> targets you can specify for
|
---|
| 142 | running the tests, issue <command>make -C tests/check help</command>
|
---|
| 143 | to see the complete list.
|
---|
| 144 | </para>
|
---|
[e93d40c5] | 145 |
|
---|
[2ba0c1a] | 146 | <para>
|
---|
| 147 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 148 | </para>
|
---|
[11d6d1ac] | 149 |
|
---|
[a7bd2b6f] | 150 | <screen role="root"><userinput>make install &&
|
---|
[a68c66aa] | 151 | install -v -m755 -d /usr/share/doc/gstreamer-0.10/design &&
|
---|
| 152 | install -v -m644 docs/design/*.txt \
|
---|
| 153 | /usr/share/doc/gstreamer-0.10/design &&
|
---|
[ba6f749] | 154 |
|
---|
[a68c66aa] | 155 | if [ -d /usr/share/doc/gstreamer-0.10/faq/html ]; then
|
---|
[ec5db802] | 156 | chown -v -R root:root \
|
---|
[a68c66aa] | 157 | /usr/share/doc/gstreamer-0.10/*/html
|
---|
| 158 | fi</userinput></screen>
|
---|
| 159 |
|
---|
| 160 | <sect3>
|
---|
| 161 | <title>Testing the Installation</title>
|
---|
| 162 |
|
---|
[2ba0c1a] | 163 | <para>
|
---|
| 164 | To test the functionality of the
|
---|
| 165 | <application>GStreamer</application> installation, you can run a
|
---|
| 166 | simple test as an unprivileged user (you may have to run
|
---|
| 167 | <command>ldconfig</command> as the
|
---|
| 168 | <systemitem class="username">root</systemitem> user before
|
---|
| 169 | attempting the test).
|
---|
| 170 | </para>
|
---|
[a68c66aa] | 171 |
|
---|
| 172 | <screen><userinput>gst-launch -v fakesrc num_buffers=5 ! fakesink</userinput></screen>
|
---|
| 173 |
|
---|
[2ba0c1a] | 174 | <para>
|
---|
| 175 | If the command outputs a series of messages from fakesrc and
|
---|
| 176 | fakesink, everything is okay.
|
---|
| 177 | </para>
|
---|
[a68c66aa] | 178 |
|
---|
| 179 | </sect3>
|
---|
[a7bd2b6f] | 180 |
|
---|
| 181 | </sect2>
|
---|
| 182 |
|
---|
| 183 | <sect2 role="commands">
|
---|
| 184 | <title>Command Explanations</title>
|
---|
| 185 |
|
---|
[2a33982] | 186 | <para>
|
---|
| 187 | <command>sed ... gst/parse/grammar.y</command>: This command corrects
|
---|
| 188 | a problem caused by the most recent version of Bison.
|
---|
| 189 | </para>
|
---|
| 190 |
|
---|
[aeff7f4] | 191 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[2ba0c1a] | 192 | href="../../xincludes/static-libraries.xml"/>
|
---|
[aeff7f4] | 193 |
|
---|
[2ba0c1a] | 194 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 195 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[cc60178] | 196 |
|
---|
[2ba0c1a] | 197 | <para>
|
---|
| 198 | <option>--enable-docbook</option>: This parameter is used to build
|
---|
| 199 | HTML, PDF and PostScript versions of the
|
---|
| 200 | <application>GStreamer</application> User's Manual, FAQ and Writer's
|
---|
| 201 | Guide. Note that you must have all the listed dependencies installed.
|
---|
| 202 | </para>
|
---|
[a68c66aa] | 203 |
|
---|
[2ba0c1a] | 204 | <para>
|
---|
| 205 | <command>chown -v -R root:root ...</command>: The documentation is
|
---|
[f96eaed8] | 206 | installed with the ownership of the user who untarred and built the
|
---|
| 207 | package. This command changes the ownership of the installed
|
---|
| 208 | documentation files to root:root, and is only executed if the
|
---|
[2ba0c1a] | 209 | documentation files were built and installed.
|
---|
| 210 | </para>
|
---|
[a7bd2b6f] | 211 |
|
---|
| 212 | </sect2>
|
---|
| 213 |
|
---|
| 214 | <sect2 role="content">
|
---|
| 215 | <title>Contents</title>
|
---|
| 216 |
|
---|
| 217 | <segmentedlist>
|
---|
| 218 | <segtitle>Installed Programs</segtitle>
|
---|
| 219 | <segtitle>Installed Libraries</segtitle>
|
---|
| 220 | <segtitle>Installed Directories</segtitle>
|
---|
| 221 |
|
---|
| 222 | <seglistitem>
|
---|
[2ba0c1a] | 223 | <seg>
|
---|
| 224 | gst-feedback, gst-feedback-0.10, gst-inspect, gst-inspect-0.10,
|
---|
| 225 | gst-launch, gst-launch-0.10, gst-typefind, gst-typefind-0.10,
|
---|
| 226 | gst-xmlinspect, gst-xmlinspect-0.10, gst-xmllaunch and
|
---|
[0d7900a] | 227 | gst-xmllaunch-0.10
|
---|
[2ba0c1a] | 228 | </seg>
|
---|
| 229 | <seg>
|
---|
| 230 | libgstbase-0.10.so, libgstcheck-0.10.so, libgstcontroller-0.10.so,
|
---|
| 231 | libgstdataprotocol-0.10.so, libgstnet-0.10.so and
|
---|
| 232 | libgstreamer-0.10.so
|
---|
| 233 | </seg>
|
---|
| 234 | <seg>
|
---|
| 235 | /usr/include/gstreamer-0.10,
|
---|
| 236 | /usr/lib/gstreamer-0.10,
|
---|
[67bd7d46] | 237 | /usr/libexec/gstreamer-0.10,
|
---|
[2ba0c1a] | 238 | /usr/share/gtk-doc/html/gstreamer-0.10,
|
---|
| 239 | /usr/share/gtk-doc/html/gstreamer-libs-0.10 and
|
---|
| 240 | /usr/share/gtk-doc/html/gstreamer-plugins-0.10
|
---|
| 241 | </seg>
|
---|
[a7bd2b6f] | 242 | </seglistitem>
|
---|
| 243 | </segmentedlist>
|
---|
| 244 |
|
---|
| 245 | <variablelist>
|
---|
| 246 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 247 | <?dbfo list-presentation="list"?>
|
---|
| 248 | <?dbhtml list-presentation="table"?>
|
---|
| 249 |
|
---|
| 250 | <varlistentry id="gst-feedback">
|
---|
[a68c66aa] | 251 | <term><command>gst-feedback-0.10</command></term>
|
---|
[a7bd2b6f] | 252 | <listitem>
|
---|
[2ba0c1a] | 253 | <para>
|
---|
| 254 | generates debug info for <application>GStreamer</application>
|
---|
| 255 | bug reports.
|
---|
| 256 | </para>
|
---|
[a7bd2b6f] | 257 | <indexterm zone="gstreamer gst-feedback">
|
---|
[a68c66aa] | 258 | <primary sortas="b-gst-feedback">gst-feedback-0.10</primary>
|
---|
[a7bd2b6f] | 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
| 263 | <varlistentry id="gst-inspect">
|
---|
[a68c66aa] | 264 | <term><command>gst-inspect-0.10</command></term>
|
---|
[a7bd2b6f] | 265 | <listitem>
|
---|
[2ba0c1a] | 266 | <para>
|
---|
| 267 | prints information about a
|
---|
| 268 | <application>GStreamer</application> plugin or element.
|
---|
| 269 | </para>
|
---|
[a7bd2b6f] | 270 | <indexterm zone="gstreamer gst-inspect">
|
---|
[a68c66aa] | 271 | <primary sortas="b-gst-inspect">gst-inspect-0.10</primary>
|
---|
[a7bd2b6f] | 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
| 276 | <varlistentry id="gst-launch">
|
---|
[a68c66aa] | 277 | <term><command>gst-launch-0.10</command></term>
|
---|
[a7bd2b6f] | 278 | <listitem>
|
---|
[2ba0c1a] | 279 | <para>
|
---|
| 280 | is a tool that builds and runs basic
|
---|
| 281 | <application>GStreamer</application> pipelines.
|
---|
| 282 | </para>
|
---|
[a7bd2b6f] | 283 | <indexterm zone="gstreamer gst-launch">
|
---|
[a68c66aa] | 284 | <primary sortas="b-gst-launch">gst-launch-0.10</primary>
|
---|
[a7bd2b6f] | 285 | </indexterm>
|
---|
| 286 | </listitem>
|
---|
| 287 | </varlistentry>
|
---|
| 288 |
|
---|
| 289 | <varlistentry id="gst-typefind">
|
---|
[a68c66aa] | 290 | <term><command>gst-typefind-0.10</command></term>
|
---|
[a7bd2b6f] | 291 | <listitem>
|
---|
[2ba0c1a] | 292 | <para>
|
---|
| 293 | uses the <application>GStreamer</application> type finding system
|
---|
| 294 | to determine the relevant <application>GStreamer</application>
|
---|
| 295 | plugin to parse or decode a file, and determine the corresponding
|
---|
| 296 | MIME type.
|
---|
| 297 | </para>
|
---|
[a7bd2b6f] | 298 | <indexterm zone="gstreamer gst-typefind">
|
---|
[a68c66aa] | 299 | <primary sortas="b-gst-typefind">gst-typefind-0.10</primary>
|
---|
[a7bd2b6f] | 300 | </indexterm>
|
---|
| 301 | </listitem>
|
---|
| 302 | </varlistentry>
|
---|
| 303 |
|
---|
| 304 | <varlistentry id="gst-xmlinspect">
|
---|
[a68c66aa] | 305 | <term><command>gst-xmlinspect-0.10</command></term>
|
---|
[a7bd2b6f] | 306 | <listitem>
|
---|
[2ba0c1a] | 307 | <para>
|
---|
| 308 | prints information about a <application>GStreamer</application>
|
---|
| 309 | plugin or element in XML document format.
|
---|
| 310 | </para>
|
---|
[a7bd2b6f] | 311 | <indexterm zone="gstreamer gst-xmlinspect">
|
---|
[a68c66aa] | 312 | <primary sortas="b-gst-xmlinspect">gst-xmlinspect-0.10</primary>
|
---|
[a7bd2b6f] | 313 | </indexterm>
|
---|
| 314 | </listitem>
|
---|
| 315 | </varlistentry>
|
---|
| 316 |
|
---|
| 317 | <varlistentry id="gst-xmllaunch">
|
---|
[a68c66aa] | 318 | <term><command>gst-xmllaunch-0.10</command></term>
|
---|
[a7bd2b6f] | 319 | <listitem>
|
---|
[2ba0c1a] | 320 | <para>
|
---|
| 321 | is used to build and run a basic <application>GStreamer</application>
|
---|
| 322 | pipeline, loading it from an XML description.
|
---|
| 323 | </para>
|
---|
[a7bd2b6f] | 324 | <indexterm zone="gstreamer gst-xmllaunch">
|
---|
[a68c66aa] | 325 | <primary sortas="b-gst-xmllaunch">gst-xmllaunch-0.10</primary>
|
---|
[a7bd2b6f] | 326 | </indexterm>
|
---|
| 327 | </listitem>
|
---|
| 328 | </varlistentry>
|
---|
| 329 |
|
---|
| 330 | </variablelist>
|
---|
| 331 |
|
---|
| 332 | </sect2>
|
---|
[967a388] | 333 |
|
---|
| 334 | </sect1>
|
---|