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