[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 |
|
---|
[e04cfef] | 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 " ">
|
---|
[e04cfef] | 9 | <!ENTITY libvpx-md5sum "63b1d7f59636a42eeeee9225cc14e7de">
|
---|
[6c52b1a] | 10 | <!ENTITY libvpx-size "1.8 MB">
|
---|
[e04cfef] | 11 | <!ENTITY libvpx-buildsize "38 MB (without the documentation)">
|
---|
| 12 | <!ENTITY libvpx-time "0.9 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 |
|
---|
[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 |
|
---|
[33c9d33] | 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 |
|
---|
[e04cfef] | 82 | <screen><userinput>sed -e 's/cp -p/cp/' \
|
---|
| 83 | -i build/make/Makefile &&
|
---|
| 84 | chmod -v 644 vpx/*.h &&
|
---|
| 85 |
|
---|
[b63e0be1] | 86 | mkdir ../libvpx-build &&
|
---|
[e04cfef] | 87 | cd ../libvpx-build &&
|
---|
| 88 |
|
---|
| 89 | ../libvpx-&libvpx-version;/configure --prefix=/usr \
|
---|
[5aac2b97] | 90 | --enable-shared \
|
---|
[028759b] | 91 | --disable-static &&
|
---|
[1fb813d] | 92 | make</userinput></screen>
|
---|
| 93 |
|
---|
| 94 | <para>This package does not come with a test suite.</para>
|
---|
| 95 |
|
---|
[793932fd] | 96 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 97 | user:</para>
|
---|
[1fb813d] | 98 |
|
---|
| 99 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="commands">
|
---|
| 104 | <title>Command Explanations</title>
|
---|
| 105 |
|
---|
[b63e0be1] | 106 | <para><command>sed ... && chmod ...</command>: These commands
|
---|
| 107 | correct ownership and permissions of installed files.</para>
|
---|
| 108 |
|
---|
[793932fd] | 109 | <para><command>mkdir ../libvpx-build && cd
|
---|
| 110 | ../libvpx-build</command>: The <application>libvpx</application> developers
|
---|
| 111 | recommend building in a dedicated build directory.</para>
|
---|
[0d7900a] | 112 |
|
---|
[6c52b1a] | 113 | <para><option>--disable-vp8</option>: This switch prevents building of VP8
|
---|
| 114 | codec support.</para>
|
---|
| 115 |
|
---|
| 116 | <para><option>--disable-vp9</option>: This switch prevents building of VP9
|
---|
| 117 | codec support.</para>
|
---|
| 118 |
|
---|
[0d7900a] | 119 | <para><option>--disable-static</option>: This switch prevents building of
|
---|
[5aac2b97] | 120 | static versions of libraries.</para>
|
---|
[1fb813d] | 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed Programs</segtitle>
|
---|
[5aac2b97] | 129 | <segtitle>Installed Libraries</segtitle>
|
---|
[1fb813d] | 130 | <segtitle>Installed Directories</segtitle>
|
---|
| 131 |
|
---|
| 132 | <seglistitem>
|
---|
[e04cfef] | 133 | <seg>vpxdec and vpxenc</seg>
|
---|
[5aac2b97] | 134 | <seg>libvpx.so</seg>
|
---|
[1fb813d] | 135 | <seg>/usr/include/vpx</seg>
|
---|
| 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
| 138 |
|
---|
| 139 | <variablelist>
|
---|
| 140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 141 | <?dbfo list-presentation="list"?>
|
---|
| 142 | <?dbhtml list-presentation="table"?>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="vpxdec">
|
---|
| 145 | <term><command>vpxdec</command></term>
|
---|
| 146 | <listitem>
|
---|
[6c52b1a] | 147 | <para>is the WebM Project VP8 and VP9 decoder.</para>
|
---|
[1fb813d] | 148 | <indexterm zone="libvpx vpxdec">
|
---|
| 149 | <primary sortas="b-vpxdec">vpxdec</primary>
|
---|
| 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="vpxenc">
|
---|
| 155 | <term><command>vpxenc</command></term>
|
---|
| 156 | <listitem>
|
---|
[6c52b1a] | 157 | <para>is the WebM project VP8 and VP9 encoder.</para>
|
---|
[1fb813d] | 158 | <indexterm zone="libvpx vpxenc">
|
---|
| 159 | <primary sortas="b-vpxenc">vpxenc</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="libvpx-lib">
|
---|
[5aac2b97] | 165 | <term><filename class='libraryfile'>libvpx.so</filename></term>
|
---|
[1fb813d] | 166 | <listitem>
|
---|
[6c52b1a] | 167 | <para>provides functions to use the VP8 and VP9 video codecs.</para>
|
---|
[1fb813d] | 168 | <indexterm zone="libvpx libvpx-lib">
|
---|
[e114b7b9] | 169 | <primary sortas="c-libvpx">libvpx.so</primary>
|
---|
[1fb813d] | 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | </variablelist>
|
---|
| 175 |
|
---|
| 176 | </sect2>
|
---|
| 177 |
|
---|
| 178 | </sect1>
|
---|