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