[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 |
|
---|
| 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 |
|
---|
| 23 | <title>GStreamer-&gstreamer-version;</title>
|
---|
| 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 |
|
---|
[33d63e8d] | 32 | <para>The <application>GStreamer</application> package contains a streaming
|
---|
| 33 | media framework that enables applications to share a common set of plugins for
|
---|
| 34 | things like video decoding and encoding, audio encoding and decoding, audio
|
---|
| 35 | and video filters, audio visualisation, Web streaming and anything else that
|
---|
| 36 | streams in real-time or otherwise. It is modelled after research software
|
---|
[c866109] | 37 | worked on at the Oregon Graduate Institute. After installing
|
---|
| 38 | <application>GStreamer</application>, you'll likely need to install
|
---|
| 39 | one or more of the <xref linkend="gst-plugins-good"/>,
|
---|
[aeff7f4] | 40 | <xref linkend="gst-plugins-ugly"/>, <xref linkend="gst-plugins-bad"/>
|
---|
| 41 | and <xref linkend="gst-ffmpeg"/> packages.</para>
|
---|
| 42 |
|
---|
[e43a5132] | 43 | &lfs70_checked;
|
---|
[a7bd2b6f] | 44 |
|
---|
| 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 46 | <itemizedlist spacing="compact">
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download (HTTP): <ulink url="&gstreamer-download-http;"/></para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download (FTP): <ulink url="&gstreamer-download-ftp;"/></para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download MD5 sum: &gstreamer-md5sum;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Download size: &gstreamer-size;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Estimated disk space required: &gstreamer-buildsize;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Estimated build time: &gstreamer-time;</para>
|
---|
| 64 | </listitem>
|
---|
| 65 | </itemizedlist>
|
---|
| 66 |
|
---|
[ab5b06b] | 67 | <bridgehead renderas="sect3">GStreamer Dependencies</bridgehead>
|
---|
[a7bd2b6f] | 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[8569196] | 70 | <para role="required"><xref linkend="libxml2"/>, and
|
---|
| 71 | <xref linkend="pkgconfig"/></para>
|
---|
[a7bd2b6f] | 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e43a5132] | 74 | <para role="optional"><xref linkend="gobject-introspection"/>
|
---|
| 75 | (required if building Gnome),
|
---|
[37bea21] | 76 | <xref linkend="gsl"/>,
|
---|
[cf3ddc0c] | 77 | <xref linkend='check'/> (required to run the unit regression tests and also enables
|
---|
| 78 | <filename class='libraryfile'>libgstcheck-0.10</filename>), and
|
---|
| 79 | <ulink url="http://www.valgrind.org/">Valgrind</ulink>
|
---|
| 80 | (optionally used during the unit regression tests)
|
---|
| 81 | </para>
|
---|
[a68c66aa] | 82 |
|
---|
[cc60178] | 83 | <!-- exceptionally, there seems no way to install the shipped
|
---|
| 84 | API docs, so they have to be built, not rebuilt.-->
|
---|
| 85 | <bridgehead renderas="sect4">Optional (Required to build the API
|
---|
[a68c66aa] | 86 | Documentation)</bridgehead>
|
---|
| 87 | <para role="optional"><xref linkend="gtk-doc"/> and
|
---|
[4716d52] | 88 | <xref linkend="python2"/> (compiled against an XML Parser such as
|
---|
[cc60178] | 89 | <xref linkend="expat"/>). Alternatively, developers can access
|
---|
| 90 | the online API docs at <ulink
|
---|
| 91 | url="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/api-index-full.html">freedesktop.org</ulink>
|
---|
| 92 | </para>
|
---|
[a68c66aa] | 93 |
|
---|
| 94 | <bridgehead renderas="sect4">Optional (Required to Build
|
---|
| 95 | Manuals)</bridgehead>
|
---|
[a747b3c] | 96 | <para role="optional"><xref linkend="libxslt"/>,
|
---|
[e43a5132] | 97 | <xref linkend="texlive"/>,
|
---|
[33d63e8d] | 98 | <xref linkend="docbook-utils"/>,
|
---|
[cc60178] | 99 | <ulink url="http://www.xfig.org/">Transfig</ulink> (all needed
|
---|
| 100 | to build the HTML manual), plus
|
---|
[e43a5132] | 101 | <xref linkend="gs"/>, and
|
---|
[cc60178] | 102 | <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>
|
---|
| 103 | to build the postscript and PDF manuals.
|
---|
| 104 | Alternatively, developers can access the online manual at <ulink
|
---|
| 105 | url="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html">freedesktop.org</ulink>
|
---|
| 106 | </para>
|
---|
[a7bd2b6f] | 107 |
|
---|
[0e2aa08] | 108 | <para condition="html" role="usernotes">User Notes:
|
---|
| 109 | <ulink url="&blfs-wiki;/gstreamer"/></para>
|
---|
| 110 |
|
---|
[a7bd2b6f] | 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="installation">
|
---|
| 114 | <title>Installation of GStreamer</title>
|
---|
| 115 |
|
---|
[33d63e8d] | 116 | <para>Install <application>GStreamer</application> by running the following
|
---|
[a7bd2b6f] | 117 | commands:</para>
|
---|
| 118 |
|
---|
[cc60178] | 119 | <screen><userinput>sed -i 's/\(.*gtkdoc-rebase --relative.* \)\(;.*\)/\1|| true\2/' \
|
---|
| 120 | docs/{gst,libs}/Makefile.in &&
|
---|
[aeff7f4] | 121 | ./configure --prefix=/usr \
|
---|
| 122 | --libexecdir=/usr/lib &&
|
---|
[a7bd2b6f] | 123 | make</userinput></screen>
|
---|
[11d6d1ac] | 124 |
|
---|
[a68c66aa] | 125 | <para>To test the results, issue: <command>make check</command>. There are
|
---|
| 126 | many other <filename>Makefile</filename> targets you can specify for
|
---|
| 127 | running the tests, issue <command>make -C tests/check help</command> to see
|
---|
| 128 | the complete list.</para>
|
---|
[e93d40c5] | 129 |
|
---|
[a7bd2b6f] | 130 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[11d6d1ac] | 131 |
|
---|
[a7bd2b6f] | 132 | <screen role="root"><userinput>make install &&
|
---|
[a68c66aa] | 133 | install -v -m755 -d /usr/share/doc/gstreamer-0.10/design &&
|
---|
| 134 | install -v -m644 docs/design/*.txt \
|
---|
| 135 | /usr/share/doc/gstreamer-0.10/design &&
|
---|
[ba6f749] | 136 |
|
---|
[a68c66aa] | 137 | if [ -d /usr/share/doc/gstreamer-0.10/faq/html ]; then
|
---|
[ec5db802] | 138 | chown -v -R root:root \
|
---|
[a68c66aa] | 139 | /usr/share/doc/gstreamer-0.10/*/html
|
---|
| 140 | fi</userinput></screen>
|
---|
| 141 |
|
---|
| 142 | <sect3>
|
---|
| 143 | <title>Testing the Installation</title>
|
---|
| 144 |
|
---|
| 145 | <para>To test the functionality of the
|
---|
| 146 | <application>GStreamer</application> installation, you can run a simple
|
---|
| 147 | test as an unprivileged user (you may have to run
|
---|
| 148 | <command>ldconfig</command> as the
|
---|
| 149 | <systemitem class="username">root</systemitem> user before attempting
|
---|
| 150 | the test).</para>
|
---|
| 151 |
|
---|
| 152 | <screen><userinput>gst-launch -v fakesrc num_buffers=5 ! fakesink</userinput></screen>
|
---|
| 153 |
|
---|
| 154 | <para>If the command outputs a series of messages from fakesrc and
|
---|
| 155 | fakesink, everything is okay.</para>
|
---|
| 156 |
|
---|
| 157 | </sect3>
|
---|
[a7bd2b6f] | 158 |
|
---|
| 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | <sect2 role="commands">
|
---|
| 162 | <title>Command Explanations</title>
|
---|
| 163 |
|
---|
[a41f643] | 164 | <para><option>sed -i 's/\(.*gtkdoc-rebase --relative.* \)\(;.*\)/\1|| true\2/' \
|
---|
[cc60178] | 165 | docs/{gst,libs}/Makefile.in</option>: Two of the Makefiles test if
|
---|
| 166 | <command>gtkdoc-rebase</command> is present, and only use it if it is,
|
---|
| 167 | but the test <command>which gtk-doc</command> is interpreted as an error by
|
---|
| 168 | <command>make</command> if <command>gtkdoc-rebase</command> is not present. The
|
---|
| 169 | <command>sed</command> command ensures the command is always regarded as
|
---|
| 170 | successful.</para>
|
---|
| 171 |
|
---|
[aeff7f4] | 172 | <para><parameter>--libexecdir=/usr/lib</parameter>: This parameter is used
|
---|
| 173 | so that the <application>GStreamer</application> internal support programs
|
---|
| 174 | are installed in the preferred location of <filename
|
---|
| 175 | class='directory'>/usr/lib/gstreamer-0.10</filename> instead of <filename
|
---|
| 176 | class='directory'>/usr/libexec/gstreamer-0.10</filename>.</para>
|
---|
| 177 |
|
---|
| 178 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 179 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 180 |
|
---|
[cc60178] | 181 | <para><option>--disable-static</option>: This switch prevents the static
|
---|
| 182 | libraries from being built.</para>
|
---|
| 183 |
|
---|
[a68c66aa] | 184 | <para><option>--enable-docbook</option>: This parameter is used to build
|
---|
| 185 | HTML, PDF and PostScript versions of the
|
---|
| 186 | <application>GStreamer</application> User's Manual, FAQ and Writer's Guide.
|
---|
| 187 | Note that you must have all the listed dependencies installed.</para>
|
---|
| 188 |
|
---|
[33d63e8d] | 189 | <para><command>chown -v -R root:root ...</command>: The documentation is
|
---|
| 190 | installed with ownerships of the user who untarred and built the package.
|
---|
[a7bd2b6f] | 191 | This command changes the ownerships of the installed documentation files to
|
---|
[ec5db802] | 192 | root:root and is only executed if the documentation files were built and
|
---|
| 193 | installed.</para>
|
---|
[a7bd2b6f] | 194 |
|
---|
| 195 | </sect2>
|
---|
| 196 |
|
---|
| 197 | <sect2 role="content">
|
---|
| 198 | <title>Contents</title>
|
---|
| 199 |
|
---|
| 200 | <segmentedlist>
|
---|
| 201 | <segtitle>Installed Programs</segtitle>
|
---|
| 202 | <segtitle>Installed Libraries</segtitle>
|
---|
| 203 | <segtitle>Installed Directories</segtitle>
|
---|
| 204 |
|
---|
| 205 | <seglistitem>
|
---|
[aeff7f4] | 206 | <seg>gst-feedback, gst-feedback-0.10, gst-inspect, gst-inspect-0.10,
|
---|
| 207 | gst-launch, gst-launch-0.10, gst-plugin-scanner, gst-typefind,
|
---|
| 208 | gst-typefind-0.10, gst-xmlinspect, gst-xmlinspect-0.10, gst-xmllaunch,
|
---|
| 209 | and gst-xmllaunch-0.10</seg>
|
---|
[a68c66aa] | 210 | <seg>libgstbase-0.10.{so,a}, libgstcheck-0.10.{so,a},
|
---|
[aeff7f4] | 211 | libgstcontroller-0.10.{so,a}, libgstcoreelements.so,
|
---|
| 212 | libgstcoreindexers.so, libgstdataprotocol-0.10.{so,a},
|
---|
| 213 | libgstnet-0.10.{so,a}, and libgstreamer-0.10.{so,a}</seg>
|
---|
| 214 | <seg>/usr/{include/gstreamer-0.10/gst/{base,check,controller,
|
---|
| 215 | dataprotocol,net},lib/{gstreamer-0.10,gstreamer/gstreamer-0.10},
|
---|
| 216 | share/{gstreamer-0.10/presets,gtk-doc/html/{gstreamer-0.10,
|
---|
| 217 | gstreamer-libs-0.10,gstreamer-plugins-0.10}}}</seg>
|
---|
[a7bd2b6f] | 218 | </seglistitem>
|
---|
| 219 | </segmentedlist>
|
---|
| 220 |
|
---|
| 221 | <variablelist>
|
---|
| 222 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 223 | <?dbfo list-presentation="list"?>
|
---|
| 224 | <?dbhtml list-presentation="table"?>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="gst-feedback">
|
---|
[a68c66aa] | 227 | <term><command>gst-feedback-0.10</command></term>
|
---|
[a7bd2b6f] | 228 | <listitem>
|
---|
[d7ecaa6] | 229 | <para>generates debug info for <application>GStreamer</application>
|
---|
[a7bd2b6f] | 230 | bug reports.</para>
|
---|
| 231 | <indexterm zone="gstreamer gst-feedback">
|
---|
[a68c66aa] | 232 | <primary sortas="b-gst-feedback">gst-feedback-0.10</primary>
|
---|
[a7bd2b6f] | 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
| 237 | <varlistentry id="gst-inspect">
|
---|
[a68c66aa] | 238 | <term><command>gst-inspect-0.10</command></term>
|
---|
[a7bd2b6f] | 239 | <listitem>
|
---|
[33d63e8d] | 240 | <para>prints information about a
|
---|
[a7bd2b6f] | 241 | <application>GStreamer</application> plugin or element.</para>
|
---|
| 242 | <indexterm zone="gstreamer gst-inspect">
|
---|
[a68c66aa] | 243 | <primary sortas="b-gst-inspect">gst-inspect-0.10</primary>
|
---|
[a7bd2b6f] | 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
| 247 |
|
---|
| 248 | <varlistentry id="gst-launch">
|
---|
[a68c66aa] | 249 | <term><command>gst-launch-0.10</command></term>
|
---|
[a7bd2b6f] | 250 | <listitem>
|
---|
[33d63e8d] | 251 | <para>is a tool that builds and runs basic
|
---|
[a7bd2b6f] | 252 | <application>GStreamer</application> pipelines.</para>
|
---|
| 253 | <indexterm zone="gstreamer gst-launch">
|
---|
[a68c66aa] | 254 | <primary sortas="b-gst-launch">gst-launch-0.10</primary>
|
---|
[a7bd2b6f] | 255 | </indexterm>
|
---|
| 256 | </listitem>
|
---|
| 257 | </varlistentry>
|
---|
| 258 |
|
---|
| 259 | <varlistentry id="gst-typefind">
|
---|
[a68c66aa] | 260 | <term><command>gst-typefind-0.10</command></term>
|
---|
[a7bd2b6f] | 261 | <listitem>
|
---|
[33d63e8d] | 262 | <para>uses the <application>GStreamer</application> type finding
|
---|
[d7ecaa6] | 263 | system to determine the relevant <application>GStreamer</application>
|
---|
[33d63e8d] | 264 | plugin to parse or decode a file, and determine the corresponding
|
---|
[a7bd2b6f] | 265 | MIME type.</para>
|
---|
| 266 | <indexterm zone="gstreamer gst-typefind">
|
---|
[a68c66aa] | 267 | <primary sortas="b-gst-typefind">gst-typefind-0.10</primary>
|
---|
[a7bd2b6f] | 268 | </indexterm>
|
---|
| 269 | </listitem>
|
---|
| 270 | </varlistentry>
|
---|
| 271 |
|
---|
| 272 | <varlistentry id="gst-xmlinspect">
|
---|
[a68c66aa] | 273 | <term><command>gst-xmlinspect-0.10</command></term>
|
---|
[a7bd2b6f] | 274 | <listitem>
|
---|
[d7ecaa6] | 275 | <para>prints information about a <application>GStreamer</application>
|
---|
[a7bd2b6f] | 276 | plugin or element in XML document format.</para>
|
---|
| 277 | <indexterm zone="gstreamer gst-xmlinspect">
|
---|
[a68c66aa] | 278 | <primary sortas="b-gst-xmlinspect">gst-xmlinspect-0.10</primary>
|
---|
[a7bd2b6f] | 279 | </indexterm>
|
---|
| 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
| 282 |
|
---|
| 283 | <varlistentry id="gst-xmllaunch">
|
---|
[a68c66aa] | 284 | <term><command>gst-xmllaunch-0.10</command></term>
|
---|
[a7bd2b6f] | 285 | <listitem>
|
---|
[d7ecaa6] | 286 | <para>is used to build and run a basic <application>GStreamer</application>
|
---|
[a7bd2b6f] | 287 | pipeline, loading it from an XML description.</para>
|
---|
| 288 | <indexterm zone="gstreamer gst-xmllaunch">
|
---|
[a68c66aa] | 289 | <primary sortas="b-gst-xmllaunch">gst-xmllaunch-0.10</primary>
|
---|
[a7bd2b6f] | 290 | </indexterm>
|
---|
| 291 | </listitem>
|
---|
| 292 | </varlistentry>
|
---|
| 293 |
|
---|
| 294 | </variablelist>
|
---|
| 295 |
|
---|
| 296 | </sect2>
|
---|
[967a388] | 297 |
|
---|
| 298 | </sect1>
|
---|