source: multimedia/libdriv/libvpx.xml@ d437f756

10.1 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 d437f756 was d437f756, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

More library tags

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

  • Property mode set to 100644
File size: 6.1 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 " ">
[fed4605f]9 <!ENTITY libvpx-md5sum "e5fab59896984392124d0bfaffc36e14">
[3c32a38]10 <!ENTITY libvpx-size "5.0 MB">
11 <!ENTITY libvpx-buildsize "63 MB (add 1.3GB if running tests)">
12 <!ENTITY libvpx-time "0.5 SBU (using parallelism=4), add 14 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">
[3c32a38]87 <xref linkend="curl"/> (to download test files),
[e915fec]88 <xref linkend="doxygen"/> and <xref linkend="php"/>
[39edd16d]89 (to build the documentation)
[e915fec]90 </para>
[1fb813d]91
92 <para condition="html" role="usernotes">User Notes:
93 <ulink url="&blfs-wiki;/libvpx"/></para>
94
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of libvpx</title>
99
[2eeb8695]100 <para>
101 Install <application>libvpx</application> by running the
102 following commands:
103 </para>
[1fb813d]104
[71b2520e]105<screen><userinput>sed -i 's/cp -p/cp/' build/make/Makefile &amp;&amp;
[e04cfef]106
[71b2520e]107mkdir libvpx-build &amp;&amp;
108cd libvpx-build &amp;&amp;
[e04cfef]109
[71b2520e]110../configure --prefix=/usr \
111 --enable-shared \
112 --disable-static &amp;&amp;
[1fb813d]113make</userinput></screen>
114
[2eeb8695]115 <para>
[3c32a38]116 To test the results, issue: <command>make test</command>. Four tests are
117 known to fail. The test suite downloads several files as part of it's
118 test process.
[2eeb8695]119 </para>
[1fb813d]120
[2eeb8695]121 <para>
122 Now, as the <systemitem class="username">root</systemitem>
123 user:
124 </para>
[1fb813d]125
126<screen role="root"><userinput>make install</userinput></screen>
127
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
[2eeb8695]133 <para>
134 <command>sed ... </command>: This command
135 corrects ownership and permissions of installed files.
136 </para>
[b63e0be1]137
[2eeb8695]138 <para>
139 <command>mkdir libvpx-build &amp;&amp; cd libvpx-build</command>:
140 The <application>libvpx</application> developers
141 recommend building in a dedicated build directory.
142 </para>
[0d7900a]143
[2eeb8695]144 <para>
145 <option>--disable-vp8</option>: This switch prevents building of VP8
146 codec support.
147 </para>
[6c52b1a]148
[2eeb8695]149 <para>
150 <option>--disable-vp9</option>: This switch prevents building of VP9
151 codec support.
152 </para>
[6c52b1a]153
[1a518e97]154 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
155 href="../../xincludes/static-libraries.xml"/>
[1fb813d]156
157 </sect2>
158
159 <sect2 role="content">
160 <title>Contents</title>
161
162 <segmentedlist>
163 <segtitle>Installed Programs</segtitle>
[5aac2b97]164 <segtitle>Installed Libraries</segtitle>
[1fb813d]165 <segtitle>Installed Directories</segtitle>
166
167 <seglistitem>
[e04cfef]168 <seg>vpxdec and vpxenc</seg>
[5aac2b97]169 <seg>libvpx.so</seg>
[1fb813d]170 <seg>/usr/include/vpx</seg>
171 </seglistitem>
172 </segmentedlist>
173
174 <variablelist>
175 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
176 <?dbfo list-presentation="list"?>
177 <?dbhtml list-presentation="table"?>
178
179 <varlistentry id="vpxdec">
180 <term><command>vpxdec</command></term>
181 <listitem>
[2eeb8695]182 <para>
[4c24eb0a]183 is the WebM Project VP8 and VP9 decoder
[2eeb8695]184 </para>
[1fb813d]185 <indexterm zone="libvpx vpxdec">
186 <primary sortas="b-vpxdec">vpxdec</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="vpxenc">
192 <term><command>vpxenc</command></term>
193 <listitem>
[2eeb8695]194 <para>
[4c24eb0a]195 is the WebM project VP8 and VP9 encoder
[2eeb8695]196 </para>
[1fb813d]197 <indexterm zone="libvpx vpxenc">
198 <primary sortas="b-vpxenc">vpxenc</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="libvpx-lib">
[4c24eb0a]204 <term><filename class="libraryfile">libvpx.so</filename></term>
[1fb813d]205 <listitem>
[2eeb8695]206 <para>
[4c24eb0a]207 provides functions to use the VP8 and VP9 video codecs
[2eeb8695]208 </para>
[1fb813d]209 <indexterm zone="libvpx libvpx-lib">
[e114b7b9]210 <primary sortas="c-libvpx">libvpx.so</primary>
[1fb813d]211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 </variablelist>
216
217 </sect2>
218
219</sect1>
Note: See TracBrowser for help on using the repository browser.