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 "&sources-anduin-other-http;/libvpx-v&libvpx-version;.tar.xz">
|
---|
8 | <!-- <!ENTITY libvpx-download-http "http://webm.googlecode.com/files/libvpx-v&libvpx-version;.tar.bz2"> -->
|
---|
9 | <!ENTITY libvpx-download-ftp " ">
|
---|
10 | <!ENTITY libvpx-md5sum "528cb52934d9a731dfc0a2853b1e260d">
|
---|
11 | <!ENTITY libvpx-size "1.8 MB">
|
---|
12 | <!ENTITY libvpx-buildsize "32 MB (without the documentation)">
|
---|
13 | <!ENTITY libvpx-time "0.8 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="libvpx" xreflabel="libvpx-&libvpx-version;">
|
---|
17 | <?dbhtml filename="libvpx.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>libvpx-v&libvpx-version;</title>
|
---|
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 |
|
---|
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>
|
---|
36 |
|
---|
37 | &lfs75_checked;
|
---|
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 | <para>The <application>libvpx</application> tarballs are no longer generated
|
---|
62 | by the maintainers. To build from source, the
|
---|
63 | <application>libvpx</application> developers recommend using current git.
|
---|
64 | The source tarball shown above was created by the BLFS team by pulling a
|
---|
65 | git version, and removing .git, .gitattributes and .gitignore. BLFS made
|
---|
66 | no changes to the existing source files.</para>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect3">libvpx Dependencies</bridgehead>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
71 | <para role="required"><xref linkend="yasm"/> (compiling with
|
---|
72 | <xref linkend="nasm"/> is currently broken) and <xref linkend="which"/>
|
---|
73 | (so <command>configure</command> can find yasm)</para>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional"><xref linkend="doxygen"/> and <xref linkend="php"/>
|
---|
77 | (to build the documentation).</para>
|
---|
78 |
|
---|
79 | <para condition="html" role="usernotes">User Notes:
|
---|
80 | <ulink url="&blfs-wiki;/libvpx"/></para>
|
---|
81 |
|
---|
82 | </sect2>
|
---|
83 |
|
---|
84 | <sect2 role="installation">
|
---|
85 | <title>Installation of libvpx</title>
|
---|
86 |
|
---|
87 | <para>Install <application>libvpx</application> by running the
|
---|
88 | following commands:</para>
|
---|
89 |
|
---|
90 | <screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &&
|
---|
91 | chmod -v 644 vpx/*.h &&
|
---|
92 | mkdir ../libvpx-build &&
|
---|
93 | cd ../libvpx-build &&
|
---|
94 | ../libvpx-v&libvpx-version;/configure --prefix=/usr \
|
---|
95 | --enable-shared \
|
---|
96 | --disable-static &&
|
---|
97 | make</userinput></screen>
|
---|
98 |
|
---|
99 | <para>This package does not come with a test suite.</para>
|
---|
100 |
|
---|
101 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
102 | user:</para>
|
---|
103 |
|
---|
104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
105 |
|
---|
106 | </sect2>
|
---|
107 |
|
---|
108 | <sect2 role="commands">
|
---|
109 | <title>Command Explanations</title>
|
---|
110 |
|
---|
111 | <para><command>sed ... && chmod ...</command>: These commands
|
---|
112 | correct ownership and permissions of installed files.</para>
|
---|
113 |
|
---|
114 | <para><command>mkdir ../libvpx-build && cd
|
---|
115 | ../libvpx-build</command>: The <application>libvpx</application> developers
|
---|
116 | recommend building in a dedicated build directory.</para>
|
---|
117 |
|
---|
118 | <para><option>--disable-vp8</option>: This switch prevents building of VP8
|
---|
119 | codec support.</para>
|
---|
120 |
|
---|
121 | <para><option>--disable-vp9</option>: This switch prevents building of VP9
|
---|
122 | codec support.</para>
|
---|
123 |
|
---|
124 | <para><option>--disable-static</option>: This switch prevents building of
|
---|
125 | static versions of libraries.</para>
|
---|
126 |
|
---|
127 | </sect2>
|
---|
128 |
|
---|
129 | <sect2 role="content">
|
---|
130 | <title>Contents</title>
|
---|
131 |
|
---|
132 | <segmentedlist>
|
---|
133 | <segtitle>Installed Programs</segtitle>
|
---|
134 | <segtitle>Installed Libraries</segtitle>
|
---|
135 | <segtitle>Installed Directories</segtitle>
|
---|
136 |
|
---|
137 | <seglistitem>
|
---|
138 | <seg>vp8_scalable_patterns, vp9_spatial_scalable_encoder,
|
---|
139 | vpxdec and vpxenc</seg>
|
---|
140 | <seg>libvpx.so</seg>
|
---|
141 | <seg>/usr/include/vpx</seg>
|
---|
142 | </seglistitem>
|
---|
143 | </segmentedlist>
|
---|
144 |
|
---|
145 | <variablelist>
|
---|
146 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
147 | <?dbfo list-presentation="list"?>
|
---|
148 | <?dbhtml list-presentation="table"?>
|
---|
149 |
|
---|
150 | <varlistentry id="vpxdec">
|
---|
151 | <term><command>vpxdec</command></term>
|
---|
152 | <listitem>
|
---|
153 | <para>is the WebM Project VP8 and VP9 decoder.</para>
|
---|
154 | <indexterm zone="libvpx vpxdec">
|
---|
155 | <primary sortas="b-vpxdec">vpxdec</primary>
|
---|
156 | </indexterm>
|
---|
157 | </listitem>
|
---|
158 | </varlistentry>
|
---|
159 |
|
---|
160 | <varlistentry id="vpxenc">
|
---|
161 | <term><command>vpxenc</command></term>
|
---|
162 | <listitem>
|
---|
163 | <para>is the WebM project VP8 and VP9 encoder.</para>
|
---|
164 | <indexterm zone="libvpx vpxenc">
|
---|
165 | <primary sortas="b-vpxenc">vpxenc</primary>
|
---|
166 | </indexterm>
|
---|
167 | </listitem>
|
---|
168 | </varlistentry>
|
---|
169 |
|
---|
170 | <varlistentry id="libvpx-lib">
|
---|
171 | <term><filename class='libraryfile'>libvpx.so</filename></term>
|
---|
172 | <listitem>
|
---|
173 | <para>provides functions to use the VP8 and VP9 video codecs.</para>
|
---|
174 | <indexterm zone="libvpx libvpx-lib">
|
---|
175 | <primary sortas="c-libvpx">libvpx.so</primary>
|
---|
176 | </indexterm>
|
---|
177 | </listitem>
|
---|
178 | </varlistentry>
|
---|
179 |
|
---|
180 | </variablelist>
|
---|
181 |
|
---|
182 | </sect2>
|
---|
183 |
|
---|
184 | </sect1>
|
---|