[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 |
|
---|
[ac38e9dc] | 7 | <!ENTITY libvpx-download-http "http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-&libvpx-version;.tar.bz2">
|
---|
[13bd274] | 8 | <!ENTITY libvpx-download-ftp " ">
|
---|
[d19fb65] | 9 | <!ENTITY libvpx-md5sum "49e59dd184caa255886683facea56fca">
|
---|
[6c52b1a] | 10 | <!ENTITY libvpx-size "1.8 MB">
|
---|
[d19fb65] | 11 | <!ENTITY libvpx-buildsize "41 MB (without the documentation)">
|
---|
| 12 | <!ENTITY libvpx-time "1.2 SBU">
|
---|
[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 |
|
---|
[d19fb65] | 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 |
|
---|
[2a3a49a] | 36 | &lfs78_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>
|
---|
| 63 | <para role="required"><xref linkend="yasm"/> (compiling with
|
---|
[efdd9de] | 64 | <xref linkend="nasm"/> is currently broken) and <xref linkend="which"/>
|
---|
[127b62c] | 65 | (so <command>configure</command> can find yasm)</para>
|
---|
[793932fd] | 66 |
|
---|
[1fb813d] | 67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[793932fd] | 68 | <para role="optional"><xref linkend="doxygen"/> and <xref linkend="php"/>
|
---|
| 69 | (to build the documentation).</para>
|
---|
[1fb813d] | 70 |
|
---|
| 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/libvpx"/></para>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2 role="installation">
|
---|
| 77 | <title>Installation of libvpx</title>
|
---|
| 78 |
|
---|
| 79 | <para>Install <application>libvpx</application> by running the
|
---|
| 80 | following commands:</para>
|
---|
| 81 |
|
---|
[d19fb65] | 82 | <screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &&
|
---|
[ac38e9dc] | 83 |
|
---|
[d19fb65] | 84 | mkdir libvpx-build &&
|
---|
| 85 | cd libvpx-build &&
|
---|
| 86 |
|
---|
| 87 | ../configure --prefix=/usr \
|
---|
| 88 | --enable-shared \
|
---|
| 89 | --disable-static &&
|
---|
[1fb813d] | 90 | make</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>This package does not come with a test suite.</para>
|
---|
| 93 |
|
---|
[793932fd] | 94 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 95 | user:</para>
|
---|
[1fb813d] | 96 |
|
---|
| 97 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="commands">
|
---|
| 102 | <title>Command Explanations</title>
|
---|
| 103 |
|
---|
[d19fb65] | 104 | <para><command>sed ... </command>: This command
|
---|
| 105 | corrects ownership and permissions of installed files.</para>
|
---|
| 106 |
|
---|
| 107 | <para><command>mkdir libvpx-build && cd
|
---|
| 108 | libvpx-build</command>: The <application>libvpx</application> developers
|
---|
[793932fd] | 109 | recommend building in a dedicated build directory.</para>
|
---|
[0d7900a] | 110 |
|
---|
[6c52b1a] | 111 | <para><option>--disable-vp8</option>: This switch prevents building of VP8
|
---|
| 112 | codec support.</para>
|
---|
| 113 |
|
---|
| 114 | <para><option>--disable-vp9</option>: This switch prevents building of VP9
|
---|
| 115 | codec support.</para>
|
---|
| 116 |
|
---|
[0d7900a] | 117 | <para><option>--disable-static</option>: This switch prevents building of
|
---|
[5aac2b97] | 118 | static versions of libraries.</para>
|
---|
[1fb813d] | 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="content">
|
---|
| 123 | <title>Contents</title>
|
---|
| 124 |
|
---|
| 125 | <segmentedlist>
|
---|
| 126 | <segtitle>Installed Programs</segtitle>
|
---|
[5aac2b97] | 127 | <segtitle>Installed Libraries</segtitle>
|
---|
[1fb813d] | 128 | <segtitle>Installed Directories</segtitle>
|
---|
| 129 |
|
---|
| 130 | <seglistitem>
|
---|
[ac38e9dc] | 131 | <seg>vpxdec and vpxenc</seg>
|
---|
[5aac2b97] | 132 | <seg>libvpx.so</seg>
|
---|
[1fb813d] | 133 | <seg>/usr/include/vpx</seg>
|
---|
| 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 | <?dbhtml list-presentation="table"?>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="vpxdec">
|
---|
| 143 | <term><command>vpxdec</command></term>
|
---|
| 144 | <listitem>
|
---|
[6c52b1a] | 145 | <para>is the WebM Project VP8 and VP9 decoder.</para>
|
---|
[1fb813d] | 146 | <indexterm zone="libvpx vpxdec">
|
---|
| 147 | <primary sortas="b-vpxdec">vpxdec</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
| 152 | <varlistentry id="vpxenc">
|
---|
| 153 | <term><command>vpxenc</command></term>
|
---|
| 154 | <listitem>
|
---|
[6c52b1a] | 155 | <para>is the WebM project VP8 and VP9 encoder.</para>
|
---|
[1fb813d] | 156 | <indexterm zone="libvpx vpxenc">
|
---|
| 157 | <primary sortas="b-vpxenc">vpxenc</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
| 162 | <varlistentry id="libvpx-lib">
|
---|
[5aac2b97] | 163 | <term><filename class='libraryfile'>libvpx.so</filename></term>
|
---|
[1fb813d] | 164 | <listitem>
|
---|
[6c52b1a] | 165 | <para>provides functions to use the VP8 and VP9 video codecs.</para>
|
---|
[1fb813d] | 166 | <indexterm zone="libvpx libvpx-lib">
|
---|
[e114b7b9] | 167 | <primary sortas="c-libvpx">libvpx.so</primary>
|
---|
[1fb813d] | 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | </variablelist>
|
---|
| 173 |
|
---|
| 174 | </sect2>
|
---|
| 175 |
|
---|
| 176 | </sect1>
|
---|