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 |
|
---|
7 | <!ENTITY libvpx-download-http "https://github.com/webmproject/libvpx/archive/v&libvpx-version;/libvpx-&libvpx-version;.tar.gz">
|
---|
8 | <!ENTITY libvpx-download-ftp " ">
|
---|
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)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libvpx" xreflabel="libvpx-&libvpx-version;">
|
---|
16 | <?dbhtml filename="libvpx.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>libvpx-&libvpx-version;</title>
|
---|
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 |
|
---|
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>
|
---|
35 |
|
---|
36 | &lfs90_checked;
|
---|
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 |
|
---|
62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
63 | <para role="required">
|
---|
64 | <xref linkend="yasm"/> and
|
---|
65 | <xref linkend="which"/> (so <command>configure</command> can find yasm)
|
---|
66 | </para>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
69 | <para role="optional">
|
---|
70 | <xref linkend="doxygen"/> and <xref linkend="php"/>
|
---|
71 | (to build the documentation), and
|
---|
72 | <xref linkend="nasm"/> (can be used instead of
|
---|
73 | <xref role="nodep" linkend="yasm"/>)
|
---|
74 | </para>
|
---|
75 |
|
---|
76 | <para condition="html" role="usernotes">User Notes:
|
---|
77 | <ulink url="&blfs-wiki;/libvpx"/></para>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2 role="installation">
|
---|
82 | <title>Installation of libvpx</title>
|
---|
83 |
|
---|
84 | <para>Install <application>libvpx</application> by running the
|
---|
85 | following commands:</para>
|
---|
86 |
|
---|
87 | <screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &&
|
---|
88 |
|
---|
89 | mkdir libvpx-build &&
|
---|
90 | cd libvpx-build &&
|
---|
91 |
|
---|
92 | ../configure --prefix=/usr \
|
---|
93 | --enable-shared \
|
---|
94 | --disable-static &&
|
---|
95 | make</userinput></screen>
|
---|
96 |
|
---|
97 | <para>This package does not come with a test suite.</para>
|
---|
98 |
|
---|
99 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
100 | user:</para>
|
---|
101 |
|
---|
102 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
103 |
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2 role="commands">
|
---|
107 | <title>Command Explanations</title>
|
---|
108 |
|
---|
109 | <para><command>sed ... </command>: This command
|
---|
110 | corrects ownership and permissions of installed files.</para>
|
---|
111 |
|
---|
112 | <para><command>mkdir libvpx-build && cd
|
---|
113 | libvpx-build</command>: The <application>libvpx</application> developers
|
---|
114 | recommend building in a dedicated build directory.</para>
|
---|
115 |
|
---|
116 | <para><option>--disable-vp8</option>: This switch prevents building of VP8
|
---|
117 | codec support.</para>
|
---|
118 |
|
---|
119 | <para><option>--disable-vp9</option>: This switch prevents building of VP9
|
---|
120 | codec support.</para>
|
---|
121 |
|
---|
122 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
123 | href="../../xincludes/static-libraries.xml"/>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="content">
|
---|
128 | <title>Contents</title>
|
---|
129 |
|
---|
130 | <segmentedlist>
|
---|
131 | <segtitle>Installed Programs</segtitle>
|
---|
132 | <segtitle>Installed Libraries</segtitle>
|
---|
133 | <segtitle>Installed Directories</segtitle>
|
---|
134 |
|
---|
135 | <seglistitem>
|
---|
136 | <seg>vpxdec and vpxenc</seg>
|
---|
137 | <seg>libvpx.so</seg>
|
---|
138 | <seg>/usr/include/vpx</seg>
|
---|
139 | </seglistitem>
|
---|
140 | </segmentedlist>
|
---|
141 |
|
---|
142 | <variablelist>
|
---|
143 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
144 | <?dbfo list-presentation="list"?>
|
---|
145 | <?dbhtml list-presentation="table"?>
|
---|
146 |
|
---|
147 | <varlistentry id="vpxdec">
|
---|
148 | <term><command>vpxdec</command></term>
|
---|
149 | <listitem>
|
---|
150 | <para>is the WebM Project VP8 and VP9 decoder.</para>
|
---|
151 | <indexterm zone="libvpx vpxdec">
|
---|
152 | <primary sortas="b-vpxdec">vpxdec</primary>
|
---|
153 | </indexterm>
|
---|
154 | </listitem>
|
---|
155 | </varlistentry>
|
---|
156 |
|
---|
157 | <varlistentry id="vpxenc">
|
---|
158 | <term><command>vpxenc</command></term>
|
---|
159 | <listitem>
|
---|
160 | <para>is the WebM project VP8 and VP9 encoder.</para>
|
---|
161 | <indexterm zone="libvpx vpxenc">
|
---|
162 | <primary sortas="b-vpxenc">vpxenc</primary>
|
---|
163 | </indexterm>
|
---|
164 | </listitem>
|
---|
165 | </varlistentry>
|
---|
166 |
|
---|
167 | <varlistentry id="libvpx-lib">
|
---|
168 | <term><filename class='libraryfile'>libvpx.so</filename></term>
|
---|
169 | <listitem>
|
---|
170 | <para>provides functions to use the VP8 and VP9 video codecs.</para>
|
---|
171 | <indexterm zone="libvpx libvpx-lib">
|
---|
172 | <primary sortas="c-libvpx">libvpx.so</primary>
|
---|
173 | </indexterm>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 |
|
---|
177 | </variablelist>
|
---|
178 |
|
---|
179 | </sect2>
|
---|
180 |
|
---|
181 | </sect1>
|
---|