source: multimedia/libdriv/libvpx.xml@ 37ede2a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 37ede2a was 37ede2a, checked in by Pierre Labastie <pieere@…>, 3 years ago

libvpx-1.10.0
libassuan-2.5.5
libgpg-error-1.42
cmake-3.20.0
btrfs-progs-5.11.1
libinput-1.17.1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24403 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.2 KB
RevLine 
[1fb813d]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
[fc8a910]7 <!ENTITY libvpx-download-http "https://github.com/webmproject/libvpx/archive/v&libvpx-version;/libvpx-&libvpx-version;.tar.gz">
[13bd274]8 <!ENTITY libvpx-download-ftp " ">
[37ede2a]9 <!ENTITY libvpx-md5sum "cded283be38dc0078c3fbe751722efc5">
10 <!ENTITY libvpx-size "5.1 MB">
11 <!ENTITY libvpx-buildsize "64 MB (add 1.3GB if running tests)">
12 <!ENTITY libvpx-time "1.5 SBU, add 41 SBU if running tests, including download time">
[1fb813d]13]>
14
[14897252]15<sect1 id="libvpx" xreflabel="libvpx-&libvpx-version;">
[1fb813d]16 <?dbhtml filename="libvpx.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[e04cfef]23 <title>libvpx-&libvpx-version;</title>
[1fb813d]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
[2eeb8695]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>
[1fb813d]37
[d437f756]38 &lfs101_checked;
[1fb813d]39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[2eeb8695]43 <para>
44 Download (HTTP): <ulink url="&libvpx-download-http;"/>
45 </para>
[1fb813d]46 </listitem>
47 <listitem>
[2eeb8695]48 <para>
49 Download (FTP): <ulink url="&libvpx-download-ftp;"/>
50 </para>
[1fb813d]51 </listitem>
52 <listitem>
[2eeb8695]53 <para>
54 Download MD5 sum: &libvpx-md5sum;
55 </para>
[1fb813d]56 </listitem>
57 <listitem>
[2eeb8695]58 <para>
59 Download size: &libvpx-size;
60 </para>
[1fb813d]61 </listitem>
62 <listitem>
[2eeb8695]63 <para>
64 Estimated disk space required: &libvpx-buildsize;
65 </para>
[1fb813d]66 </listitem>
67 <listitem>
[2eeb8695]68 <para>
69 Estimated build time: &libvpx-time;
70 </para>
[1fb813d]71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">libvpx Dependencies</bridgehead>
75
[793932fd]76 <bridgehead renderas="sect4">Required</bridgehead>
[f95e57bf]77 <para role="required">
[cac7f93]78 <xref linkend="yasm"/> or <xref role="nodep" linkend="nasm"/>, and
79<!-- see
80http://lists.linuxfromscratch.org/pipermail/blfs-book/2019-August/083164.html
81and references therein -->
[f95e57bf]82 <xref linkend="which"/> (so <command>configure</command> can find yasm)
83 </para>
[793932fd]84
[1fb813d]85 <bridgehead renderas="sect4">Optional</bridgehead>
[e915fec]86 <para role="optional">
[37ede2a]87 <xref linkend="curl"/> (to download test files) and
88 <xref linkend="doxygen"/> (to build documentation)
[e915fec]89 </para>
[1fb813d]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
[2eeb8695]99 <para>
100 Install <application>libvpx</application> by running the
101 following commands:
102 </para>
[1fb813d]103
[71b2520e]104<screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &amp;&amp;
[e04cfef]105
[71b2520e]106mkdir libvpx-build &amp;&amp;
107cd libvpx-build &amp;&amp;
[e04cfef]108
[71b2520e]109../configure --prefix=/usr \
110 --enable-shared \
111 --disable-static &amp;&amp;
[1fb813d]112make</userinput></screen>
113
[2eeb8695]114 <para>
[37ede2a]115 To test the results, issue:
116 <command>LD_LIBRARY_PATH=. make test</command>.
117 The test suite downloads several files as part of its test process.
[2eeb8695]118 </para>
[1fb813d]119
[2eeb8695]120 <para>
[37ede2a]121 Now, as the <systemitem class="username">root</systemitem> user:
[2eeb8695]122 </para>
[1fb813d]123
124<screen role="root"><userinput>make install</userinput></screen>
125
126 </sect2>
127
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
[2eeb8695]131 <para>
132 <command>sed ... </command>: This command
133 corrects ownership and permissions of installed files.
134 </para>
[b63e0be1]135
[2eeb8695]136 <para>
137 <command>mkdir libvpx-build &amp;&amp; cd libvpx-build</command>:
138 The <application>libvpx</application> developers
139 recommend building in a dedicated build directory.
140 </para>
[0d7900a]141
[2eeb8695]142 <para>
143 <option>--disable-vp8</option>: This switch prevents building of VP8
144 codec support.
145 </para>
[6c52b1a]146
[2eeb8695]147 <para>
148 <option>--disable-vp9</option>: This switch prevents building of VP9
149 codec support.
150 </para>
[6c52b1a]151
[1a518e97]152 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
153 href="../../xincludes/static-libraries.xml"/>
[1fb813d]154
[37ede2a]155 <para>
156 <command>LD_LIBRARY_PATH=.</command>: This is needed for the testsuite
157 to use the just built library.
158 </para>
159
[1fb813d]160 </sect2>
161
162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Programs</segtitle>
[5aac2b97]167 <segtitle>Installed Libraries</segtitle>
[1fb813d]168 <segtitle>Installed Directories</segtitle>
169
170 <seglistitem>
[e04cfef]171 <seg>vpxdec and vpxenc</seg>
[5aac2b97]172 <seg>libvpx.so</seg>
[1fb813d]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>
[2eeb8695]185 <para>
[4c24eb0a]186 is the WebM Project VP8 and VP9 decoder
[2eeb8695]187 </para>
[1fb813d]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>
[2eeb8695]197 <para>
[4c24eb0a]198 is the WebM project VP8 and VP9 encoder
[2eeb8695]199 </para>
[1fb813d]200 <indexterm zone="libvpx vpxenc">
201 <primary sortas="b-vpxenc">vpxenc</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="libvpx-lib">
[4c24eb0a]207 <term><filename class="libraryfile">libvpx.so</filename></term>
[1fb813d]208 <listitem>
[2eeb8695]209 <para>
[4c24eb0a]210 provides functions to use the VP8 and VP9 video codecs
[2eeb8695]211 </para>
[1fb813d]212 <indexterm zone="libvpx libvpx-lib">
[e114b7b9]213 <primary sortas="c-libvpx">libvpx.so</primary>
[1fb813d]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.