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 "6dbccca688886c66a216d7e445525bce">
|
---|
10 | <!ENTITY libvpx-size "5.1 MB">
|
---|
11 | <!ENTITY libvpx-buildsize "56 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>
|
---|
33 | 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.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs91_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&libvpx-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&libvpx-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &libvpx-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &libvpx-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &libvpx-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &libvpx-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">libvpx Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="yasm"/> or <xref role="nodep" linkend="nasm"/>, and
|
---|
79 | <!-- see
|
---|
80 | http://lists.linuxfromscratch.org/pipermail/blfs-book/2019-August/083164.html
|
---|
81 | and references therein -->
|
---|
82 | <xref linkend="which"/> (so <command>configure</command> can find yasm)
|
---|
83 | </para>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
86 | <para role="optional">
|
---|
87 | <xref linkend="doxygen"/> and <xref linkend="php"/>
|
---|
88 | (to build the documentation)
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <para condition="html" role="usernotes">User Notes:
|
---|
92 | <ulink url="&blfs-wiki;/libvpx"/></para>
|
---|
93 |
|
---|
94 | </sect2>
|
---|
95 |
|
---|
96 | <sect2 role="installation">
|
---|
97 | <title>Installation of libvpx</title>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | Install <application>libvpx</application> by running the
|
---|
101 | following commands:
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &&
|
---|
105 |
|
---|
106 | mkdir libvpx-build &&
|
---|
107 | cd libvpx-build &&
|
---|
108 |
|
---|
109 | ../configure --prefix=/usr \
|
---|
110 | --enable-shared \
|
---|
111 | --disable-static &&
|
---|
112 | make</userinput></screen>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | This package does not come with a test suite.
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Now, as the <systemitem class="username">root</systemitem>
|
---|
120 | user:
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="commands">
|
---|
128 | <title>Command Explanations</title>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | <command>sed ... </command>: This command
|
---|
132 | corrects ownership and permissions of installed files.
|
---|
133 | </para>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | <command>mkdir libvpx-build && cd libvpx-build</command>:
|
---|
137 | The <application>libvpx</application> developers
|
---|
138 | recommend building in a dedicated build directory.
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | <para>
|
---|
142 | <option>--disable-vp8</option>: This switch prevents building of VP8
|
---|
143 | codec support.
|
---|
144 | </para>
|
---|
145 |
|
---|
146 | <para>
|
---|
147 | <option>--disable-vp9</option>: This switch prevents building of VP9
|
---|
148 | codec support.
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
152 | href="../../xincludes/static-libraries.xml"/>
|
---|
153 |
|
---|
154 | </sect2>
|
---|
155 |
|
---|
156 | <sect2 role="content">
|
---|
157 | <title>Contents</title>
|
---|
158 |
|
---|
159 | <segmentedlist>
|
---|
160 | <segtitle>Installed Programs</segtitle>
|
---|
161 | <segtitle>Installed Libraries</segtitle>
|
---|
162 | <segtitle>Installed Directories</segtitle>
|
---|
163 |
|
---|
164 | <seglistitem>
|
---|
165 | <seg>vpxdec and vpxenc</seg>
|
---|
166 | <seg>libvpx.so</seg>
|
---|
167 | <seg>/usr/include/vpx</seg>
|
---|
168 | </seglistitem>
|
---|
169 | </segmentedlist>
|
---|
170 |
|
---|
171 | <variablelist>
|
---|
172 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
173 | <?dbfo list-presentation="list"?>
|
---|
174 | <?dbhtml list-presentation="table"?>
|
---|
175 |
|
---|
176 | <varlistentry id="vpxdec">
|
---|
177 | <term><command>vpxdec</command></term>
|
---|
178 | <listitem>
|
---|
179 | <para>
|
---|
180 | is the WebM Project VP8 and VP9 decoder.
|
---|
181 | </para>
|
---|
182 | <indexterm zone="libvpx vpxdec">
|
---|
183 | <primary sortas="b-vpxdec">vpxdec</primary>
|
---|
184 | </indexterm>
|
---|
185 | </listitem>
|
---|
186 | </varlistentry>
|
---|
187 |
|
---|
188 | <varlistentry id="vpxenc">
|
---|
189 | <term><command>vpxenc</command></term>
|
---|
190 | <listitem>
|
---|
191 | <para>
|
---|
192 | is the WebM project VP8 and VP9 encoder.
|
---|
193 | </para>
|
---|
194 | <indexterm zone="libvpx vpxenc">
|
---|
195 | <primary sortas="b-vpxenc">vpxenc</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | <varlistentry id="libvpx-lib">
|
---|
201 | <term><filename class='libraryfile'>libvpx.so</filename></term>
|
---|
202 | <listitem>
|
---|
203 | <para>
|
---|
204 | provides functions to use the VP8 and VP9 video codecs.
|
---|
205 | </para>
|
---|
206 | <indexterm zone="libvpx libvpx-lib">
|
---|
207 | <primary sortas="c-libvpx">libvpx.so</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | </variablelist>
|
---|
213 |
|
---|
214 | </sect2>
|
---|
215 |
|
---|
216 | </sect1>
|
---|