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