2010-11-01 07:02:27 +08:00
|
|
|
<?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;
|
|
|
|
|
2018-02-04 20:14:09 +08:00
|
|
|
<!ENTITY libvpx-download-http "https://github.com/webmproject/libvpx/archive/v&libvpx-version;/libvpx-&libvpx-version;.tar.gz">
|
2013-12-10 03:10:45 +08:00
|
|
|
<!ENTITY libvpx-download-ftp " ">
|
2019-07-18 04:52:00 +08:00
|
|
|
<!ENTITY libvpx-md5sum "17b1b9278b5066ecd1a76e82266ecdf9">
|
|
|
|
<!ENTITY libvpx-size "2.8 MB">
|
|
|
|
<!ENTITY libvpx-buildsize "52 MB">
|
|
|
|
<!ENTITY libvpx-time "0.5 SBU (using parallelism=4)">
|
2010-11-01 07:02:27 +08:00
|
|
|
]>
|
|
|
|
|
2012-01-23 07:27:09 +08:00
|
|
|
<sect1 id="libvpx" xreflabel="libvpx-&libvpx-version;">
|
2010-11-01 07:02:27 +08:00
|
|
|
<?dbhtml filename="libvpx.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2015-04-25 04:46:06 +08:00
|
|
|
<title>libvpx-&libvpx-version;</title>
|
2010-11-01 07:02:27 +08:00
|
|
|
|
|
|
|
<indexterm zone="libvpx">
|
|
|
|
<primary sortas="a-libvpx">libvpx</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to libvpx</title>
|
|
|
|
|
2013-12-09 20:44:25 +08:00
|
|
|
<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>
|
2010-11-01 07:02:27 +08:00
|
|
|
|
2019-08-18 06:49:15 +08:00
|
|
|
&lfs90_checked;
|
2010-11-01 07:02:27 +08:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">libvpx Dependencies</bridgehead>
|
|
|
|
|
2011-12-02 21:44:31 +08:00
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2019-08-07 02:16:05 +08:00
|
|
|
<para role="required">
|
|
|
|
<xref linkend="yasm"/> and
|
|
|
|
<xref linkend="which"/> (so <command>configure</command> can find yasm)
|
|
|
|
</para>
|
2011-12-02 21:44:31 +08:00
|
|
|
|
2010-11-01 07:02:27 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2019-08-07 11:08:33 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="doxygen"/> and <xref linkend="php"/>
|
|
|
|
(to build the documentation), and
|
|
|
|
<xref linkend="nasm"/> (can be used instead of
|
|
|
|
<xref role="nodep" linkend="yasm"/>)
|
|
|
|
</para>
|
2010-11-01 07:02:27 +08:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2015-11-12 09:35:07 +08:00
|
|
|
<screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &&
|
2015-04-25 04:46:06 +08:00
|
|
|
|
2015-11-12 09:35:07 +08:00
|
|
|
mkdir libvpx-build &&
|
|
|
|
cd libvpx-build &&
|
2015-04-25 04:46:06 +08:00
|
|
|
|
2015-11-12 09:35:07 +08:00
|
|
|
../configure --prefix=/usr \
|
|
|
|
--enable-shared \
|
|
|
|
--disable-static &&
|
2010-11-01 07:02:27 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
2011-12-02 21:44:31 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem>
|
|
|
|
user:</para>
|
2010-11-01 07:02:27 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2015-11-12 09:35:07 +08:00
|
|
|
<para><command>sed ... </command>: This command
|
|
|
|
corrects ownership and permissions of installed files.</para>
|
2013-09-28 15:40:42 +08:00
|
|
|
|
2015-11-12 09:35:07 +08:00
|
|
|
<para><command>mkdir libvpx-build && cd
|
|
|
|
libvpx-build</command>: The <application>libvpx</application> developers
|
2011-12-02 21:44:31 +08:00
|
|
|
recommend building in a dedicated build directory.</para>
|
2013-02-12 02:51:17 +08:00
|
|
|
|
2013-12-09 20:44:25 +08:00
|
|
|
<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>
|
|
|
|
|
2016-10-15 00:16:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
2010-11-01 07:02:27 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
2012-04-06 18:35:28 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2010-11-01 07:02:27 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2015-04-25 04:46:06 +08:00
|
|
|
<seg>vpxdec and vpxenc</seg>
|
2012-04-06 18:35:28 +08:00
|
|
|
<seg>libvpx.so</seg>
|
2010-11-01 07:02:27 +08:00
|
|
|
<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>
|
2013-12-09 20:44:25 +08:00
|
|
|
<para>is the WebM Project VP8 and VP9 decoder.</para>
|
2010-11-01 07:02:27 +08:00
|
|
|
<indexterm zone="libvpx vpxdec">
|
|
|
|
<primary sortas="b-vpxdec">vpxdec</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="vpxenc">
|
|
|
|
<term><command>vpxenc</command></term>
|
|
|
|
<listitem>
|
2013-12-09 20:44:25 +08:00
|
|
|
<para>is the WebM project VP8 and VP9 encoder.</para>
|
2010-11-01 07:02:27 +08:00
|
|
|
<indexterm zone="libvpx vpxenc">
|
|
|
|
<primary sortas="b-vpxenc">vpxenc</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libvpx-lib">
|
2012-04-06 18:35:28 +08:00
|
|
|
<term><filename class='libraryfile'>libvpx.so</filename></term>
|
2010-11-01 07:02:27 +08:00
|
|
|
<listitem>
|
2013-12-09 20:44:25 +08:00
|
|
|
<para>provides functions to use the VP8 and VP9 video codecs.</para>
|
2010-11-01 07:02:27 +08:00
|
|
|
<indexterm zone="libvpx libvpx-lib">
|
2012-06-29 01:22:09 +08:00
|
|
|
<primary sortas="c-libvpx">libvpx.so</primary>
|
2010-11-01 07:02:27 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|