[1fb813d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[fc8a910] | 7 | <!ENTITY libvpx-download-http "https://github.com/webmproject/libvpx/archive/v&libvpx-version;/libvpx-&libvpx-version;.tar.gz">
|
---|
[13bd274] | 8 | <!ENTITY libvpx-download-ftp " ">
|
---|
[b75680ba] | 9 | <!ENTITY libvpx-md5sum "6dbccca688886c66a216d7e445525bce">
|
---|
| 10 | <!ENTITY libvpx-size "5.1 MB">
|
---|
| 11 | <!ENTITY libvpx-buildsize "56 MB">
|
---|
[fca6d6c] | 12 | <!ENTITY libvpx-time "0.5 SBU (using parallelism=4)">
|
---|
[1fb813d] | 13 | ]>
|
---|
| 14 |
|
---|
[14897252] | 15 | <sect1 id="libvpx" xreflabel="libvpx-&libvpx-version;">
|
---|
[1fb813d] | 16 | <?dbhtml filename="libvpx.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[e04cfef] | 23 | <title>libvpx-&libvpx-version;</title>
|
---|
[1fb813d] | 24 |
|
---|
| 25 | <indexterm zone="libvpx">
|
---|
| 26 | <primary sortas="a-libvpx">libvpx</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libvpx</title>
|
---|
| 31 |
|
---|
[6c52b1a] | 32 | <para>This package, from the WebM project, provides the reference
|
---|
| 33 | implementations of the VP8 Codec, used in most current html5 video,
|
---|
| 34 | and of the next-generation VP9 Codec.</para>
|
---|
[1fb813d] | 35 |
|
---|
[56229a7e] | 36 | &lfs91_checked;
|
---|
[1fb813d] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&libvpx-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&libvpx-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &libvpx-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &libvpx-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &libvpx-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &libvpx-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">libvpx Dependencies</bridgehead>
|
---|
| 61 |
|
---|
[793932fd] | 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[f95e57bf] | 63 | <para role="required">
|
---|
[cac7f93] | 64 | <xref linkend="yasm"/> or <xref role="nodep" linkend="nasm"/>, and
|
---|
| 65 | <!-- see
|
---|
| 66 | http://lists.linuxfromscratch.org/pipermail/blfs-book/2019-August/083164.html
|
---|
| 67 | and references therein -->
|
---|
[f95e57bf] | 68 | <xref linkend="which"/> (so <command>configure</command> can find yasm)
|
---|
| 69 | </para>
|
---|
[793932fd] | 70 |
|
---|
[1fb813d] | 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e915fec] | 72 | <para role="optional">
|
---|
| 73 | <xref linkend="doxygen"/> and <xref linkend="php"/>
|
---|
[39edd16d] | 74 | (to build the documentation)
|
---|
[e915fec] | 75 | </para>
|
---|
[1fb813d] | 76 |
|
---|
| 77 | <para condition="html" role="usernotes">User Notes:
|
---|
| 78 | <ulink url="&blfs-wiki;/libvpx"/></para>
|
---|
| 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of libvpx</title>
|
---|
| 84 |
|
---|
| 85 | <para>Install <application>libvpx</application> by running the
|
---|
| 86 | following commands:</para>
|
---|
| 87 |
|
---|
[71b2520e] | 88 | <screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &&
|
---|
[e04cfef] | 89 |
|
---|
[71b2520e] | 90 | mkdir libvpx-build &&
|
---|
| 91 | cd libvpx-build &&
|
---|
[e04cfef] | 92 |
|
---|
[71b2520e] | 93 | ../configure --prefix=/usr \
|
---|
| 94 | --enable-shared \
|
---|
| 95 | --disable-static &&
|
---|
[1fb813d] | 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | <para>This package does not come with a test suite.</para>
|
---|
| 99 |
|
---|
[793932fd] | 100 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 101 | user:</para>
|
---|
[1fb813d] | 102 |
|
---|
| 103 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="commands">
|
---|
| 108 | <title>Command Explanations</title>
|
---|
| 109 |
|
---|
[71b2520e] | 110 | <para><command>sed ... </command>: This command
|
---|
| 111 | corrects ownership and permissions of installed files.</para>
|
---|
[b63e0be1] | 112 |
|
---|
[71b2520e] | 113 | <para><command>mkdir libvpx-build && cd
|
---|
| 114 | libvpx-build</command>: The <application>libvpx</application> developers
|
---|
[793932fd] | 115 | recommend building in a dedicated build directory.</para>
|
---|
[0d7900a] | 116 |
|
---|
[6c52b1a] | 117 | <para><option>--disable-vp8</option>: This switch prevents building of VP8
|
---|
| 118 | codec support.</para>
|
---|
| 119 |
|
---|
| 120 | <para><option>--disable-vp9</option>: This switch prevents building of VP9
|
---|
| 121 | codec support.</para>
|
---|
| 122 |
|
---|
[1a518e97] | 123 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 124 | href="../../xincludes/static-libraries.xml"/>
|
---|
[1fb813d] | 125 |
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="content">
|
---|
| 129 | <title>Contents</title>
|
---|
| 130 |
|
---|
| 131 | <segmentedlist>
|
---|
| 132 | <segtitle>Installed Programs</segtitle>
|
---|
[5aac2b97] | 133 | <segtitle>Installed Libraries</segtitle>
|
---|
[1fb813d] | 134 | <segtitle>Installed Directories</segtitle>
|
---|
| 135 |
|
---|
| 136 | <seglistitem>
|
---|
[e04cfef] | 137 | <seg>vpxdec and vpxenc</seg>
|
---|
[5aac2b97] | 138 | <seg>libvpx.so</seg>
|
---|
[1fb813d] | 139 | <seg>/usr/include/vpx</seg>
|
---|
| 140 | </seglistitem>
|
---|
| 141 | </segmentedlist>
|
---|
| 142 |
|
---|
| 143 | <variablelist>
|
---|
| 144 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 145 | <?dbfo list-presentation="list"?>
|
---|
| 146 | <?dbhtml list-presentation="table"?>
|
---|
| 147 |
|
---|
| 148 | <varlistentry id="vpxdec">
|
---|
| 149 | <term><command>vpxdec</command></term>
|
---|
| 150 | <listitem>
|
---|
[6c52b1a] | 151 | <para>is the WebM Project VP8 and VP9 decoder.</para>
|
---|
[1fb813d] | 152 | <indexterm zone="libvpx vpxdec">
|
---|
| 153 | <primary sortas="b-vpxdec">vpxdec</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="vpxenc">
|
---|
| 159 | <term><command>vpxenc</command></term>
|
---|
| 160 | <listitem>
|
---|
[6c52b1a] | 161 | <para>is the WebM project VP8 and VP9 encoder.</para>
|
---|
[1fb813d] | 162 | <indexterm zone="libvpx vpxenc">
|
---|
| 163 | <primary sortas="b-vpxenc">vpxenc</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="libvpx-lib">
|
---|
[5aac2b97] | 169 | <term><filename class='libraryfile'>libvpx.so</filename></term>
|
---|
[1fb813d] | 170 | <listitem>
|
---|
[6c52b1a] | 171 | <para>provides functions to use the VP8 and VP9 video codecs.</para>
|
---|
[1fb813d] | 172 | <indexterm zone="libvpx libvpx-lib">
|
---|
[e114b7b9] | 173 | <primary sortas="c-libvpx">libvpx.so</primary>
|
---|
[1fb813d] | 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | </variablelist>
|
---|
| 179 |
|
---|
| 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | </sect1>
|
---|