[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 |
|
---|
[c0135e8c] | 45 | &lfs72_checked;
|
---|
[a7bd2b6f] | 46 |
|
---|
| 47 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 48 | <itemizedlist spacing="compact">
|
---|
| 49 | <listitem>
|
---|
[2ba0c1a] | 50 | <para>
|
---|
| 51 | Download (HTTP): <ulink url="&gstreamer-download-http;"/>
|
---|
| 52 | </para>
|
---|
[a7bd2b6f] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[2ba0c1a] | 55 | <para>
|
---|
| 56 | Download (FTP): <ulink url="&gstreamer-download-ftp;"/>
|
---|
| 57 | </para>
|
---|
[a7bd2b6f] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[2ba0c1a] | 60 | <para>
|
---|
| 61 | Download MD5 sum: &gstreamer-md5sum;
|
---|
| 62 | </para>
|
---|
[a7bd2b6f] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[2ba0c1a] | 65 | <para>
|
---|
| 66 | Download size: &gstreamer-size;
|
---|
| 67 | </para>
|
---|
[a7bd2b6f] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[2ba0c1a] | 70 | <para>
|
---|
| 71 | Estimated disk space required: &gstreamer-buildsize;
|
---|
| 72 | </para>
|
---|
[a7bd2b6f] | 73 | </listitem>
|
---|
| 74 | <listitem>
|
---|
[2ba0c1a] | 75 | <para>
|
---|
| 76 | Estimated build time: &gstreamer-time;
|
---|
| 77 | </para>
|
---|
[a7bd2b6f] | 78 | </listitem>
|
---|
| 79 | </itemizedlist>
|
---|
| 80 |
|
---|
[ab5b06b] | 81 | <bridgehead renderas="sect3">GStreamer Dependencies</bridgehead>
|
---|
[a7bd2b6f] | 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4c2be438] | 84 | <para role="required">
|
---|
[f7e3016] | 85 | <xref linkend="glib2"/> and
|
---|
| 86 | <xref linkend="libxml2"/>
|
---|
[4c2be438] | 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
| 91 | <xref linkend="gobject-introspection"/>
|
---|
| 92 | </para>
|
---|
[a7bd2b6f] | 93 |
|
---|
| 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4c2be438] | 95 | <para role="optional">
|
---|
[37bea21] | 96 | <xref linkend="gsl"/>,
|
---|
[cf3ddc0c] | 97 | <ulink url="http://www.valgrind.org/">Valgrind</ulink>
|
---|
[4c2be438] | 98 | (optionaly used during the unit regression tests)
|
---|
[cf3ddc0c] | 99 | </para>
|
---|
[a68c66aa] | 100 |
|
---|
[2ba0c1a] | 101 | <bridgehead renderas="sect4">
|
---|
| 102 | Optional (Required to rebuild the API Documentation)
|
---|
| 103 | </bridgehead>
|
---|
[4c2be438] | 104 | <para role="optional">
|
---|
| 105 | <xref linkend="gtk-doc"/> and
|
---|
| 106 | <xref linkend="python2"/> (compiled against an XML Parser such as
|
---|
[2ba0c1a] | 107 | <xref linkend="expat"/>).
|
---|
[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
|
---|
| 115 | <xref linkend="texlive"/>
|
---|
[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 |
|
---|
[cc60178] | 131 | <screen><userinput>sed -i 's/\(.*gtkdoc-rebase --relative.* \)\(;.*\)/\1|| true\2/' \
|
---|
| 132 | docs/{gst,libs}/Makefile.in &&
|
---|
[aeff7f4] | 133 | ./configure --prefix=/usr \
|
---|
[2ba0c1a] | 134 | --libexecdir=/usr/lib \
|
---|
| 135 | --disable-static &&
|
---|
[a7bd2b6f] | 136 | make</userinput></screen>
|
---|
[11d6d1ac] | 137 |
|
---|
[2ba0c1a] | 138 | <para>
|
---|
| 139 | To test the results, issue: <command>make check</command>. There are
|
---|
| 140 | many other <filename>Makefile</filename> targets you can specify for
|
---|
| 141 | running the tests, issue <command>make -C tests/check help</command>
|
---|
| 142 | to see the complete list.
|
---|
| 143 | </para>
|
---|
[e93d40c5] | 144 |
|
---|
[2ba0c1a] | 145 | <para>
|
---|
| 146 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 147 | </para>
|
---|
[11d6d1ac] | 148 |
|
---|
[a7bd2b6f] | 149 | <screen role="root"><userinput>make install &&
|
---|
[a68c66aa] | 150 | install -v -m755 -d /usr/share/doc/gstreamer-0.10/design &&
|
---|
| 151 | install -v -m644 docs/design/*.txt \
|
---|
| 152 | /usr/share/doc/gstreamer-0.10/design &&
|
---|
[ba6f749] | 153 |
|
---|
[a68c66aa] | 154 | if [ -d /usr/share/doc/gstreamer-0.10/faq/html ]; then
|
---|
[ec5db802] | 155 | chown -v -R root:root \
|
---|
[a68c66aa] | 156 | /usr/share/doc/gstreamer-0.10/*/html
|
---|
| 157 | fi</userinput></screen>
|
---|
| 158 |
|
---|
| 159 | <sect3>
|
---|
| 160 | <title>Testing the Installation</title>
|
---|
| 161 |
|
---|
[2ba0c1a] | 162 | <para>
|
---|
| 163 | To test the functionality of the
|
---|
| 164 | <application>GStreamer</application> installation, you can run a
|
---|
| 165 | simple test as an unprivileged user (you may have to run
|
---|
| 166 | <command>ldconfig</command> as the
|
---|
| 167 | <systemitem class="username">root</systemitem> user before
|
---|
| 168 | attempting the test).
|
---|
| 169 | </para>
|
---|
[a68c66aa] | 170 |
|
---|
| 171 | <screen><userinput>gst-launch -v fakesrc num_buffers=5 ! fakesink</userinput></screen>
|
---|
| 172 |
|
---|
[2ba0c1a] | 173 | <para>
|
---|
| 174 | If the command outputs a series of messages from fakesrc and
|
---|
| 175 | fakesink, everything is okay.
|
---|
| 176 | </para>
|
---|
[a68c66aa] | 177 |
|
---|
| 178 | </sect3>
|
---|
[a7bd2b6f] | 179 |
|
---|
| 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | <sect2 role="commands">
|
---|
| 183 | <title>Command Explanations</title>
|
---|
| 184 |
|
---|
[2ba0c1a] | 185 | <para>
|
---|
| 186 | <command>sed -i 's/\(.*gtkdoc-rebase --relative.* \)\(;.*\)/\1|| true\2/' \
|
---|
| 187 | docs/{gst,libs}/Makefile.in</command>: Two of the Makefiles test if
|
---|
| 188 | <command>gtkdoc-rebase</command> is present, and only use it if it is,
|
---|
| 189 | but the test <command>which gtk-doc</command> is interpreted as an error by
|
---|
| 190 | <command>make</command> if <command>gtkdoc-rebase</command> is not present.
|
---|
| 191 | The <command>sed</command> command ensures the command is always regarded as
|
---|
| 192 | successful.
|
---|
| 193 | </para>
|
---|
[cc60178] | 194 |
|
---|
[2ba0c1a] | 195 | <para>
|
---|
| 196 | <parameter>--libexecdir=/usr/lib</parameter>: This parameter is used
|
---|
| 197 | so that the <application>GStreamer</application> internal support programs
|
---|
| 198 | are installed in the preferred location of <filename
|
---|
| 199 | class="directory">/usr/lib/gstreamer-0.10</filename> instead of <filename
|
---|
| 200 | class="directory">/usr/libexec/gstreamer-0.10</filename>.
|
---|
| 201 | </para>
|
---|
[aeff7f4] | 202 |
|
---|
| 203 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[2ba0c1a] | 204 | href="../../xincludes/static-libraries.xml"/>
|
---|
[aeff7f4] | 205 |
|
---|
[2ba0c1a] | 206 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 207 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[cc60178] | 208 |
|
---|
[2ba0c1a] | 209 | <para>
|
---|
| 210 | <option>--enable-docbook</option>: This parameter is used to build
|
---|
| 211 | HTML, PDF and PostScript versions of the
|
---|
| 212 | <application>GStreamer</application> User's Manual, FAQ and Writer's
|
---|
| 213 | Guide. Note that you must have all the listed dependencies installed.
|
---|
| 214 | </para>
|
---|
[a68c66aa] | 215 |
|
---|
[2ba0c1a] | 216 | <para>
|
---|
| 217 | <command>chown -v -R root:root ...</command>: The documentation is
|
---|
| 218 | installed with ownerships of the user who untarred and built the
|
---|
| 219 | package. This command changes the ownerships of the installed
|
---|
| 220 | documentation files to root:root and is only executed if the
|
---|
| 221 | documentation files were built and installed.
|
---|
| 222 | </para>
|
---|
[a7bd2b6f] | 223 |
|
---|
| 224 | </sect2>
|
---|
| 225 |
|
---|
| 226 | <sect2 role="content">
|
---|
| 227 | <title>Contents</title>
|
---|
| 228 |
|
---|
| 229 | <segmentedlist>
|
---|
| 230 | <segtitle>Installed Programs</segtitle>
|
---|
| 231 | <segtitle>Installed Libraries</segtitle>
|
---|
| 232 | <segtitle>Installed Directories</segtitle>
|
---|
| 233 |
|
---|
| 234 | <seglistitem>
|
---|
[2ba0c1a] | 235 | <seg>
|
---|
| 236 | gst-feedback, gst-feedback-0.10, gst-inspect, gst-inspect-0.10,
|
---|
| 237 | gst-launch, gst-launch-0.10, gst-typefind, gst-typefind-0.10,
|
---|
| 238 | gst-xmlinspect, gst-xmlinspect-0.10, gst-xmllaunch and
|
---|
| 239 | gst-xmllaunch-0.10
|
---|
| 240 | </seg>
|
---|
| 241 | <seg>
|
---|
| 242 | libgstbase-0.10.so, libgstcheck-0.10.so, libgstcontroller-0.10.so,
|
---|
| 243 | libgstdataprotocol-0.10.so, libgstnet-0.10.so and
|
---|
| 244 | libgstreamer-0.10.so
|
---|
| 245 | </seg>
|
---|
| 246 | <seg>
|
---|
| 247 | /usr/include/gstreamer-0.10,
|
---|
| 248 | /usr/lib/gstreamer-0.10,
|
---|
| 249 | /usr/share/gtk-doc/html/gstreamer-0.10,
|
---|
| 250 | /usr/share/gtk-doc/html/gstreamer-libs-0.10 and
|
---|
| 251 | /usr/share/gtk-doc/html/gstreamer-plugins-0.10
|
---|
| 252 | </seg>
|
---|
[a7bd2b6f] | 253 | </seglistitem>
|
---|
| 254 | </segmentedlist>
|
---|
| 255 |
|
---|
| 256 | <variablelist>
|
---|
| 257 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 258 | <?dbfo list-presentation="list"?>
|
---|
| 259 | <?dbhtml list-presentation="table"?>
|
---|
| 260 |
|
---|
| 261 | <varlistentry id="gst-feedback">
|
---|
[a68c66aa] | 262 | <term><command>gst-feedback-0.10</command></term>
|
---|
[a7bd2b6f] | 263 | <listitem>
|
---|
[2ba0c1a] | 264 | <para>
|
---|
| 265 | generates debug info for <application>GStreamer</application>
|
---|
| 266 | bug reports.
|
---|
| 267 | </para>
|
---|
[a7bd2b6f] | 268 | <indexterm zone="gstreamer gst-feedback">
|
---|
[a68c66aa] | 269 | <primary sortas="b-gst-feedback">gst-feedback-0.10</primary>
|
---|
[a7bd2b6f] | 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
| 274 | <varlistentry id="gst-inspect">
|
---|
[a68c66aa] | 275 | <term><command>gst-inspect-0.10</command></term>
|
---|
[a7bd2b6f] | 276 | <listitem>
|
---|
[2ba0c1a] | 277 | <para>
|
---|
| 278 | prints information about a
|
---|
| 279 | <application>GStreamer</application> plugin or element.
|
---|
| 280 | </para>
|
---|
[a7bd2b6f] | 281 | <indexterm zone="gstreamer gst-inspect">
|
---|
[a68c66aa] | 282 | <primary sortas="b-gst-inspect">gst-inspect-0.10</primary>
|
---|
[a7bd2b6f] | 283 | </indexterm>
|
---|
| 284 | </listitem>
|
---|
| 285 | </varlistentry>
|
---|
| 286 |
|
---|
| 287 | <varlistentry id="gst-launch">
|
---|
[a68c66aa] | 288 | <term><command>gst-launch-0.10</command></term>
|
---|
[a7bd2b6f] | 289 | <listitem>
|
---|
[2ba0c1a] | 290 | <para>
|
---|
| 291 | is a tool that builds and runs basic
|
---|
| 292 | <application>GStreamer</application> pipelines.
|
---|
| 293 | </para>
|
---|
[a7bd2b6f] | 294 | <indexterm zone="gstreamer gst-launch">
|
---|
[a68c66aa] | 295 | <primary sortas="b-gst-launch">gst-launch-0.10</primary>
|
---|
[a7bd2b6f] | 296 | </indexterm>
|
---|
| 297 | </listitem>
|
---|
| 298 | </varlistentry>
|
---|
| 299 |
|
---|
| 300 | <varlistentry id="gst-typefind">
|
---|
[a68c66aa] | 301 | <term><command>gst-typefind-0.10</command></term>
|
---|
[a7bd2b6f] | 302 | <listitem>
|
---|
[2ba0c1a] | 303 | <para>
|
---|
| 304 | uses the <application>GStreamer</application> type finding system
|
---|
| 305 | to determine the relevant <application>GStreamer</application>
|
---|
| 306 | plugin to parse or decode a file, and determine the corresponding
|
---|
| 307 | MIME type.
|
---|
| 308 | </para>
|
---|
[a7bd2b6f] | 309 | <indexterm zone="gstreamer gst-typefind">
|
---|
[a68c66aa] | 310 | <primary sortas="b-gst-typefind">gst-typefind-0.10</primary>
|
---|
[a7bd2b6f] | 311 | </indexterm>
|
---|
| 312 | </listitem>
|
---|
| 313 | </varlistentry>
|
---|
| 314 |
|
---|
| 315 | <varlistentry id="gst-xmlinspect">
|
---|
[a68c66aa] | 316 | <term><command>gst-xmlinspect-0.10</command></term>
|
---|
[a7bd2b6f] | 317 | <listitem>
|
---|
[2ba0c1a] | 318 | <para>
|
---|
| 319 | prints information about a <application>GStreamer</application>
|
---|
| 320 | plugin or element in XML document format.
|
---|
| 321 | </para>
|
---|
[a7bd2b6f] | 322 | <indexterm zone="gstreamer gst-xmlinspect">
|
---|
[a68c66aa] | 323 | <primary sortas="b-gst-xmlinspect">gst-xmlinspect-0.10</primary>
|
---|
[a7bd2b6f] | 324 | </indexterm>
|
---|
| 325 | </listitem>
|
---|
| 326 | </varlistentry>
|
---|
| 327 |
|
---|
| 328 | <varlistentry id="gst-xmllaunch">
|
---|
[a68c66aa] | 329 | <term><command>gst-xmllaunch-0.10</command></term>
|
---|
[a7bd2b6f] | 330 | <listitem>
|
---|
[2ba0c1a] | 331 | <para>
|
---|
| 332 | is used to build and run a basic <application>GStreamer</application>
|
---|
| 333 | pipeline, loading it from an XML description.
|
---|
| 334 | </para>
|
---|
[a7bd2b6f] | 335 | <indexterm zone="gstreamer gst-xmllaunch">
|
---|
[a68c66aa] | 336 | <primary sortas="b-gst-xmllaunch">gst-xmllaunch-0.10</primary>
|
---|
[a7bd2b6f] | 337 | </indexterm>
|
---|
| 338 | </listitem>
|
---|
| 339 | </varlistentry>
|
---|
| 340 |
|
---|
| 341 | </variablelist>
|
---|
| 342 |
|
---|
| 343 | </sect2>
|
---|
[967a388] | 344 |
|
---|
| 345 | </sect1>
|
---|