mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
3fa825f6e6
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12751 af4574ff-66df-0310-9fd7-8a98e5e911e0
185 lines
6.1 KiB
XML
185 lines
6.1 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 libvpx-download-http "&sources-anduin-other-http;/libvpx-v&libvpx-version;.tar.xz">
|
|
<!-- <!ENTITY libvpx-download-http "http://webm.googlecode.com/files/libvpx-v&libvpx-version;.tar.bz2"> -->
|
|
<!ENTITY libvpx-download-ftp " ">
|
|
<!ENTITY libvpx-md5sum "528cb52934d9a731dfc0a2853b1e260d">
|
|
<!ENTITY libvpx-size "1.8 MB">
|
|
<!ENTITY libvpx-buildsize "32 MB (without the documentation)">
|
|
<!ENTITY libvpx-time "0.8 SBU">
|
|
]>
|
|
|
|
<sect1 id="libvpx" xreflabel="libvpx-&libvpx-version;">
|
|
<?dbhtml filename="libvpx.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>libvpx-v&libvpx-version;</title>
|
|
|
|
<indexterm zone="libvpx">
|
|
<primary sortas="a-libvpx">libvpx</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to libvpx</title>
|
|
|
|
<para>This package, from the WebM project, provides the reference
|
|
implementations of the VP8 Codec, used in most current html5 video,
|
|
and of the next-generation VP9 Codec.</para>
|
|
|
|
&lfs75_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&libvpx-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&libvpx-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &libvpx-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &libvpx-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &libvpx-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &libvpx-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<para>The <application>libvpx</application> tarballs are no longer generated
|
|
by the maintainers. To build from source, the
|
|
<application>libvpx</application> developers recommend using current git.
|
|
The source tarball shown above was created by the BLFS team by pulling a
|
|
git version, and removing .git, .gitattributes and .gitignore. BLFS made
|
|
no changes to the existing source files.</para>
|
|
|
|
<bridgehead renderas="sect3">libvpx Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="yasm"/> (compiling with
|
|
<xref linkend="nasm"/> is currently broken) and <xref linkend="which"/>
|
|
(so <command>configure</command> can find yasm)</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional"><xref linkend="doxygen"/> and <xref linkend="php"/>
|
|
(to build the documentation).</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/libvpx"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of libvpx</title>
|
|
|
|
<para>Install <application>libvpx</application> by running the
|
|
following commands:</para>
|
|
|
|
<screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &&
|
|
chmod -v 644 vpx/*.h &&
|
|
mkdir ../libvpx-build &&
|
|
cd ../libvpx-build &&
|
|
../libvpx-v&libvpx-version;/configure --prefix=/usr \
|
|
--enable-shared \
|
|
--disable-static &&
|
|
make</userinput></screen>
|
|
|
|
<para>This package does not come with a test suite.</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><command>sed ... && chmod ...</command>: These commands
|
|
correct ownership and permissions of installed files.</para>
|
|
|
|
<para><command>mkdir ../libvpx-build && cd
|
|
../libvpx-build</command>: The <application>libvpx</application> developers
|
|
recommend building in a dedicated build directory.</para>
|
|
|
|
<para><option>--disable-vp8</option>: This switch prevents building of VP8
|
|
codec support.</para>
|
|
|
|
<para><option>--disable-vp9</option>: This switch prevents building of VP9
|
|
codec support.</para>
|
|
|
|
<para><option>--disable-static</option>: This switch prevents building of
|
|
static versions of libraries.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>vp8_scalable_patterns, vp9_spatial_scalable_encoder,
|
|
vpxdec and vpxenc</seg>
|
|
<seg>libvpx.so</seg>
|
|
<seg>/usr/include/vpx</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="vpxdec">
|
|
<term><command>vpxdec</command></term>
|
|
<listitem>
|
|
<para>is the WebM Project VP8 and VP9 decoder.</para>
|
|
<indexterm zone="libvpx vpxdec">
|
|
<primary sortas="b-vpxdec">vpxdec</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="vpxenc">
|
|
<term><command>vpxenc</command></term>
|
|
<listitem>
|
|
<para>is the WebM project VP8 and VP9 encoder.</para>
|
|
<indexterm zone="libvpx vpxenc">
|
|
<primary sortas="b-vpxenc">vpxenc</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libvpx-lib">
|
|
<term><filename class='libraryfile'>libvpx.so</filename></term>
|
|
<listitem>
|
|
<para>provides functions to use the VP8 and VP9 video codecs.</para>
|
|
<indexterm zone="libvpx libvpx-lib">
|
|
<primary sortas="c-libvpx">libvpx.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|