<?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-libav-download-http "&gstreamer-dl;/gst-libav/gst-libav-&gst10-libav-version;.tar.xz">
  <!ENTITY gst10-libav-download-ftp  " ">
  <!ENTITY gst10-libav-md5sum        "f4922a46adbcbe7bd01331ff5dc7979d">
  <!ENTITY gst10-libav-size          "5.0 MB">
  <!ENTITY gst10-libav-buildsize     "0.4 GB (adittional 1 MB for the tests)">
  <!ENTITY gst10-libav-time          "2.4 SBU">
]>

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

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

  <title>gst-libav-&gst10-libav-version;</title>

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

  <sect2 role="package">
    <title>Introduction to GStreamer Libav</title>

    <para>
      The <application>GStreamer Libav</application> package contains
      <application>GStreamer</application> plugins for
      <application>Libav</application> (a fork of
      <application>FFmpeg</application>).
    </para>

    &lfs77_checked;

    &gst-compat;

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

    <bridgehead renderas="sect3">GStreamer Libav Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="gst10-plugins-base"/>
    </para>

    <bridgehead renderas="sect4">Recommended</bridgehead>
    <para role="recommended">
      <xref linkend="yasm"/>
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="valgrind"/> and
      <ulink url="http://code.entropywave.com/projects/orc/">ORC</ulink>
    </para>

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

  <sect2 role="installation">
    <title>Installation of GStreamer Libav</title>

    <para>
      Install <application>GStreamer Libav</application> by running the following
      commands:
    </para>

<screen><userinput>./configure --prefix=/usr \
            --with-package-name="GStreamer Libav Plugins &gst10-libav-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>

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

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

  <sect2 role="commands">
    <title>Command Explanations</title>

    <para>
      <option>--with-libav-extra-configure="--disable-yasm"</option>: Use this
      switch if you don't have <application>yasm</application> installed.
    </para>

  </sect2>

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

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Library</segtitle>
      <segtitle>Installed Directory</segtitle>

      <seglistitem>
        <seg>
          None
        </seg>
        <seg>
          /usr/lib/gstreamer-1.0/libgstlibav.so
        </seg>
        <seg>
          /usr/share/gtk-doc/html/gst-libav-plugins-1.0
        </seg>
      </seglistitem>
    </segmentedlist>

  </sect2>

</sect1>
