2004-11-20 00:04:42 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-11-20 00:04:42 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2005-05-11 02:36:26 +08:00
|
|
|
<!ENTITY gstreamer-download-http "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-&gstreamer-version;.tar.bz2">
|
2007-07-19 02:28:44 +08:00
|
|
|
<!ENTITY gstreamer-download-ftp "&gnome-download-ftp;/gstreamer/0.10/gstreamer-&gstreamer-version;.tar.bz2">
|
2009-12-03 17:24:00 +08:00
|
|
|
<!ENTITY gstreamer-md5sum "88544e034a051baf472983791d233076">
|
|
|
|
<!ENTITY gstreamer-size "2.9 MB">
|
|
|
|
<!ENTITY gstreamer-buildsize "82 MB">
|
|
|
|
<!ENTITY gstreamer-time "2.4 SBU">
|
2004-11-20 00:04:42 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="gstreamer" xreflabel="GStreamer-&gstreamer-version;">
|
2005-05-11 02:36:26 +08:00
|
|
|
<?dbhtml filename="gstreamer.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>GStreamer-&gstreamer-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="gstreamer">
|
|
|
|
<primary sortas="a-GStreamer">GStreamer</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to GStreamer</title>
|
|
|
|
|
2005-05-31 05:52:47 +08:00
|
|
|
<para>The <application>GStreamer</application> package contains a streaming
|
|
|
|
media framework that enables applications to share a common set of plugins for
|
|
|
|
things like video decoding and encoding, audio encoding and decoding, audio
|
|
|
|
and video filters, audio visualisation, Web streaming and anything else that
|
|
|
|
streams in real-time or otherwise. It is modelled after research software
|
2006-10-23 06:04:23 +08:00
|
|
|
worked on at the Oregon Graduate Institute. After installing
|
|
|
|
<application>GStreamer</application>, you'll likely need to install
|
|
|
|
one or more of the <xref linkend="gst-plugins-good"/>,
|
|
|
|
<xref linkend="gst-plugins-ugly"/>, <ulink
|
|
|
|
url="http://gstreamer.freedesktop.org/modules/gst-plugins-bad.html">GStreamer
|
|
|
|
Bad Plug-ins</ulink> and <ulink
|
|
|
|
url="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html">GStreamer
|
|
|
|
FFmpeg plug-in</ulink> packages.</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&gstreamer-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&gstreamer-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &gstreamer-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &gstreamer-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &gstreamer-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &gstreamer-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2005-05-11 02:43:50 +08:00
|
|
|
<bridgehead renderas="sect3">GStreamer Dependencies</bridgehead>
|
2005-05-11 02:36:26 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2009-12-03 17:24:00 +08:00
|
|
|
<para role="required"><xref linkend="glib2"/>, and
|
|
|
|
<xref linkend="libxml2"/></para>
|
2005-05-11 02:36:26 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2006-06-21 07:24:56 +08:00
|
|
|
<para role="optional">
|
2009-12-03 17:24:00 +08:00
|
|
|
<ulink url="http://www.gnu.org/software/gsl/">GSL</ulink>,
|
2006-06-21 07:24:56 +08:00
|
|
|
<ulink url="http://check.sourceforge.net/">Check</ulink>
|
2009-01-21 06:34:30 +08:00
|
|
|
(required to run the unit regression tests and also enables
|
|
|
|
<filename class='libraryfile'>libgstcheck-0.10</filename>), and
|
2006-06-21 07:24:56 +08:00
|
|
|
<ulink url="http://www.valgrind.org/">Valgrind</ulink>
|
|
|
|
(optionally used during the unit regression tests)</para>
|
|
|
|
|
2009-01-21 06:34:30 +08:00
|
|
|
<!-- exceptionally, there seems no way to install the shipped
|
|
|
|
API docs, so they have to be built, not rebuilt.-->
|
|
|
|
<bridgehead renderas="sect4">Optional (Required to build the API
|
2006-06-21 07:24:56 +08:00
|
|
|
Documentation)</bridgehead>
|
|
|
|
<para role="optional"><xref linkend="gtk-doc"/> and
|
2009-01-21 06:34:30 +08:00
|
|
|
<xref linkend="python"/> (compiled against an XML Parser such as
|
|
|
|
<xref linkend="expat"/>). Alternatively, developers can access
|
|
|
|
the online API docs at <ulink
|
|
|
|
url="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/api-index-full.html">freedesktop.org</ulink>
|
|
|
|
</para>
|
2006-06-21 07:24:56 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional (Required to Build
|
|
|
|
Manuals)</bridgehead>
|
2005-12-06 20:13:47 +08:00
|
|
|
<para role="optional"><xref linkend="libxslt"/>,
|
2011-12-06 06:58:00 +08:00
|
|
|
<!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>,
|
2005-05-31 05:52:47 +08:00
|
|
|
<xref linkend="docbook-utils"/>,
|
2009-01-21 06:34:30 +08:00
|
|
|
<ulink url="http://www.xfig.org/">Transfig</ulink> (all needed
|
|
|
|
to build the HTML manual), plus
|
2009-08-01 23:43:34 +08:00
|
|
|
<xref linkend="gs"/>, and <!-- or
|
|
|
|
<xref linkend="espgs"/>, and -->
|
2009-01-21 06:34:30 +08:00
|
|
|
<ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>
|
|
|
|
to build the postscript and PDF manuals.
|
|
|
|
Alternatively, developers can access the online manual at <ulink
|
|
|
|
url="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html">freedesktop.org</ulink>
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
|
2006-04-11 02:37:19 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/gstreamer"/></para>
|
|
|
|
|
2005-05-11 02:36:26 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of GStreamer</title>
|
|
|
|
|
2006-06-21 07:24:56 +08:00
|
|
|
<!-- Commenting as the Valgrind stuff has been fixed, but leaving it in
|
|
|
|
here so in case we need it again
|
2006-01-27 07:26:00 +08:00
|
|
|
<para>Newer versions of <application>Valgrind</application> are known to
|
|
|
|
cause the build to break. If you have <application>Valgrind</application>
|
|
|
|
version >= 3.1.0 installed, you should add
|
2006-06-21 07:24:56 +08:00
|
|
|
<option>-disable-valgrind</option> to the <command>configure</command>
|
2006-01-27 07:26:00 +08:00
|
|
|
command below so the build will complete.</para>
|
2006-06-21 07:24:56 +08:00
|
|
|
-->
|
2006-01-27 07:26:00 +08:00
|
|
|
|
2005-05-31 05:52:47 +08:00
|
|
|
<para>Install <application>GStreamer</application> by running the following
|
2005-05-11 02:36:26 +08:00
|
|
|
commands:</para>
|
|
|
|
|
2009-01-21 06:34:30 +08:00
|
|
|
<screen><userinput>sed -i 's/\(.*gtkdoc-rebase --relative.* \)\(;.*\)/\1|| true\2/' \
|
|
|
|
docs/{gst,libs}/Makefile.in &&
|
|
|
|
./configure --prefix=/usr &&
|
2005-05-11 02:36:26 +08:00
|
|
|
make</userinput></screen>
|
2005-04-26 22:47:46 +08:00
|
|
|
|
2006-06-21 07:24:56 +08:00
|
|
|
<para>To test the results, issue: <command>make check</command>. There are
|
|
|
|
many other <filename>Makefile</filename> targets you can specify for
|
|
|
|
running the tests, issue <command>make -C tests/check help</command> to see
|
|
|
|
the complete list.</para>
|
2006-01-27 07:26:00 +08:00
|
|
|
|
2005-05-11 02:36:26 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2005-04-26 22:47:46 +08:00
|
|
|
|
2005-05-11 02:36:26 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
2006-06-21 07:24:56 +08:00
|
|
|
install -v -m755 -d /usr/share/doc/gstreamer-0.10/design &&
|
|
|
|
install -v -m644 docs/design/*.txt \
|
|
|
|
/usr/share/doc/gstreamer-0.10/design &&
|
2007-07-19 02:28:44 +08:00
|
|
|
|
2006-06-21 07:24:56 +08:00
|
|
|
if [ -d /usr/share/doc/gstreamer-0.10/faq/html ]; then
|
2005-09-13 12:32:52 +08:00
|
|
|
chown -v -R root:root \
|
2006-06-21 07:24:56 +08:00
|
|
|
/usr/share/doc/gstreamer-0.10/*/html
|
|
|
|
fi</userinput></screen>
|
|
|
|
|
2007-07-19 02:28:44 +08:00
|
|
|
<!-- Gtk-Docs are now installed by default, even without building them
|
2006-06-21 07:24:56 +08:00
|
|
|
<para>If you did not rebuild the API documentation by passing
|
2007-07-19 02:28:44 +08:00
|
|
|
<option>-enable-gtk-doc</option> to the <command>configure</command>
|
2006-06-21 07:24:56 +08:00
|
|
|
script and you wish to install the pre-built documentation, issue the
|
|
|
|
following command as the <systemitem class="username">root</systemitem>
|
|
|
|
user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>for DOCS in gst libs plugins; do make -C docs/$DOCS install-data; done</userinput></screen>
|
2007-07-19 02:28:44 +08:00
|
|
|
-->
|
2006-06-21 07:24:56 +08:00
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Testing the Installation</title>
|
|
|
|
|
|
|
|
<para>To test the functionality of the
|
|
|
|
<application>GStreamer</application> installation, you can run a simple
|
|
|
|
test as an unprivileged user (you may have to run
|
|
|
|
<command>ldconfig</command> as the
|
|
|
|
<systemitem class="username">root</systemitem> user before attempting
|
|
|
|
the test).</para>
|
|
|
|
|
|
|
|
<screen><userinput>gst-launch -v fakesrc num_buffers=5 ! fakesink</userinput></screen>
|
|
|
|
|
|
|
|
<para>If the command outputs a series of messages from fakesrc and
|
|
|
|
fakesink, everything is okay.</para>
|
|
|
|
|
|
|
|
</sect3>
|
2005-05-11 02:36:26 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2007-07-19 02:28:44 +08:00
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
2006-06-21 07:24:56 +08:00
|
|
|
|
2010-04-22 03:10:06 +08:00
|
|
|
<para><option>sed -i 's/\(.*gtkdoc-rebase --relative.* \)\(;.*\)/\1|| true\2/' \
|
2009-01-21 06:34:30 +08:00
|
|
|
docs/{gst,libs}/Makefile.in</option>: Two of the Makefiles test if
|
|
|
|
<command>gtkdoc-rebase</command> is present, and only use it if it is,
|
|
|
|
but the test <command>which gtk-doc</command> is interpreted as an error by
|
|
|
|
<command>make</command> if <command>gtkdoc-rebase</command> is not present. The
|
|
|
|
<command>sed</command> command ensures the command is always regarded as
|
|
|
|
successful.</para>
|
|
|
|
|
|
|
|
<para><option>--disable-static</option>: This switch prevents the static
|
|
|
|
libraries from being built.</para>
|
|
|
|
|
2006-06-21 07:24:56 +08:00
|
|
|
<para><option>--enable-docbook</option>: This parameter is used to build
|
|
|
|
HTML, PDF and PostScript versions of the
|
|
|
|
<application>GStreamer</application> User's Manual, FAQ and Writer's Guide.
|
|
|
|
Note that you must have all the listed dependencies installed.</para>
|
|
|
|
|
2005-05-31 05:52:47 +08:00
|
|
|
<para><command>chown -v -R root:root ...</command>: The documentation is
|
|
|
|
installed with ownerships of the user who untarred and built the package.
|
2005-05-11 02:36:26 +08:00
|
|
|
This command changes the ownerships of the installed documentation files to
|
2005-09-13 12:32:52 +08:00
|
|
|
root:root and is only executed if the documentation files were built and
|
|
|
|
installed.</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2006-06-21 07:24:56 +08:00
|
|
|
<seg>gst-feedback{,-0.10}, gst-inspect{,-0.10}, gst-launch{,-0.10},
|
2009-12-03 17:24:00 +08:00
|
|
|
gst-typefind{,-0.10}, gst-xmlinspect{,-0.10} and
|
|
|
|
gst-xmllaunch{,-0.10}</seg>
|
2006-06-21 07:24:56 +08:00
|
|
|
<seg>libgstbase-0.10.{so,a}, libgstcheck-0.10.{so,a},
|
|
|
|
libgstcontroller-0.10.{so,a}, libgstdataprotocol-0.10.{so,a},
|
|
|
|
libgstnet-0.10.{so,a}, libgstreamer-0.10.{so,a}, and
|
2006-04-11 02:37:19 +08:00
|
|
|
libgst*.{so,a} plugin modules</seg>
|
2006-06-21 07:24:56 +08:00
|
|
|
<seg>/usr/include/gstreamer-0.10, /usr/lib/gstreamer-0.10,
|
|
|
|
/usr/share/doc/gstreamer-0.10,
|
|
|
|
/usr/share/gtk-doc/html/gstreamer{,-libs,-plugins}-0.10</seg>
|
2005-05-11 02:36:26 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="gst-feedback">
|
2006-06-21 07:24:56 +08:00
|
|
|
<term><command>gst-feedback-0.10</command></term>
|
2005-05-11 02:36:26 +08:00
|
|
|
<listitem>
|
2005-05-30 23:59:12 +08:00
|
|
|
<para>generates debug info for <application>GStreamer</application>
|
2005-05-11 02:36:26 +08:00
|
|
|
bug reports.</para>
|
|
|
|
<indexterm zone="gstreamer gst-feedback">
|
2006-06-21 07:24:56 +08:00
|
|
|
<primary sortas="b-gst-feedback">gst-feedback-0.10</primary>
|
2005-05-11 02:36:26 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="gst-inspect">
|
2006-06-21 07:24:56 +08:00
|
|
|
<term><command>gst-inspect-0.10</command></term>
|
2005-05-11 02:36:26 +08:00
|
|
|
<listitem>
|
2005-05-31 05:52:47 +08:00
|
|
|
<para>prints information about a
|
2005-05-11 02:36:26 +08:00
|
|
|
<application>GStreamer</application> plugin or element.</para>
|
|
|
|
<indexterm zone="gstreamer gst-inspect">
|
2006-06-21 07:24:56 +08:00
|
|
|
<primary sortas="b-gst-inspect">gst-inspect-0.10</primary>
|
2005-05-11 02:36:26 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="gst-launch">
|
2006-06-21 07:24:56 +08:00
|
|
|
<term><command>gst-launch-0.10</command></term>
|
2005-05-11 02:36:26 +08:00
|
|
|
<listitem>
|
2005-05-31 05:52:47 +08:00
|
|
|
<para>is a tool that builds and runs basic
|
2005-05-11 02:36:26 +08:00
|
|
|
<application>GStreamer</application> pipelines.</para>
|
|
|
|
<indexterm zone="gstreamer gst-launch">
|
2006-06-21 07:24:56 +08:00
|
|
|
<primary sortas="b-gst-launch">gst-launch-0.10</primary>
|
2005-05-11 02:36:26 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="gst-typefind">
|
2006-06-21 07:24:56 +08:00
|
|
|
<term><command>gst-typefind-0.10</command></term>
|
2005-05-11 02:36:26 +08:00
|
|
|
<listitem>
|
2005-05-31 05:52:47 +08:00
|
|
|
<para>uses the <application>GStreamer</application> type finding
|
2005-05-30 23:59:12 +08:00
|
|
|
system to determine the relevant <application>GStreamer</application>
|
2005-05-31 05:52:47 +08:00
|
|
|
plugin to parse or decode a file, and determine the corresponding
|
2005-05-11 02:36:26 +08:00
|
|
|
MIME type.</para>
|
|
|
|
<indexterm zone="gstreamer gst-typefind">
|
2006-06-21 07:24:56 +08:00
|
|
|
<primary sortas="b-gst-typefind">gst-typefind-0.10</primary>
|
2005-05-11 02:36:26 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="gst-xmlinspect">
|
2006-06-21 07:24:56 +08:00
|
|
|
<term><command>gst-xmlinspect-0.10</command></term>
|
2005-05-11 02:36:26 +08:00
|
|
|
<listitem>
|
2005-05-30 23:59:12 +08:00
|
|
|
<para>prints information about a <application>GStreamer</application>
|
2005-05-11 02:36:26 +08:00
|
|
|
plugin or element in XML document format.</para>
|
|
|
|
<indexterm zone="gstreamer gst-xmlinspect">
|
2006-06-21 07:24:56 +08:00
|
|
|
<primary sortas="b-gst-xmlinspect">gst-xmlinspect-0.10</primary>
|
2005-05-11 02:36:26 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="gst-xmllaunch">
|
2006-06-21 07:24:56 +08:00
|
|
|
<term><command>gst-xmllaunch-0.10</command></term>
|
2005-05-11 02:36:26 +08:00
|
|
|
<listitem>
|
2005-05-30 23:59:12 +08:00
|
|
|
<para>is used to build and run a basic <application>GStreamer</application>
|
2005-05-11 02:36:26 +08:00
|
|
|
pipeline, loading it from an XML description.</para>
|
|
|
|
<indexterm zone="gstreamer gst-xmllaunch">
|
2006-06-21 07:24:56 +08:00
|
|
|
<primary sortas="b-gst-xmllaunch">gst-xmllaunch-0.10</primary>
|
2005-05-11 02:36:26 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2004-11-20 00:04:42 +08:00
|
|
|
|
|
|
|
</sect1>
|