[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 |
|
---|
[2eeb8695] | 32 | <para>
|
---|
| 33 | This package, from the WebM project, provides the reference
|
---|
| 34 | implementations of the VP8 Codec, used in most current html5 video,
|
---|
| 35 | and of the next-generation VP9 Codec.
|
---|
| 36 | </para>
|
---|
[1fb813d] | 37 |
|
---|
[56229a7e] | 38 | &lfs91_checked;
|
---|
[1fb813d] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[2eeb8695] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&libvpx-download-http;"/>
|
---|
| 45 | </para>
|
---|
[1fb813d] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[2eeb8695] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&libvpx-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[1fb813d] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[2eeb8695] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &libvpx-md5sum;
|
---|
| 55 | </para>
|
---|
[1fb813d] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[2eeb8695] | 58 | <para>
|
---|
| 59 | Download size: &libvpx-size;
|
---|
| 60 | </para>
|
---|
[1fb813d] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[2eeb8695] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &libvpx-buildsize;
|
---|
| 65 | </para>
|
---|
[1fb813d] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[2eeb8695] | 68 | <para>
|
---|
| 69 | Estimated build time: &libvpx-time;
|
---|
| 70 | </para>
|
---|
[1fb813d] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">libvpx Dependencies</bridgehead>
|
---|
| 75 |
|
---|
[793932fd] | 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[f95e57bf] | 77 | <para role="required">
|
---|
[cac7f93] | 78 | <xref linkend="yasm"/> or <xref role="nodep" linkend="nasm"/>, and
|
---|
| 79 | <!-- see
|
---|
| 80 | http://lists.linuxfromscratch.org/pipermail/blfs-book/2019-August/083164.html
|
---|
| 81 | and references therein -->
|
---|
[f95e57bf] | 82 | <xref linkend="which"/> (so <command>configure</command> can find yasm)
|
---|
| 83 | </para>
|
---|
[793932fd] | 84 |
|
---|
[1fb813d] | 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e915fec] | 86 | <para role="optional">
|
---|
| 87 | <xref linkend="doxygen"/> and <xref linkend="php"/>
|
---|
[39edd16d] | 88 | (to build the documentation)
|
---|
[e915fec] | 89 | </para>
|
---|
[1fb813d] | 90 |
|
---|
| 91 | <para condition="html" role="usernotes">User Notes:
|
---|
| 92 | <ulink url="&blfs-wiki;/libvpx"/></para>
|
---|
| 93 |
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of libvpx</title>
|
---|
| 98 |
|
---|
[2eeb8695] | 99 | <para>
|
---|
| 100 | Install <application>libvpx</application> by running the
|
---|
| 101 | following commands:
|
---|
| 102 | </para>
|
---|
[1fb813d] | 103 |
|
---|
[71b2520e] | 104 | <screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &&
|
---|
[e04cfef] | 105 |
|
---|
[71b2520e] | 106 | mkdir libvpx-build &&
|
---|
| 107 | cd libvpx-build &&
|
---|
[e04cfef] | 108 |
|
---|
[71b2520e] | 109 | ../configure --prefix=/usr \
|
---|
| 110 | --enable-shared \
|
---|
| 111 | --disable-static &&
|
---|
[1fb813d] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[2eeb8695] | 114 | <para>
|
---|
| 115 | This package does not come with a test suite.
|
---|
| 116 | </para>
|
---|
[1fb813d] | 117 |
|
---|
[2eeb8695] | 118 | <para>
|
---|
| 119 | Now, as the <systemitem class="username">root</systemitem>
|
---|
| 120 | user:
|
---|
| 121 | </para>
|
---|
[1fb813d] | 122 |
|
---|
| 123 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="commands">
|
---|
| 128 | <title>Command Explanations</title>
|
---|
| 129 |
|
---|
[2eeb8695] | 130 | <para>
|
---|
| 131 | <command>sed ... </command>: This command
|
---|
| 132 | corrects ownership and permissions of installed files.
|
---|
| 133 | </para>
|
---|
[b63e0be1] | 134 |
|
---|
[2eeb8695] | 135 | <para>
|
---|
| 136 | <command>mkdir libvpx-build && cd libvpx-build</command>:
|
---|
| 137 | The <application>libvpx</application> developers
|
---|
| 138 | recommend building in a dedicated build directory.
|
---|
| 139 | </para>
|
---|
[0d7900a] | 140 |
|
---|
[2eeb8695] | 141 | <para>
|
---|
| 142 | <option>--disable-vp8</option>: This switch prevents building of VP8
|
---|
| 143 | codec support.
|
---|
| 144 | </para>
|
---|
[6c52b1a] | 145 |
|
---|
[2eeb8695] | 146 | <para>
|
---|
| 147 | <option>--disable-vp9</option>: This switch prevents building of VP9
|
---|
| 148 | codec support.
|
---|
| 149 | </para>
|
---|
[6c52b1a] | 150 |
|
---|
[1a518e97] | 151 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 152 | href="../../xincludes/static-libraries.xml"/>
|
---|
[1fb813d] | 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | <sect2 role="content">
|
---|
| 157 | <title>Contents</title>
|
---|
| 158 |
|
---|
| 159 | <segmentedlist>
|
---|
| 160 | <segtitle>Installed Programs</segtitle>
|
---|
[5aac2b97] | 161 | <segtitle>Installed Libraries</segtitle>
|
---|
[1fb813d] | 162 | <segtitle>Installed Directories</segtitle>
|
---|
| 163 |
|
---|
| 164 | <seglistitem>
|
---|
[e04cfef] | 165 | <seg>vpxdec and vpxenc</seg>
|
---|
[5aac2b97] | 166 | <seg>libvpx.so</seg>
|
---|
[1fb813d] | 167 | <seg>/usr/include/vpx</seg>
|
---|
| 168 | </seglistitem>
|
---|
| 169 | </segmentedlist>
|
---|
| 170 |
|
---|
| 171 | <variablelist>
|
---|
| 172 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 173 | <?dbfo list-presentation="list"?>
|
---|
| 174 | <?dbhtml list-presentation="table"?>
|
---|
| 175 |
|
---|
| 176 | <varlistentry id="vpxdec">
|
---|
| 177 | <term><command>vpxdec</command></term>
|
---|
| 178 | <listitem>
|
---|
[2eeb8695] | 179 | <para>
|
---|
| 180 | is the WebM Project VP8 and VP9 decoder.
|
---|
| 181 | </para>
|
---|
[1fb813d] | 182 | <indexterm zone="libvpx vpxdec">
|
---|
| 183 | <primary sortas="b-vpxdec">vpxdec</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="vpxenc">
|
---|
| 189 | <term><command>vpxenc</command></term>
|
---|
| 190 | <listitem>
|
---|
[2eeb8695] | 191 | <para>
|
---|
| 192 | is the WebM project VP8 and VP9 encoder.
|
---|
| 193 | </para>
|
---|
[1fb813d] | 194 | <indexterm zone="libvpx vpxenc">
|
---|
| 195 | <primary sortas="b-vpxenc">vpxenc</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="libvpx-lib">
|
---|
[5aac2b97] | 201 | <term><filename class='libraryfile'>libvpx.so</filename></term>
|
---|
[1fb813d] | 202 | <listitem>
|
---|
[2eeb8695] | 203 | <para>
|
---|
| 204 | provides functions to use the VP8 and VP9 video codecs.
|
---|
| 205 | </para>
|
---|
[1fb813d] | 206 | <indexterm zone="libvpx libvpx-lib">
|
---|
[e114b7b9] | 207 | <primary sortas="c-libvpx">libvpx.so</primary>
|
---|
[1fb813d] | 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | </variablelist>
|
---|
| 213 |
|
---|
| 214 | </sect2>
|
---|
| 215 |
|
---|
| 216 | </sect1>
|
---|