[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 |
|
---|
[2a33982] | 45 | &lfs74_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"/>,
|
---|
[cf3ddc0c] | 99 | <ulink url="http://www.valgrind.org/">Valgrind</ulink>
|
---|
[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
|
---|
| 108 | <xref linkend="python2"/> (compiled against an XML Parser such as
|
---|
[2ba0c1a] | 109 | <xref linkend="expat"/>).
|
---|
[cc60178] | 110 | </para>
|
---|
[a68c66aa] | 111 |
|
---|
[2ba0c1a] | 112 | <bridgehead renderas="sect4">Optional (Required to Build Manuals)</bridgehead>
|
---|
[4c2be438] | 113 | <para role="optional">
|
---|
| 114 | <xref linkend="docbook-utils"/>,
|
---|
[2ba0c1a] | 115 | <xref linkend="gs"/>
|
---|
| 116 | <xref linkend="libxslt"/> and
|
---|
| 117 | <xref linkend="texlive"/>
|
---|
[cc60178] | 118 | </para>
|
---|
[a7bd2b6f] | 119 |
|
---|
[0e2aa08] | 120 | <para condition="html" role="usernotes">User Notes:
|
---|
[2ba0c1a] | 121 | <ulink url="&blfs-wiki;/gstreamer"/>
|
---|
| 122 | </para>
|
---|
[a7bd2b6f] | 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="installation">
|
---|
| 126 | <title>Installation of GStreamer</title>
|
---|
| 127 |
|
---|
[2ba0c1a] | 128 | <para>
|
---|
| 129 | Install <application>GStreamer</application> by running the following
|
---|
| 130 | commands:
|
---|
| 131 | </para>
|
---|
[a7bd2b6f] | 132 |
|
---|
[2a33982] | 133 | <screen><userinput>sed -i -e '/YYLEX_PARAM/d' \
|
---|
| 134 | -e '/parse-param.*scanner/i %lex-param { void *scanner }' \
|
---|
| 135 | gst/parse/grammar.y &&
|
---|
| 136 |
|
---|
| 137 | ./configure --prefix=/usr \
|
---|
[2ba0c1a] | 138 | --libexecdir=/usr/lib \
|
---|
| 139 | --disable-static &&
|
---|
[a7bd2b6f] | 140 | make</userinput></screen>
|
---|
[11d6d1ac] | 141 |
|
---|
[2ba0c1a] | 142 | <para>
|
---|
| 143 | To test the results, issue: <command>make check</command>. There are
|
---|
| 144 | many other <filename>Makefile</filename> targets you can specify for
|
---|
| 145 | running the tests, issue <command>make -C tests/check help</command>
|
---|
| 146 | to see the complete list.
|
---|
| 147 | </para>
|
---|
[e93d40c5] | 148 |
|
---|
[2ba0c1a] | 149 | <para>
|
---|
| 150 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 151 | </para>
|
---|
[11d6d1ac] | 152 |
|
---|
[a7bd2b6f] | 153 | <screen role="root"><userinput>make install &&
|
---|
[a68c66aa] | 154 | install -v -m755 -d /usr/share/doc/gstreamer-0.10/design &&
|
---|
| 155 | install -v -m644 docs/design/*.txt \
|
---|
| 156 | /usr/share/doc/gstreamer-0.10/design &&
|
---|
[ba6f749] | 157 |
|
---|
[a68c66aa] | 158 | if [ -d /usr/share/doc/gstreamer-0.10/faq/html ]; then
|
---|
[ec5db802] | 159 | chown -v -R root:root \
|
---|
[a68c66aa] | 160 | /usr/share/doc/gstreamer-0.10/*/html
|
---|
| 161 | fi</userinput></screen>
|
---|
| 162 |
|
---|
| 163 | <sect3>
|
---|
| 164 | <title>Testing the Installation</title>
|
---|
| 165 |
|
---|
[2ba0c1a] | 166 | <para>
|
---|
| 167 | To test the functionality of the
|
---|
| 168 | <application>GStreamer</application> installation, you can run a
|
---|
| 169 | simple test as an unprivileged user (you may have to run
|
---|
| 170 | <command>ldconfig</command> as the
|
---|
| 171 | <systemitem class="username">root</systemitem> user before
|
---|
| 172 | attempting the test).
|
---|
| 173 | </para>
|
---|
[a68c66aa] | 174 |
|
---|
| 175 | <screen><userinput>gst-launch -v fakesrc num_buffers=5 ! fakesink</userinput></screen>
|
---|
| 176 |
|
---|
[2ba0c1a] | 177 | <para>
|
---|
| 178 | If the command outputs a series of messages from fakesrc and
|
---|
| 179 | fakesink, everything is okay.
|
---|
| 180 | </para>
|
---|
[a68c66aa] | 181 |
|
---|
| 182 | </sect3>
|
---|
[a7bd2b6f] | 183 |
|
---|
| 184 | </sect2>
|
---|
| 185 |
|
---|
| 186 | <sect2 role="commands">
|
---|
| 187 | <title>Command Explanations</title>
|
---|
| 188 |
|
---|
[2a33982] | 189 | <para>
|
---|
| 190 | <command>sed ... gst/parse/grammar.y</command>: This command corrects
|
---|
| 191 | a problem caused by the most recent version of Bison.
|
---|
| 192 | </para>
|
---|
| 193 |
|
---|
[2ba0c1a] | 194 | <para>
|
---|
| 195 | <parameter>--libexecdir=/usr/lib</parameter>: This parameter is used
|
---|
| 196 | so that the <application>GStreamer</application> internal support programs
|
---|
| 197 | are installed in the preferred location of <filename
|
---|
| 198 | class="directory">/usr/lib/gstreamer-0.10</filename> instead of <filename
|
---|
| 199 | class="directory">/usr/libexec/gstreamer-0.10</filename>.
|
---|
| 200 | </para>
|
---|
[aeff7f4] | 201 |
|
---|
| 202 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[2ba0c1a] | 203 | href="../../xincludes/static-libraries.xml"/>
|
---|
[aeff7f4] | 204 |
|
---|
[2ba0c1a] | 205 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 206 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[cc60178] | 207 |
|
---|
[2ba0c1a] | 208 | <para>
|
---|
| 209 | <option>--enable-docbook</option>: This parameter is used to build
|
---|
| 210 | HTML, PDF and PostScript versions of the
|
---|
| 211 | <application>GStreamer</application> User's Manual, FAQ and Writer's
|
---|
| 212 | Guide. Note that you must have all the listed dependencies installed.
|
---|
| 213 | </para>
|
---|
[a68c66aa] | 214 |
|
---|
[2ba0c1a] | 215 | <para>
|
---|
| 216 | <command>chown -v -R root:root ...</command>: The documentation is
|
---|
[f96eaed8] | 217 | installed with the ownership of the user who untarred and built the
|
---|
| 218 | package. This command changes the ownership of the installed
|
---|
| 219 | documentation files to root:root, and is only executed if the
|
---|
[2ba0c1a] | 220 | documentation files were built and installed.
|
---|
| 221 | </para>
|
---|
[a7bd2b6f] | 222 |
|
---|
| 223 | </sect2>
|
---|
| 224 |
|
---|
| 225 | <sect2 role="content">
|
---|
| 226 | <title>Contents</title>
|
---|
| 227 |
|
---|
| 228 | <segmentedlist>
|
---|
| 229 | <segtitle>Installed Programs</segtitle>
|
---|
| 230 | <segtitle>Installed Libraries</segtitle>
|
---|
| 231 | <segtitle>Installed Directories</segtitle>
|
---|
| 232 |
|
---|
| 233 | <seglistitem>
|
---|
[2ba0c1a] | 234 | <seg>
|
---|
| 235 | gst-feedback, gst-feedback-0.10, gst-inspect, gst-inspect-0.10,
|
---|
| 236 | gst-launch, gst-launch-0.10, gst-typefind, gst-typefind-0.10,
|
---|
| 237 | gst-xmlinspect, gst-xmlinspect-0.10, gst-xmllaunch and
|
---|
[0d7900a] | 238 | gst-xmllaunch-0.10
|
---|
[2ba0c1a] | 239 | </seg>
|
---|
| 240 | <seg>
|
---|
| 241 | libgstbase-0.10.so, libgstcheck-0.10.so, libgstcontroller-0.10.so,
|
---|
| 242 | libgstdataprotocol-0.10.so, libgstnet-0.10.so and
|
---|
| 243 | libgstreamer-0.10.so
|
---|
| 244 | </seg>
|
---|
| 245 | <seg>
|
---|
| 246 | /usr/include/gstreamer-0.10,
|
---|
| 247 | /usr/lib/gstreamer-0.10,
|
---|
| 248 | /usr/share/gtk-doc/html/gstreamer-0.10,
|
---|
| 249 | /usr/share/gtk-doc/html/gstreamer-libs-0.10 and
|
---|
| 250 | /usr/share/gtk-doc/html/gstreamer-plugins-0.10
|
---|
| 251 | </seg>
|
---|
[a7bd2b6f] | 252 | </seglistitem>
|
---|
| 253 | </segmentedlist>
|
---|
| 254 |
|
---|
| 255 | <variablelist>
|
---|
| 256 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 257 | <?dbfo list-presentation="list"?>
|
---|
| 258 | <?dbhtml list-presentation="table"?>
|
---|
| 259 |
|
---|
| 260 | <varlistentry id="gst-feedback">
|
---|
[a68c66aa] | 261 | <term><command>gst-feedback-0.10</command></term>
|
---|
[a7bd2b6f] | 262 | <listitem>
|
---|
[2ba0c1a] | 263 | <para>
|
---|
| 264 | generates debug info for <application>GStreamer</application>
|
---|
| 265 | bug reports.
|
---|
| 266 | </para>
|
---|
[a7bd2b6f] | 267 | <indexterm zone="gstreamer gst-feedback">
|
---|
[a68c66aa] | 268 | <primary sortas="b-gst-feedback">gst-feedback-0.10</primary>
|
---|
[a7bd2b6f] | 269 | </indexterm>
|
---|
| 270 | </listitem>
|
---|
| 271 | </varlistentry>
|
---|
| 272 |
|
---|
| 273 | <varlistentry id="gst-inspect">
|
---|
[a68c66aa] | 274 | <term><command>gst-inspect-0.10</command></term>
|
---|
[a7bd2b6f] | 275 | <listitem>
|
---|
[2ba0c1a] | 276 | <para>
|
---|
| 277 | prints information about a
|
---|
| 278 | <application>GStreamer</application> plugin or element.
|
---|
| 279 | </para>
|
---|
[a7bd2b6f] | 280 | <indexterm zone="gstreamer gst-inspect">
|
---|
[a68c66aa] | 281 | <primary sortas="b-gst-inspect">gst-inspect-0.10</primary>
|
---|
[a7bd2b6f] | 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
| 284 | </varlistentry>
|
---|
| 285 |
|
---|
| 286 | <varlistentry id="gst-launch">
|
---|
[a68c66aa] | 287 | <term><command>gst-launch-0.10</command></term>
|
---|
[a7bd2b6f] | 288 | <listitem>
|
---|
[2ba0c1a] | 289 | <para>
|
---|
| 290 | is a tool that builds and runs basic
|
---|
| 291 | <application>GStreamer</application> pipelines.
|
---|
| 292 | </para>
|
---|
[a7bd2b6f] | 293 | <indexterm zone="gstreamer gst-launch">
|
---|
[a68c66aa] | 294 | <primary sortas="b-gst-launch">gst-launch-0.10</primary>
|
---|
[a7bd2b6f] | 295 | </indexterm>
|
---|
| 296 | </listitem>
|
---|
| 297 | </varlistentry>
|
---|
| 298 |
|
---|
| 299 | <varlistentry id="gst-typefind">
|
---|
[a68c66aa] | 300 | <term><command>gst-typefind-0.10</command></term>
|
---|
[a7bd2b6f] | 301 | <listitem>
|
---|
[2ba0c1a] | 302 | <para>
|
---|
| 303 | uses the <application>GStreamer</application> type finding system
|
---|
| 304 | to determine the relevant <application>GStreamer</application>
|
---|
| 305 | plugin to parse or decode a file, and determine the corresponding
|
---|
| 306 | MIME type.
|
---|
| 307 | </para>
|
---|
[a7bd2b6f] | 308 | <indexterm zone="gstreamer gst-typefind">
|
---|
[a68c66aa] | 309 | <primary sortas="b-gst-typefind">gst-typefind-0.10</primary>
|
---|
[a7bd2b6f] | 310 | </indexterm>
|
---|
| 311 | </listitem>
|
---|
| 312 | </varlistentry>
|
---|
| 313 |
|
---|
| 314 | <varlistentry id="gst-xmlinspect">
|
---|
[a68c66aa] | 315 | <term><command>gst-xmlinspect-0.10</command></term>
|
---|
[a7bd2b6f] | 316 | <listitem>
|
---|
[2ba0c1a] | 317 | <para>
|
---|
| 318 | prints information about a <application>GStreamer</application>
|
---|
| 319 | plugin or element in XML document format.
|
---|
| 320 | </para>
|
---|
[a7bd2b6f] | 321 | <indexterm zone="gstreamer gst-xmlinspect">
|
---|
[a68c66aa] | 322 | <primary sortas="b-gst-xmlinspect">gst-xmlinspect-0.10</primary>
|
---|
[a7bd2b6f] | 323 | </indexterm>
|
---|
| 324 | </listitem>
|
---|
| 325 | </varlistentry>
|
---|
| 326 |
|
---|
| 327 | <varlistentry id="gst-xmllaunch">
|
---|
[a68c66aa] | 328 | <term><command>gst-xmllaunch-0.10</command></term>
|
---|
[a7bd2b6f] | 329 | <listitem>
|
---|
[2ba0c1a] | 330 | <para>
|
---|
| 331 | is used to build and run a basic <application>GStreamer</application>
|
---|
| 332 | pipeline, loading it from an XML description.
|
---|
| 333 | </para>
|
---|
[a7bd2b6f] | 334 | <indexterm zone="gstreamer gst-xmllaunch">
|
---|
[a68c66aa] | 335 | <primary sortas="b-gst-xmllaunch">gst-xmllaunch-0.10</primary>
|
---|
[a7bd2b6f] | 336 | </indexterm>
|
---|
| 337 | </listitem>
|
---|
| 338 | </varlistentry>
|
---|
| 339 |
|
---|
| 340 | </variablelist>
|
---|
| 341 |
|
---|
| 342 | </sect2>
|
---|
[967a388] | 343 |
|
---|
| 344 | </sect1>
|
---|