source: multimedia/libdriv/libvpx.xml@ 0945dd2d

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 0945dd2d was dc1a45e, checked in by Bruce Dubbs <bdubbs@…>, 16 months ago

Lots of tags

  • Property mode set to 100644
File size: 6.3 KB
Line 
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 "d5fd45a806a65a57d6635f9e7a98a1b2">
10 <!ENTITY libvpx-size "5.2 MB">
11 <!ENTITY libvpx-buildsize "63 MB (add 1.5 GB for tests)">
12 <!ENTITY libvpx-time "0.5 SBU (Using parallelism=4; add approx 15 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 &lfs113_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 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/libvpx"/></para>
86
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of libvpx</title>
91
92 <para>
93 Install <application>libvpx</application> by running the
94 following commands:
95 </para>
96
97<screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &amp;&amp;
98
99mkdir libvpx-build &amp;&amp;
100cd libvpx-build &amp;&amp;
101
102../configure --prefix=/usr \
103 --enable-shared \
104 --disable-static &amp;&amp;
105make</userinput></screen>
106
107 <para>
108 To test the results, issue:
109 <command>LD_LIBRARY_PATH=. make test</command>.
110 The test suite downloads many files as part of its test process.
111 A few parts of it will use all available cores.
112 </para>
113
114 <para>
115 Now, as the <systemitem class="username">root</systemitem> user:
116 </para>
117
118<screen role="root"><userinput>make install</userinput></screen>
119
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <para>
126 <command>sed ... </command>: This command
127 corrects ownership and permissions of installed files.
128 </para>
129
130 <para>
131 <command>mkdir libvpx-build &amp;&amp; cd libvpx-build</command>:
132 The <application>libvpx</application> developers
133 recommend building in a dedicated build directory.
134 </para>
135
136 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
137 href="../../xincludes/static-libraries.xml"/>
138
139 <para>
140 <option>--disable-vp8</option>: This switch prevents building of VP8
141 codec support.
142 </para>
143
144 <para>
145 <option>--disable-vp9</option>: This switch prevents building of VP9
146 codec support.
147 </para>
148
149 <para>
150 <option>--target=generic-gnu</option>: This switch disables
151 optimizations specific for x86 and x86-64, allowing to build this
152 package without <command>nasm</command> and <command>yasm</command>
153 installed.
154 </para>
155
156 <para>
157 <command>LD_LIBRARY_PATH=.</command>: This is needed for the test suite
158 to use the library that was just built.
159 </para>
160
161 </sect2>
162
163 <sect2 role="content">
164 <title>Contents</title>
165
166 <segmentedlist>
167 <segtitle>Installed Programs</segtitle>
168 <segtitle>Installed Libraries</segtitle>
169 <segtitle>Installed Directories</segtitle>
170
171 <seglistitem>
172 <seg>vpxdec and vpxenc</seg>
173 <seg>libvpx.so</seg>
174 <seg>/usr/include/vpx</seg>
175 </seglistitem>
176 </segmentedlist>
177
178 <variablelist>
179 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
180 <?dbfo list-presentation="list"?>
181 <?dbhtml list-presentation="table"?>
182
183 <varlistentry id="vpxdec">
184 <term><command>vpxdec</command></term>
185 <listitem>
186 <para>
187 is the WebM Project VP8 and VP9 decoder
188 </para>
189 <indexterm zone="libvpx vpxdec">
190 <primary sortas="b-vpxdec">vpxdec</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry id="vpxenc">
196 <term><command>vpxenc</command></term>
197 <listitem>
198 <para>
199 is the WebM project VP8 and VP9 encoder
200 </para>
201 <indexterm zone="libvpx vpxenc">
202 <primary sortas="b-vpxenc">vpxenc</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="libvpx-lib">
208 <term><filename class="libraryfile">libvpx.so</filename></term>
209 <listitem>
210 <para>
211 provides functions to use the VP8 and VP9 video codecs
212 </para>
213 <indexterm zone="libvpx libvpx-lib">
214 <primary sortas="c-libvpx">libvpx.so</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 </variablelist>
220
221 </sect2>
222
223</sect1>
Note: See TracBrowser for help on using the repository browser.