mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
ba6f749211
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6918 af4574ff-66df-0310-9fd7-8a98e5e911e0
284 lines
11 KiB
XML
284 lines
11 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY gstreamer-download-http "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-&gstreamer-version;.tar.bz2">
|
|
<!ENTITY gstreamer-download-ftp "&gnome-download-ftp;/gstreamer/0.10/gstreamer-&gstreamer-version;.tar.bz2">
|
|
<!ENTITY gstreamer-md5sum "69b594b43e52e1d0eaf512a89c7b3137">
|
|
<!ENTITY gstreamer-size "1.9 MB">
|
|
<!ENTITY gstreamer-buildsize "72 MB">
|
|
<!ENTITY gstreamer-time "1.5 SBU (includes building manuals and 0.5 SBU to run the test suite)">
|
|
]>
|
|
|
|
<sect1 id="gstreamer" xreflabel="GStreamer-&gstreamer-version;">
|
|
<?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>
|
|
|
|
<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
|
|
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>
|
|
|
|
<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>
|
|
|
|
<bridgehead renderas="sect3">GStreamer Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="glib2"/> and
|
|
<xref linkend="libxml2"/></para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<ulink url="http://check.sourceforge.net/">Check</ulink>
|
|
(required to run the unit regression tests), and
|
|
<ulink url="http://www.valgrind.org/">Valgrind</ulink>
|
|
(optionally used during the unit regression tests)</para>
|
|
|
|
<bridgehead renderas="sect4">Optional (Required to Rebuild the API
|
|
Documentation)</bridgehead>
|
|
<para role="optional"><xref linkend="gtk-doc"/> and
|
|
<xref linkend="pyxml"/></para>
|
|
|
|
<bridgehead renderas="sect4">Optional (Required to Build
|
|
Manuals)</bridgehead>
|
|
<para role="optional"><xref linkend="libxslt"/>,
|
|
<xref linkend="tetex"/>,
|
|
<xref linkend="gs"/> or
|
|
<xref linkend="espgs"/>,
|
|
<xref linkend="docbook-utils"/>,
|
|
<ulink url="http://www.xfig.org/">Transfig</ulink>, and
|
|
<ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink></para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/gstreamer"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of GStreamer</title>
|
|
|
|
<!-- Commenting as the Valgrind stuff has been fixed, but leaving it in
|
|
here so in case we need it again
|
|
<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
|
|
<option>-disable-valgrind</option> to the <command>configure</command>
|
|
command below so the build will complete.</para>
|
|
-->
|
|
|
|
<para>Install <application>GStreamer</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<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>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
install -v -m755 -d /usr/share/doc/gstreamer-0.10/design &&
|
|
install -v -m644 docs/design/*.txt \
|
|
/usr/share/doc/gstreamer-0.10/design &&
|
|
|
|
if [ -d /usr/share/doc/gstreamer-0.10/faq/html ]; then
|
|
chown -v -R root:root \
|
|
/usr/share/doc/gstreamer-0.10/*/html
|
|
fi</userinput></screen>
|
|
|
|
<!-- Gtk-Docs are now installed by default, even without building them
|
|
<para>If you did not rebuild the API documentation by passing
|
|
<option>-enable-gtk-doc</option> to the <command>configure</command>
|
|
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>
|
|
-->
|
|
|
|
<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>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
|
|
|
<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>
|
|
|
|
<para><command>chown -v -R root:root ...</command>: The documentation is
|
|
installed with ownerships of the user who untarred and built the package.
|
|
This command changes the ownerships of the installed documentation files to
|
|
root:root and is only executed if the documentation files were built and
|
|
installed.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>gst-feedback{,-0.10}, gst-inspect{,-0.10}, gst-launch{,-0.10},
|
|
gst-typefind{,-0.10}, gst-xmllaunch{,-0.10} and
|
|
gst-xmlinspect{,-0.10}</seg>
|
|
<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
|
|
libgst*.{so,a} plugin modules</seg>
|
|
<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>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="gst-feedback">
|
|
<term><command>gst-feedback-0.10</command></term>
|
|
<listitem>
|
|
<para>generates debug info for <application>GStreamer</application>
|
|
bug reports.</para>
|
|
<indexterm zone="gstreamer gst-feedback">
|
|
<primary sortas="b-gst-feedback">gst-feedback-0.10</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gst-inspect">
|
|
<term><command>gst-inspect-0.10</command></term>
|
|
<listitem>
|
|
<para>prints information about a
|
|
<application>GStreamer</application> plugin or element.</para>
|
|
<indexterm zone="gstreamer gst-inspect">
|
|
<primary sortas="b-gst-inspect">gst-inspect-0.10</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gst-launch">
|
|
<term><command>gst-launch-0.10</command></term>
|
|
<listitem>
|
|
<para>is a tool that builds and runs basic
|
|
<application>GStreamer</application> pipelines.</para>
|
|
<indexterm zone="gstreamer gst-launch">
|
|
<primary sortas="b-gst-launch">gst-launch-0.10</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gst-typefind">
|
|
<term><command>gst-typefind-0.10</command></term>
|
|
<listitem>
|
|
<para>uses the <application>GStreamer</application> type finding
|
|
system to determine the relevant <application>GStreamer</application>
|
|
plugin to parse or decode a file, and determine the corresponding
|
|
MIME type.</para>
|
|
<indexterm zone="gstreamer gst-typefind">
|
|
<primary sortas="b-gst-typefind">gst-typefind-0.10</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gst-xmlinspect">
|
|
<term><command>gst-xmlinspect-0.10</command></term>
|
|
<listitem>
|
|
<para>prints information about a <application>GStreamer</application>
|
|
plugin or element in XML document format.</para>
|
|
<indexterm zone="gstreamer gst-xmlinspect">
|
|
<primary sortas="b-gst-xmlinspect">gst-xmlinspect-0.10</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gst-xmllaunch">
|
|
<term><command>gst-xmllaunch-0.10</command></term>
|
|
<listitem>
|
|
<para>is used to build and run a basic <application>GStreamer</application>
|
|
pipeline, loading it from an XML description.</para>
|
|
<indexterm zone="gstreamer gst-xmllaunch">
|
|
<primary sortas="b-gst-xmllaunch">gst-xmllaunch-0.10</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|