[93d50f5] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[48b7295] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[c6eb1ff1] | 6 |
|
---|
[4f696c7e] | 7 | <!ENTITY speex-download-http "http://downloads.us.xiph.org/releases/speex/speex-&speex-version;.tar.gz">
|
---|
[48b7295] | 8 | <!ENTITY speex-download-ftp " ">
|
---|
[5d7ee33] | 9 | <!ENTITY speex-md5sum "6ae7db3bab01e1d4b86bacfa8ca33e81">
|
---|
[aa954884] | 10 | <!ENTITY speex-size "1.0 MB">
|
---|
[5d7ee33] | 11 | <!ENTITY speex-buildsize "8.7 MB">
|
---|
| 12 | <!ENTITY speex-time "less than 0.1 SBU">
|
---|
| 13 |
|
---|
| 14 | <!ENTITY speexdsp-download-http "http://downloads.us.xiph.org/releases/speex/speexdsp-&speex-version;.tar.gz">
|
---|
| 15 | <!ENTITY speexdsp-download-ftp " ">
|
---|
| 16 | <!ENTITY speexdsp-md5sum "3bb48eb1c0fe641d59f39b9f616f3031">
|
---|
| 17 | <!ENTITY speexdsp-size "0.9 MB">
|
---|
| 18 | <!ENTITY speexdsp-buildsize "6.0 MB">
|
---|
| 19 | <!ENTITY speexdsp-time "less than 0.1 SBU">
|
---|
| 20 |
|
---|
[48b7295] | 21 | ]>
|
---|
| 22 |
|
---|
[44a7d7d] | 23 | <sect1 id="speex" xreflabel="Speex-&speex-version;">
|
---|
[93d50f5] | 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 |
|
---|
[50b692d] | 40 | <para><application>Speex</application> is an audio compression format
|
---|
[95791810] | 41 | designed especially for speech. It is well-adapted to internet applications
|
---|
[661506d] | 42 | and provides useful features that are not present in most other
|
---|
| 43 | CODECs.</para>
|
---|
[0d7900a] | 44 |
|
---|
[50cf9af] | 45 | &lfs76_checked;
|
---|
[93d50f5] | 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 |
|
---|
[5d7ee33] | 69 | <bridgehead renderas="sect3">Additional Package Information</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 |
|
---|
[bcc83ef] | 101 | <bridgehead renderas="sect3">Speex Dependencies</bridgehead>
|
---|
[93d50f5] | 102 |
|
---|
[aa954884] | 103 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[f1607a4] | 104 | <para role="required">
|
---|
| 105 | <xref linkend="libogg"/>
|
---|
| 106 | </para>
|
---|
[aa954884] | 107 |
|
---|
[93d50f5] | 108 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[f1607a4] | 109 | <para role="optional">
|
---|
| 110 | <xref linkend="valgrind"/>
|
---|
| 111 | </para>
|
---|
[93d50f5] | 112 |
|
---|
[0e2aa08] | 113 | <para condition="html" role="usernotes">User Notes:
|
---|
| 114 | <ulink url="&blfs-wiki;/speex"/></para>
|
---|
| 115 |
|
---|
[93d50f5] | 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
| 119 | <title>Installation of Speex</title>
|
---|
| 120 |
|
---|
[5d7ee33] | 121 | <para>This package consists of two separate tarballs.
|
---|
| 122 | They need to be extracted and built independently.</para>
|
---|
| 123 |
|
---|
[93d50f5] | 124 | <para>Install <application>Speex</application> by running the
|
---|
| 125 | following commands:</para>
|
---|
| 126 |
|
---|
[24f2d4b] | 127 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 128 | --disable-static \
|
---|
| 129 | --docdir=/usr/share/doc/speex-&speex-version; &&
|
---|
[98e781c] | 130 | make</userinput></screen>
|
---|
| 131 |
|
---|
[8a8e021] | 132 | <para>This package does not come with a test suite.</para>
|
---|
| 133 |
|
---|
[5d7ee33] | 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-&speex-version;.tar.gz &&
|
---|
| 142 | cd speexdsp-&speex-version; &&
|
---|
| 143 |
|
---|
| 144 | patch -Np1 -i ../speexdsp-&speex-version;-build_fixes-1.patch &&
|
---|
| 145 |
|
---|
| 146 | ./configure --prefix=/usr \
|
---|
| 147 | --disable-static \
|
---|
| 148 | --docdir=/usr/share/doc/speex-&speex-version; &&
|
---|
| 149 | make</userinput></screen>
|
---|
| 150 |
|
---|
| 151 | <para>Again, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[98e781c] | 152 |
|
---|
| 153 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[93d50f5] | 154 |
|
---|
| 155 | </sect2>
|
---|
| 156 |
|
---|
[95791810] | 157 | <sect2 role="commands">
|
---|
| 158 | <title>Command Explanations</title>
|
---|
| 159 |
|
---|
[e15c2f4] | 160 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 161 | href="../../xincludes/static-libraries.xml"/>
|
---|
[95791810] | 162 |
|
---|
| 163 | </sect2>
|
---|
[0d7900a] | 164 |
|
---|
[93d50f5] | 165 | <sect2 role="content">
|
---|
| 166 | <title>Contents</title>
|
---|
| 167 |
|
---|
| 168 | <segmentedlist>
|
---|
| 169 | <segtitle>Installed Programs</segtitle>
|
---|
| 170 | <segtitle>Installed Libraries</segtitle>
|
---|
| 171 | <segtitle>Installed Directories</segtitle>
|
---|
| 172 |
|
---|
| 173 | <seglistitem>
|
---|
| 174 | <seg>speexdec and speexenc</seg>
|
---|
[e15c2f4] | 175 | <seg>libspeex.so and libspeexdsp.so</seg>
|
---|
[aa954884] | 176 | <seg>/usr/share/doc/speex</seg>
|
---|
[93d50f5] | 177 | </seglistitem>
|
---|
| 178 | </segmentedlist>
|
---|
| 179 |
|
---|
| 180 | <variablelist>
|
---|
| 181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 182 | <?dbfo list-presentation="list"?>
|
---|
| 183 | <?dbhtml list-presentation="table"?>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="speexdec">
|
---|
| 186 | <term><command>speexdec</command></term>
|
---|
| 187 | <listitem>
|
---|
[50b692d] | 188 | <para>decodes a <application>Speex</application> file and
|
---|
[93d50f5] | 189 | produces a WAV or raw file.</para>
|
---|
| 190 | <indexterm zone="speex speexdec">
|
---|
| 191 | <primary sortas="b-speexdec">speexdec</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | <varlistentry id="speexenc">
|
---|
| 197 | <term><command>speexenc</command></term>
|
---|
| 198 | <listitem>
|
---|
[50b692d] | 199 | <para>encodes a WAV or raw files using
|
---|
[93d50f5] | 200 | <application>Speex</application>.</para>
|
---|
| 201 | <indexterm zone="speex speexenc">
|
---|
| 202 | <primary sortas="b-speexenc">speexenc</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="libspeex">
|
---|
[e15c2f4] | 208 | <term><filename class='libraryfile'>libspeex.so</filename></term>
|
---|
[93d50f5] | 209 | <listitem>
|
---|
| 210 | <para>provides functions for the audio encoding/decoding programs.</para>
|
---|
| 211 | <indexterm zone="speex libspeex">
|
---|
[e15c2f4] | 212 | <primary sortas="c-libspeex">libspeex.so</primary>
|
---|
[93d50f5] | 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
[aa954884] | 217 | <varlistentry id="libspeexdsp">
|
---|
[e15c2f4] | 218 | <term><filename class='libraryfile'>libspeexdsp.so</filename></term>
|
---|
[aa954884] | 219 | <listitem>
|
---|
| 220 | <para>is a speech processing library that goes along with the
|
---|
| 221 | <application>Speex</application> codec.</para>
|
---|
| 222 | <indexterm zone="speex libspeexdsp">
|
---|
[e15c2f4] | 223 | <primary sortas="c-libspeexdsp">libspeexdsp.so</primary>
|
---|
[aa954884] | 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
[93d50f5] | 228 | </variablelist>
|
---|
| 229 |
|
---|
| 230 | </sect2>
|
---|
[44a7d7d] | 231 |
|
---|
| 232 | </sect1>
|
---|