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