source: multimedia/libdriv/libvpx.xml

trunk
Last change on this file was 1241ea19, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Tag xfce and dependencies

  • Property mode set to 100644
File size: 6.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 "026bc289d916624dabdfd713c1c5b69a">
10 <!ENTITY libvpx-size "5.3 MB">
11 <!ENTITY libvpx-buildsize "67 MB (add 1.6 GB for tests)">
12 <!ENTITY libvpx-time "0.5 SBU (Using parallelism=4; add approx 13 SBU for tests using parallelism=4, including download time)">
13]>
14
15<sect1 id="libvpx" xreflabel="libvpx-&libvpx-version;">
16 <?dbhtml filename="libvpx.html"?>
17
18
19 <title>libvpx-&libvpx-version;</title>
20
21 <indexterm zone="libvpx">
22 <primary sortas="a-libvpx">libvpx</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libvpx</title>
27
28 <para>
29 This package, from the WebM project, provides the reference
30 implementations of the VP8 Codec, used in most current html5 video,
31 and of the next-generation VP9 Codec.
32 </para>
33
34 &lfs121_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&libvpx-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&libvpx-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &libvpx-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &libvpx-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &libvpx-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &libvpx-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">libvpx Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Recommended</bridgehead>
73 <para role="recommended">
74 <xref linkend="yasm"/> or <xref role="nodep" linkend="nasm"/>, and
75 <xref linkend="which"/> (so <command>configure</command> can find yasm)
76 </para>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="curl"/> (to download test files) and
81 <xref linkend="doxygen"/> (to build documentation)
82 </para>
83
84 &test-use-internet;
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of libvpx</title>
90
91 <para>
92 Install <application>libvpx</application> by running the
93 following commands:
94 </para>
95
96<screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &amp;&amp;
97
98mkdir libvpx-build &amp;&amp;
99cd libvpx-build &amp;&amp;
100
101../configure --prefix=/usr \
102 --enable-shared \
103 --disable-static &amp;&amp;
104make</userinput></screen>
105
106 <para>
107 To test the results, issue:
108 <command>LD_LIBRARY_PATH=. make test</command>.
109 The test suite downloads many files as part of its test process.
110 A few parts of it will use all available cores.
111 </para>
112
113 <para>
114 Now, as the <systemitem class="username">root</systemitem> user:
115 </para>
116
117<screen role="root"><userinput>make install</userinput></screen>
118
119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
124 <para>
125 <command>sed ... </command>: This command
126 corrects ownership and permissions of installed files.
127 </para>
128
129 <para>
130 <command>mkdir libvpx-build &amp;&amp; cd libvpx-build</command>:
131 The <application>libvpx</application> developers
132 recommend building in a dedicated build directory.
133 </para>
134
135 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
136 href="../../xincludes/static-libraries.xml"/>
137
138 <para>
139 <option>--disable-vp8</option>: This switch prevents building of VP8
140 codec support.
141 </para>
142
143 <para>
144 <option>--disable-vp9</option>: This switch prevents building of VP9
145 codec support.
146 </para>
147
148 <para>
149 <option>--target=generic-gnu</option>: This switch disables
150 optimizations specific for x86 and x86-64, allowing to build this
151 package without <command>nasm</command> and <command>yasm</command>
152 installed.
153 </para>
154
155 <para>
156 <command>LD_LIBRARY_PATH=.</command>: This is needed for the test suite
157 to use the library that was just built.
158 </para>
159
160 </sect2>
161
162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Programs</segtitle>
167 <segtitle>Installed Libraries</segtitle>
168 <segtitle>Installed Directories</segtitle>
169
170 <seglistitem>
171 <seg>vpxdec and vpxenc</seg>
172 <seg>libvpx.so</seg>
173 <seg>/usr/include/vpx</seg>
174 </seglistitem>
175 </segmentedlist>
176
177 <variablelist>
178 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
179 <?dbfo list-presentation="list"?>
180 <?dbhtml list-presentation="table"?>
181
182 <varlistentry id="vpxdec">
183 <term><command>vpxdec</command></term>
184 <listitem>
185 <para>
186 is the WebM Project VP8 and VP9 decoder
187 </para>
188 <indexterm zone="libvpx vpxdec">
189 <primary sortas="b-vpxdec">vpxdec</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="vpxenc">
195 <term><command>vpxenc</command></term>
196 <listitem>
197 <para>
198 is the WebM project VP8 and VP9 encoder
199 </para>
200 <indexterm zone="libvpx vpxenc">
201 <primary sortas="b-vpxenc">vpxenc</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="libvpx-lib">
207 <term><filename class="libraryfile">libvpx.so</filename></term>
208 <listitem>
209 <para>
210 provides functions to use the VP8 and VP9 video codecs
211 </para>
212 <indexterm zone="libvpx libvpx-lib">
213 <primary sortas="c-libvpx">libvpx.so</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 </variablelist>
219
220 </sect2>
221
222</sect1>
Note: See TracBrowser for help on using the repository browser.