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