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 speex-download-http "https://downloads.xiph.org/releases/speex/speex-&speex-version;.tar.gz">
|
---|
8 | <!ENTITY speex-download-ftp " ">
|
---|
9 | <!ENTITY speex-md5sum "8ab7bb2589110dfaf0ed7fa7757dc49c">
|
---|
10 | <!ENTITY speex-size "884 KB">
|
---|
11 | <!ENTITY speex-buildsize "4.5 MB">
|
---|
12 | <!ENTITY speex-time "less than 0.1 SBU">
|
---|
13 |
|
---|
14 | <!ENTITY speexdsp-download-http "https://downloads.xiph.org/releases/speex/speexdsp-&speexdsp-version;.tar.gz">
|
---|
15 | <!ENTITY speexdsp-download-ftp " ">
|
---|
16 | <!ENTITY speexdsp-md5sum "b722df341576dc185d897131321008fc">
|
---|
17 | <!ENTITY speexdsp-size "900 KB">
|
---|
18 | <!ENTITY speexdsp-buildsize "5.2 MB">
|
---|
19 | <!ENTITY speexdsp-time "less than 0.1 SBU">
|
---|
20 |
|
---|
21 | ]>
|
---|
22 |
|
---|
23 | <sect1 id="speex" xreflabel="Speex-&speex-version;">
|
---|
24 | <?dbhtml filename="speex.html"?>
|
---|
25 |
|
---|
26 | <sect1info>
|
---|
27 | <othername>$LastChangedBy$</othername>
|
---|
28 | <date>$Date$</date>
|
---|
29 | </sect1info>
|
---|
30 |
|
---|
31 | <title>Speex-&speex-version;</title>
|
---|
32 |
|
---|
33 | <indexterm zone="speex">
|
---|
34 | <primary sortas="a-Speex">Speex</primary>
|
---|
35 | </indexterm>
|
---|
36 |
|
---|
37 | <sect2 role="package">
|
---|
38 | <title>Introduction to Speex</title>
|
---|
39 |
|
---|
40 | <para><application>Speex</application> is an audio compression format
|
---|
41 | designed especially for speech. It is well-adapted to internet applications
|
---|
42 | and provides useful features that are not present in most other
|
---|
43 | CODECs.</para>
|
---|
44 |
|
---|
45 | &lfs90_checked;
|
---|
46 |
|
---|
47 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
48 | <itemizedlist spacing="compact">
|
---|
49 | <listitem>
|
---|
50 | <para>Download (HTTP): <ulink url="&speex-download-http;"/></para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Download (FTP): <ulink url="&speex-download-ftp;"/></para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Download MD5 sum: &speex-md5sum;</para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>Download size: &speex-size;</para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>Estimated disk space required: &speex-buildsize;</para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>Estimated build time: &speex-time;</para>
|
---|
66 | </listitem>
|
---|
67 | </itemizedlist>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
70 | <itemizedlist spacing="compact">
|
---|
71 | <listitem>
|
---|
72 | <para>Download (HTTP): <ulink url="&speexdsp-download-http;"/></para>
|
---|
73 | </listitem>
|
---|
74 | <listitem>
|
---|
75 | <para>Download (FTP): <ulink url="&speexdsp-download-ftp;"/></para>
|
---|
76 | </listitem>
|
---|
77 | <listitem>
|
---|
78 | <para>Download MD5 sum: &speexdsp-md5sum;</para>
|
---|
79 | </listitem>
|
---|
80 | <listitem>
|
---|
81 | <para>Download size: &speexdsp-size;</para>
|
---|
82 | </listitem>
|
---|
83 | <listitem>
|
---|
84 | <para>Estimated disk space required: &speexdsp-buildsize;</para>
|
---|
85 | </listitem>
|
---|
86 | <listitem>
|
---|
87 | <para>Estimated build time: &speexdsp-time;</para>
|
---|
88 | </listitem>
|
---|
89 | </itemizedlist>
|
---|
90 | <!--
|
---|
91 | <bridgehead renderas="sect3">Additional Download</bridgehead>
|
---|
92 | <itemizedlist spacing="compact">
|
---|
93 | <listitem>
|
---|
94 | <para>
|
---|
95 | Required patch:
|
---|
96 | <ulink url="&patch-root;/speexdsp-&speex-version;-build_fixes-1.patch"/>
|
---|
97 | </para>
|
---|
98 | </listitem>
|
---|
99 | </itemizedlist>-->
|
---|
100 |
|
---|
101 | <bridgehead renderas="sect3">Speex Dependencies</bridgehead>
|
---|
102 |
|
---|
103 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
104 | <para role="required">
|
---|
105 | <xref linkend="libogg"/>
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
109 | <para role="optional">
|
---|
110 | <xref linkend="valgrind"/>
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <para condition="html" role="usernotes">User Notes:
|
---|
114 | <ulink url="&blfs-wiki;/speex"/></para>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="installation">
|
---|
119 | <title>Installation of Speex</title>
|
---|
120 |
|
---|
121 | <para>This package consists of two separate tarballs.
|
---|
122 | They need to be extracted and built independently.</para>
|
---|
123 |
|
---|
124 | <para>Install <application>Speex</application> by running the
|
---|
125 | following commands:</para>
|
---|
126 |
|
---|
127 | <screen><userinput>./configure --prefix=/usr \
|
---|
128 | --disable-static \
|
---|
129 | --docdir=/usr/share/doc/speex-&speex-version; &&
|
---|
130 | make</userinput></screen>
|
---|
131 |
|
---|
132 | <para>This package does not come with a test suite.</para>
|
---|
133 |
|
---|
134 | <para>As the <systemitem class="username">root</systemitem> user:</para>
|
---|
135 |
|
---|
136 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
137 |
|
---|
138 | <para>Now extract and install the speexdsp package:</para>
|
---|
139 |
|
---|
140 | <screen><userinput>cd .. &&
|
---|
141 | tar -xf speexdsp-&speexdsp-version;.tar.gz &&
|
---|
142 | cd speexdsp-&speexdsp-version; &&
|
---|
143 |
|
---|
144 | ./configure --prefix=/usr \
|
---|
145 | --disable-static \
|
---|
146 | --docdir=/usr/share/doc/speexdsp-&speexdsp-version; &&
|
---|
147 | make</userinput></screen>
|
---|
148 |
|
---|
149 | <para>Again, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
150 |
|
---|
151 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
152 |
|
---|
153 | </sect2>
|
---|
154 |
|
---|
155 | <sect2 role="commands">
|
---|
156 | <title>Command Explanations</title>
|
---|
157 |
|
---|
158 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
159 | href="../../xincludes/static-libraries.xml"/>
|
---|
160 |
|
---|
161 | <para>
|
---|
162 | <option>--enable-binaries</option>: Builds two binaries to encode and
|
---|
163 | decode to and from the speex format.
|
---|
164 | </para>
|
---|
165 | </sect2>
|
---|
166 |
|
---|
167 | <sect2 role="content">
|
---|
168 | <title>Contents</title>
|
---|
169 |
|
---|
170 | <segmentedlist>
|
---|
171 | <segtitle>Installed Programs</segtitle>
|
---|
172 | <segtitle>Installed Libraries</segtitle>
|
---|
173 | <segtitle>Installed Directories</segtitle>
|
---|
174 |
|
---|
175 | <seglistitem>
|
---|
176 | <seg>(optional) speexenc and speexdec</seg>
|
---|
177 | <seg>libspeex.so and libspeexdsp.so</seg>
|
---|
178 | <seg>
|
---|
179 | /usr/include/speex and
|
---|
180 | /usr/share/doc/speex-&speex-version;
|
---|
181 | </seg>
|
---|
182 | </seglistitem>
|
---|
183 | </segmentedlist>
|
---|
184 |
|
---|
185 | <variablelist>
|
---|
186 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
187 | <?dbfo list-presentation="list"?>
|
---|
188 | <?dbhtml list-presentation="table"?>
|
---|
189 |
|
---|
190 | <varlistentry id="speexdec">
|
---|
191 | <term><command>speexdec</command></term>
|
---|
192 | <listitem>
|
---|
193 | <para>decodes a <application>Speex</application> file and
|
---|
194 | produces a WAV or raw file.</para>
|
---|
195 | <indexterm zone="speex speexdec">
|
---|
196 | <primary sortas="b-speexdec">speexdec</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | <varlistentry id="speexenc">
|
---|
202 | <term><command>speexenc</command></term>
|
---|
203 | <listitem>
|
---|
204 | <para>encodes a WAV or raw files using
|
---|
205 | <application>Speex</application>.</para>
|
---|
206 | <indexterm zone="speex speexenc">
|
---|
207 | <primary sortas="b-speexenc">speexenc</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | <varlistentry id="libspeex">
|
---|
213 | <term><filename class='libraryfile'>libspeex.so</filename></term>
|
---|
214 | <listitem>
|
---|
215 | <para>provides functions for the audio encoding/decoding programs.</para>
|
---|
216 | <indexterm zone="speex libspeex">
|
---|
217 | <primary sortas="c-libspeex">libspeex.so</primary>
|
---|
218 | </indexterm>
|
---|
219 | </listitem>
|
---|
220 | </varlistentry>
|
---|
221 |
|
---|
222 | <varlistentry id="libspeexdsp">
|
---|
223 | <term><filename class='libraryfile'>libspeexdsp.so</filename></term>
|
---|
224 | <listitem>
|
---|
225 | <para>is a speech processing library that goes along with the
|
---|
226 | <application>Speex</application> codec.</para>
|
---|
227 | <indexterm zone="speex libspeexdsp">
|
---|
228 | <primary sortas="c-libspeexdsp">libspeexdsp.so</primary>
|
---|
229 | </indexterm>
|
---|
230 | </listitem>
|
---|
231 | </varlistentry>
|
---|
232 |
|
---|
233 | </variablelist>
|
---|
234 |
|
---|
235 | </sect2>
|
---|
236 |
|
---|
237 | </sect1>
|
---|