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