<?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 gst10-plugins-base-download-http
           "&gstreamer-dl;/gst-plugins-base/gst-plugins-base-&gst10-plugins-base-version;.tar.xz">
  <!ENTITY gst10-plugins-base-download-ftp  " ">
  <!ENTITY gst10-plugins-base-md5sum        "357165af625c0ca353ab47c5d843920e">
  <!ENTITY gst10-plugins-base-size          "2.5 MB">
  <!ENTITY gst10-plugins-base-buildsize     "0.1 GB (additional 13 MB to run the test suite)">
  <!ENTITY gst10-plugins-base-time          "0.8 SBU (additional 0.7 SBU to run the test suite)">
]>

<sect1 id="gst10-plugins-base" xreflabel="gst-plugins-base-&gst10-plugins-base-version;">
  <?dbhtml filename="gst10-plugins-base.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-02-23 00:16:54 -0500 (Mon, 23 Feb 2015) $</date>
  </sect1info>

  <title>gst-plugins-base-&gst10-plugins-base-version;</title>

  <indexterm zone="gst10-plugins-base">
    <primary sortas="a-gst-plugins-base">gst-plugins-base</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to GStreamer Base Plug-ins</title>

    <para>
      The <application>GStreamer Base Plug-ins</application> is a well-groomed and
      well-maintained collection of <application>GStreamer</application> plug-ins
      and elements, spanning the range of possible types of elements one would want
      to write for <application>GStreamer</application>. You will need at least one
      of Good, Bad, Ugly or Libav plugins for <application>GStreamer</application>
      applications to function properly.
    </para>

    &lfs77_checked;

    &gst-compat;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&gst10-plugins-base-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&gst10-plugins-base-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &gst10-plugins-base-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &gst10-plugins-base-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &gst10-plugins-base-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &gst10-plugins-base-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">GStreamer Base Plug-ins Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="gstreamer10"/>
    </para>

    <!-- Common formats, output and input codecs and requirements
    for GNOME apps. What's a multimedia framework useful if it
    can't be used to play anything (common)? -->
    <bridgehead renderas="sect4">Recommended</bridgehead>
    <para role="recommended">
      <xref linkend="alsa-lib"/>,
      <xref linkend="gobject-introspection"/>,
      <xref linkend="iso-codes"/>,
      <xref linkend="libogg"/>,
      <xref linkend="libtheora"/>,
      <xref linkend="libvorbis"/>, and
      <xref linkend="xorg7-lib"/> <!-- build time requirements only,
      you don't need either apps, fonts or xorg server to build this
      package. You'll need xserver for any X app that wants to play
      something though, but that should be obvious. -->
   </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="cdparanoia"/>,
      <xref linkend="gtk3"/>,
      <xref linkend="gtk-doc"/>,
      <xref linkend="qt4"/>,
      <xref linkend="valgrind"/>,
      <ulink url="http://sourceforge.net/projects/libvisual/">libvisual</ulink>,
      <ulink url="http://code.entropywave.com/projects/orc/">ORC</ulink>, and
      <ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>
    </para>

    <para condition="html" role="usernotes">
      User Notes: <ulink url="&blfs-wiki;/gst10-plugins-base"/>
    </para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of GStreamer Base Plug-ins</title>

    <note><para>If you need a plugin for a given dependency, that dependency
      needs to be installed before this application.
    </para></note>

    <para>
      Install <application>GStreamer Base Plug-ins</application> by running the
      following commands:
    </para>

<screen><userinput>./configure --prefix=/usr \
            --with-package-name="GStreamer Base Plugins &gst10-plugins-base-version; BLFS" \
            --with-package-origin="http://www.linuxfromscratch.org/blfs/view/svn/" &amp;&amp;
make</userinput></screen>

    <para>
      To test the results, issue: <command>make check</command>.
    </para>

    <note>
      <para>
        When installing, the Makefile does some additional 
        linking.  If you do not have Xorg in /usr, the LIBRARY_PATH
        variable needs to be defined for the root user.  If 
        using sudo to assume root, use the -E option to pass 
        your current environment variables for the install process.
      </para>
    </note>

    <para>
      Now, as the <systemitem class="username">root</systemitem> user:
    </para>

<screen role="root"><userinput>make install</userinput></screen>
  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          gst-device-monitor-1.0, gst-discoverer-1.0 and gst-play-1.0
        </seg>
        <seg>
          libgstallocators-1.0.so, libgstapp-1.0.so, libgstaudio-1.0.so,
          libgstfft-1.0.so, libgstpbutils-1.0.so, libgstriff-1.0.so,
          libgstrtp-1.0.so, libgstrtsp-1.0.so, libgstsdp-1.0.so,
          libgsttag-1.0.so, libgstvideo-1.0.so and several plugins under
          /usr/lib/gstreamer-1.0
        </seg>
        <seg>
          /usr/include/gstreamer-1.0/gst/{allocators,app,audio,fft,pbutils},
          /usr/include/gstreamer-1.0/gst/{riff,rtp,rtsp,sdp,tag,video},
          /usr/share/gst-plugins-base/1.0 and
          /usr/share/gtk-doc/html/gst-plugins-base-{libs,plugins}-1.0
        </seg>
      </seglistitem>
    </segmentedlist>

  </sect2>

</sect1>
