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;
|
|
|
|
|
2012-02-06 04:26:02 +08:00
|
|
|
<!ENTITY gstreamer-download-http "&gnome-download-http;/gstreamer/0.10/gstreamer-&gstreamer-version;.tar.xz">
|
|
|
|
<!ENTITY gstreamer-download-ftp "&gnome-download-ftp;/gstreamer/0.10/gstreamer-&gstreamer-version;.tar.xz">
|
2012-03-09 03:28:30 +08:00
|
|
|
<!ENTITY gstreamer-md5sum "15389c73e091b1dda915279c388b9cb2">
|
2009-12-03 17:24:00 +08:00
|
|
|
<!ENTITY gstreamer-size "2.9 MB">
|
2012-03-09 03:28:30 +08:00
|
|
|
<!ENTITY gstreamer-buildsize "90 MB">
|
2012-02-06 04:26:02 +08:00
|
|
|
<!ENTITY gstreamer-time "1.2 SBU">
|
2004-11-20 00:04:42 +08:00
|
|
|
]>
|
|
|
|
|
2012-07-25 00:16:08 +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>
|
|
|
|
|
2012-07-25 00:16:08 +08:00
|
|
|
<title>GStreamer-&gstreamer-version;</title>
|
2005-05-11 02:36:26 +08:00
|
|
|
|
|
|
|
<indexterm zone="gstreamer">
|
|
|
|
<primary sortas="a-GStreamer">GStreamer</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to GStreamer</title>
|
|
|
|
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
<application>GStreamer</application> is 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-bad"/>,
|
|
|
|
<xref linkend="gst-plugins-good"/>, <xref linkend="gst-plugins-ugly"/> and
|
|
|
|
<xref linkend="gst-ffmpeg"/> packages.
|
|
|
|
</para>
|
2012-02-06 04:26:02 +08:00
|
|
|
|
2015-02-27 05:54:24 +08:00
|
|
|
&lfs77_checked;
|
2005-05-11 02:36:26 +08:00
|
|
|
|
2012-10-01 13:54:32 +08:00
|
|
|
&gst-compat;
|
|
|
|
|
2005-05-11 02:36:26 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&gstreamer-download-http;"/>
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&gstreamer-download-ftp;"/>
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &gstreamer-md5sum;
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
Download size: &gstreamer-size;
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &gstreamer-buildsize;
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &gstreamer-time;
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
</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>
|
2012-05-01 20:35:38 +08:00
|
|
|
<para role="required">
|
2012-06-06 04:51:46 +08:00
|
|
|
<xref linkend="glib2"/> and
|
|
|
|
<xref linkend="libxml2"/>
|
2012-05-01 20:35:38 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="gobject-introspection"/>
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-05-01 20:35:38 +08:00
|
|
|
<para role="optional">
|
2012-03-31 22:06:29 +08:00
|
|
|
<xref linkend="gsl"/>,
|
2014-03-16 07:51:18 +08:00
|
|
|
<xref linkend="valgrind"/>
|
2012-10-26 16:24:03 +08:00
|
|
|
(optionally used during the unit regression tests)
|
2011-12-13 11:04:32 +08:00
|
|
|
</para>
|
2006-06-21 07:24:56 +08:00
|
|
|
|
2012-07-25 00:16:08 +08:00
|
|
|
<bridgehead renderas="sect4">
|
|
|
|
Optional (Required to rebuild the API Documentation)
|
|
|
|
</bridgehead>
|
2012-05-01 20:35:38 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="gtk-doc"/> and
|
2014-04-29 05:13:36 +08:00
|
|
|
<xref linkend="python2"/>
|
2009-01-21 06:34:30 +08:00
|
|
|
</para>
|
2006-06-21 07:24:56 +08:00
|
|
|
|
2012-07-25 00:16:08 +08:00
|
|
|
<bridgehead renderas="sect4">Optional (Required to Build Manuals)</bridgehead>
|
2012-05-01 20:35:38 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="docbook-utils"/>,
|
2012-07-25 00:16:08 +08:00
|
|
|
<xref linkend="gs"/>
|
|
|
|
<xref linkend="libxslt"/> and
|
2015-01-12 05:58:33 +08:00
|
|
|
<xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
|
2009-01-21 06:34:30 +08:00
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
|
2006-04-11 02:37:19 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2012-07-25 00:16:08 +08:00
|
|
|
<ulink url="&blfs-wiki;/gstreamer"/>
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of GStreamer</title>
|
|
|
|
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
Install <application>GStreamer</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
|
2013-08-24 09:26:43 +08:00
|
|
|
<screen><userinput>sed -i -e '/YYLEX_PARAM/d' \
|
|
|
|
-e '/parse-param.*scanner/i %lex-param { void *scanner }' \
|
|
|
|
gst/parse/grammar.y &&
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
2012-07-25 00:16:08 +08:00
|
|
|
--disable-static &&
|
2005-05-11 02:36:26 +08:00
|
|
|
make</userinput></screen>
|
2005-04-26 22:47:46 +08:00
|
|
|
|
2012-07-25 00:16:08 +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
|
|
|
|
2012-07-25 00:16:08 +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>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Testing the Installation</title>
|
|
|
|
|
2012-07-25 00:16:08 +08:00
|
|
|
<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>
|
2006-06-21 07:24:56 +08:00
|
|
|
|
|
|
|
<screen><userinput>gst-launch -v fakesrc num_buffers=5 ! fakesink</userinput></screen>
|
|
|
|
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
If the command outputs a series of messages from fakesrc and
|
|
|
|
fakesink, everything is okay.
|
|
|
|
</para>
|
2006-06-21 07:24:56 +08:00
|
|
|
|
|
|
|
</sect3>
|
2005-05-11 02:36:26 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2013-08-24 09:26:43 +08:00
|
|
|
<para>
|
|
|
|
<command>sed ... gst/parse/grammar.y</command>: This command corrects
|
|
|
|
a problem caused by the most recent version of Bison.
|
|
|
|
</para>
|
|
|
|
|
2012-02-06 04:26:02 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-07-25 00:16:08 +08:00
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
2012-02-06 04:26:02 +08:00
|
|
|
|
2012-07-25 00:16:08 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
2009-01-21 06:34:30 +08:00
|
|
|
|
2012-07-25 00:16:08 +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>
|
2006-06-21 07:24:56 +08:00
|
|
|
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
<command>chown -v -R root:root ...</command>: The documentation is
|
2012-10-26 16:24:03 +08:00
|
|
|
installed with the ownership of the user who untarred and built the
|
|
|
|
package. This command changes the ownership of the installed
|
|
|
|
documentation files to root:root, and is only executed if the
|
2012-07-25 00:16:08 +08:00
|
|
|
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>
|
2012-07-25 00:16:08 +08:00
|
|
|
<seg>
|
|
|
|
gst-feedback, gst-feedback-0.10, gst-inspect, gst-inspect-0.10,
|
|
|
|
gst-launch, gst-launch-0.10, gst-typefind, gst-typefind-0.10,
|
|
|
|
gst-xmlinspect, gst-xmlinspect-0.10, gst-xmllaunch and
|
2013-02-12 02:51:17 +08:00
|
|
|
gst-xmllaunch-0.10
|
2012-07-25 00:16:08 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libgstbase-0.10.so, libgstcheck-0.10.so, libgstcontroller-0.10.so,
|
|
|
|
libgstdataprotocol-0.10.so, libgstnet-0.10.so and
|
|
|
|
libgstreamer-0.10.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/include/gstreamer-0.10,
|
|
|
|
/usr/lib/gstreamer-0.10,
|
2014-03-04 08:39:21 +08:00
|
|
|
/usr/libexec/gstreamer-0.10,
|
2012-07-25 00:16:08 +08:00
|
|
|
/usr/share/gtk-doc/html/gstreamer-0.10,
|
|
|
|
/usr/share/gtk-doc/html/gstreamer-libs-0.10 and
|
|
|
|
/usr/share/gtk-doc/html/gstreamer-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>
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
generates debug info for <application>GStreamer</application>
|
|
|
|
bug reports.
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
<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>
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
prints information about a
|
|
|
|
<application>GStreamer</application> plugin or element.
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
<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>
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
is a tool that builds and runs basic
|
|
|
|
<application>GStreamer</application> pipelines.
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
<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>
|
2012-07-25 00:16:08 +08:00
|
|
|
<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>
|
2005-05-11 02:36:26 +08:00
|
|
|
<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>
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
prints information about a <application>GStreamer</application>
|
|
|
|
plugin or element in XML document format.
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
<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>
|
2012-07-25 00:16:08 +08:00
|
|
|
<para>
|
|
|
|
is used to build and run a basic <application>GStreamer</application>
|
|
|
|
pipeline, loading it from an XML description.
|
|
|
|
</para>
|
2005-05-11 02:36:26 +08:00
|
|
|
<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>
|