[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 |
|
---|
[13bd274] | 7 | <!ENTITY libvpx-download-http "&sources-anduin-other-http;/libvpx-v&libvpx-version;.tar.xz">
|
---|
[6c52b1a] | 8 | <!-- <!ENTITY libvpx-download-http "http://webm.googlecode.com/files/libvpx-v&libvpx-version;.tar.bz2"> -->
|
---|
[13bd274] | 9 | <!ENTITY libvpx-download-ftp " ">
|
---|
[6c52b1a] | 10 | <!ENTITY libvpx-md5sum "528cb52934d9a731dfc0a2853b1e260d">
|
---|
| 11 | <!ENTITY libvpx-size "1.8 MB">
|
---|
| 12 | <!ENTITY libvpx-buildsize "32 MB (without the documentation)">
|
---|
| 13 | <!ENTITY libvpx-time "0.8 SBU">
|
---|
[1fb813d] | 14 | ]>
|
---|
| 15 |
|
---|
[14897252] | 16 | <sect1 id="libvpx" xreflabel="libvpx-&libvpx-version;">
|
---|
[1fb813d] | 17 | <?dbhtml filename="libvpx.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>libvpx-v&libvpx-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="libvpx">
|
---|
| 27 | <primary sortas="a-libvpx">libvpx</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to libvpx</title>
|
---|
| 32 |
|
---|
[6c52b1a] | 33 | <para>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.</para>
|
---|
[1fb813d] | 36 |
|
---|
[7c51f58] | 37 | &lfs77_checked;
|
---|
[1fb813d] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&libvpx-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&libvpx-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &libvpx-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &libvpx-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &libvpx-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &libvpx-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
[6c52b1a] | 61 | <para>The <application>libvpx</application> tarballs are no longer generated
|
---|
| 62 | by the maintainers. To build from source, the
|
---|
| 63 | <application>libvpx</application> developers recommend using current git.
|
---|
| 64 | The source tarball shown above was created by the BLFS team by pulling a
|
---|
| 65 | git version, and removing .git, .gitattributes and .gitignore. BLFS made
|
---|
| 66 | no changes to the existing source files.</para>
|
---|
| 67 |
|
---|
[1fb813d] | 68 | <bridgehead renderas="sect3">libvpx Dependencies</bridgehead>
|
---|
| 69 |
|
---|
[793932fd] | 70 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 71 | <para role="required"><xref linkend="yasm"/> (compiling with
|
---|
[efdd9de] | 72 | <xref linkend="nasm"/> is currently broken) and <xref linkend="which"/>
|
---|
[127b62c] | 73 | (so <command>configure</command> can find yasm)</para>
|
---|
[793932fd] | 74 |
|
---|
[1fb813d] | 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[793932fd] | 76 | <para role="optional"><xref linkend="doxygen"/> and <xref linkend="php"/>
|
---|
| 77 | (to build the documentation).</para>
|
---|
[1fb813d] | 78 |
|
---|
| 79 | <para condition="html" role="usernotes">User Notes:
|
---|
| 80 | <ulink url="&blfs-wiki;/libvpx"/></para>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 role="installation">
|
---|
| 85 | <title>Installation of libvpx</title>
|
---|
| 86 |
|
---|
| 87 | <para>Install <application>libvpx</application> by running the
|
---|
| 88 | following commands:</para>
|
---|
| 89 |
|
---|
[b63e0be1] | 90 | <screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &&
|
---|
| 91 | chmod -v 644 vpx/*.h &&
|
---|
| 92 | mkdir ../libvpx-build &&
|
---|
[1fb813d] | 93 | cd ../libvpx-build &&
|
---|
[5aac2b97] | 94 | ../libvpx-v&libvpx-version;/configure --prefix=/usr \
|
---|
| 95 | --enable-shared \
|
---|
[028759b] | 96 | --disable-static &&
|
---|
[1fb813d] | 97 | make</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | <para>This package does not come with a test suite.</para>
|
---|
| 100 |
|
---|
[793932fd] | 101 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 102 | user:</para>
|
---|
[1fb813d] | 103 |
|
---|
| 104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
[b63e0be1] | 111 | <para><command>sed ... && chmod ...</command>: These commands
|
---|
| 112 | correct ownership and permissions of installed files.</para>
|
---|
| 113 |
|
---|
[793932fd] | 114 | <para><command>mkdir ../libvpx-build && cd
|
---|
| 115 | ../libvpx-build</command>: The <application>libvpx</application> developers
|
---|
| 116 | recommend building in a dedicated build directory.</para>
|
---|
[0d7900a] | 117 |
|
---|
[6c52b1a] | 118 | <para><option>--disable-vp8</option>: This switch prevents building of VP8
|
---|
| 119 | codec support.</para>
|
---|
| 120 |
|
---|
| 121 | <para><option>--disable-vp9</option>: This switch prevents building of VP9
|
---|
| 122 | codec support.</para>
|
---|
| 123 |
|
---|
[0d7900a] | 124 | <para><option>--disable-static</option>: This switch prevents building of
|
---|
[5aac2b97] | 125 | static versions of libraries.</para>
|
---|
[1fb813d] | 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
| 133 | <segtitle>Installed Programs</segtitle>
|
---|
[5aac2b97] | 134 | <segtitle>Installed Libraries</segtitle>
|
---|
[1fb813d] | 135 | <segtitle>Installed Directories</segtitle>
|
---|
| 136 |
|
---|
| 137 | <seglistitem>
|
---|
[6c52b1a] | 138 | <seg>vp8_scalable_patterns, vp9_spatial_scalable_encoder,
|
---|
| 139 | vpxdec and vpxenc</seg>
|
---|
[5aac2b97] | 140 | <seg>libvpx.so</seg>
|
---|
[1fb813d] | 141 | <seg>/usr/include/vpx</seg>
|
---|
| 142 | </seglistitem>
|
---|
| 143 | </segmentedlist>
|
---|
| 144 |
|
---|
| 145 | <variablelist>
|
---|
| 146 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 147 | <?dbfo list-presentation="list"?>
|
---|
| 148 | <?dbhtml list-presentation="table"?>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="vpxdec">
|
---|
| 151 | <term><command>vpxdec</command></term>
|
---|
| 152 | <listitem>
|
---|
[6c52b1a] | 153 | <para>is the WebM Project VP8 and VP9 decoder.</para>
|
---|
[1fb813d] | 154 | <indexterm zone="libvpx vpxdec">
|
---|
| 155 | <primary sortas="b-vpxdec">vpxdec</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="vpxenc">
|
---|
| 161 | <term><command>vpxenc</command></term>
|
---|
| 162 | <listitem>
|
---|
[6c52b1a] | 163 | <para>is the WebM project VP8 and VP9 encoder.</para>
|
---|
[1fb813d] | 164 | <indexterm zone="libvpx vpxenc">
|
---|
| 165 | <primary sortas="b-vpxenc">vpxenc</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="libvpx-lib">
|
---|
[5aac2b97] | 171 | <term><filename class='libraryfile'>libvpx.so</filename></term>
|
---|
[1fb813d] | 172 | <listitem>
|
---|
[6c52b1a] | 173 | <para>provides functions to use the VP8 and VP9 video codecs.</para>
|
---|
[1fb813d] | 174 | <indexterm zone="libvpx libvpx-lib">
|
---|
[e114b7b9] | 175 | <primary sortas="c-libvpx">libvpx.so</primary>
|
---|
[1fb813d] | 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | </variablelist>
|
---|
| 181 |
|
---|
| 182 | </sect2>
|
---|
| 183 |
|
---|
| 184 | </sect1>
|
---|