[65df2435] | 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;
|
---|
[06a5391] | 6 |
|
---|
[dc40cb9] | 7 | <!ENTITY liba52-download-http
|
---|
| 8 | "http://liba52.sourceforge.net/files/a52dec-&liba52-version;.tar.gz">
|
---|
[48b7295] | 9 | <!ENTITY liba52-download-ftp " ">
|
---|
[06a5391] | 10 | <!ENTITY liba52-md5sum "caa9f5bc44232dc8aeea773fea56be80">
|
---|
[48b7295] | 11 | <!ENTITY liba52-size "236 KB">
|
---|
[64eb1e84] | 12 | <!ENTITY liba52-buildsize "2.5 MB">
|
---|
| 13 | <!ENTITY liba52-time "less than 0.1 SBU">
|
---|
[48b7295] | 14 | ]>
|
---|
| 15 |
|
---|
[fd680fb] | 16 | <sect1 id="liba52" xreflabel="liba52-&liba52-version;">
|
---|
[65df2435] | 17 | <?dbhtml filename="liba52.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>Liba52-&liba52-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="liba52">
|
---|
| 27 | <primary sortas="a-Liba52">Liba52</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Liba52</title>
|
---|
| 32 |
|
---|
| 33 | <para><application>liba52</application> is a free library for decoding
|
---|
[50b692d] | 34 | ATSC A/52 (also known as AC-3) streams. The A/52 standard is used
|
---|
[65df2435] | 35 | in a variety of applications, including digital television and DVD.</para>
|
---|
| 36 |
|
---|
[4c77a949] | 37 | &lfs71_checked;
|
---|
[e355f3c6] | 38 |
|
---|
[65df2435] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&liba52-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&liba52-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &liba52-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &liba52-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &liba52-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &liba52-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
[dc40cb9] | 61 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 62 | <para role="optional"><ulink
|
---|
| 63 | url="http://cr.yp.to/djbfft.html">djbfft</ulink></para>
|
---|
| 64 |
|
---|
[0e2aa08] | 65 | <para condition="html" role="usernotes">User Notes:
|
---|
| 66 | <ulink url="&blfs-wiki;/liba52"/></para>
|
---|
[65df2435] | 67 | </sect2>
|
---|
| 68 |
|
---|
| 69 | <sect2 role="installation">
|
---|
| 70 | <title>Installation of Liba52</title>
|
---|
| 71 |
|
---|
| 72 | <para>Install <application>liba52</application> by running the
|
---|
| 73 | following commands:</para>
|
---|
| 74 |
|
---|
[dc40cb9] | 75 | <screen><userinput>./configure --prefix=/usr --enable-shared --disable-static \
|
---|
[60bb78f] | 76 | CFLAGS="-g -O2 $([ $(uname -m) = x86_64 ] && echo -fPIC)" &&
|
---|
[65df2435] | 77 | make</userinput></screen>
|
---|
| 78 |
|
---|
[4d32631] | 79 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 80 |
|
---|
[dc40cb9] | 81 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 82 | user:</para>
|
---|
[65df2435] | 83 |
|
---|
| 84 | <screen role="root"><userinput>make install &&
|
---|
[dc40cb9] | 85 | cp liba52/a52_internal.h /usr/include/a52dec &&
|
---|
[64eb1e84] | 86 | install -v -m644 -D doc/liba52.txt \
|
---|
[65df2435] | 87 | /usr/share/doc/liba52-&liba52-version;/liba52.txt</userinput></screen>
|
---|
[dc40cb9] | 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="commands">
|
---|
| 91 | <title>Command Explanations</title>
|
---|
| 92 |
|
---|
| 93 | <para><parameter>CFLAGS="-g -O2 ...</parameter>: This sets CFLAGS to -g -O2
|
---|
| 94 | (which is the default) but then on x86_64 adds -fPIC. This is needed to
|
---|
| 95 | compile <application>liba52</application> on x86_64.</para>
|
---|
[65df2435] | 96 |
|
---|
[dc40cb9] | 97 | <para><option>--disable-static</option>: This option stops it installing
|
---|
| 98 | the static version of the library.</para>
|
---|
| 99 |
|
---|
| 100 | <para><command>cp liba52/a52_internal.h ...</command>: Copying this header
|
---|
| 101 | file into /usr/include/a52dec allows some other programs (such as
|
---|
| 102 | <application>xine-lib</application>) to compile and link against a system
|
---|
| 103 | installed <application>liba52</application>.</para>
|
---|
[65df2435] | 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="content">
|
---|
| 107 | <title>Contents</title>
|
---|
| 108 |
|
---|
| 109 | <segmentedlist>
|
---|
| 110 | <segtitle>Installed Programs</segtitle>
|
---|
| 111 | <segtitle>Installed Library</segtitle>
|
---|
| 112 | <segtitle>Installed Directories</segtitle>
|
---|
| 113 |
|
---|
| 114 | <seglistitem>
|
---|
| 115 | <seg>a52dec and extract_a52</seg>
|
---|
[dc40cb9] | 116 | <seg>liba52.so</seg>
|
---|
| 117 | <seg>/usr/include/a52dec and
|
---|
| 118 | /usr/share/doc/liba52-&liba52-version;</seg>
|
---|
[65df2435] | 119 | </seglistitem>
|
---|
| 120 | </segmentedlist>
|
---|
| 121 |
|
---|
| 122 | <variablelist>
|
---|
| 123 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 124 | <?dbfo list-presentation="list"?>
|
---|
| 125 | <?dbhtml list-presentation="table"?>
|
---|
| 126 |
|
---|
| 127 | <varlistentry id="a52dec">
|
---|
| 128 | <term><command>a52dec</command></term>
|
---|
| 129 | <listitem>
|
---|
| 130 | <para>plays ATSC A/52 audio streams.</para>
|
---|
| 131 | <indexterm zone="liba52 a52dec">
|
---|
| 132 | <primary sortas="b-a52dec">a52dec</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="extract_a52">
|
---|
| 138 | <term><command>extract_a52</command></term>
|
---|
| 139 | <listitem>
|
---|
| 140 | <para>extracts ATSC A/52 audio from an MPEG stream.</para>
|
---|
| 141 | <indexterm zone="liba52 extract_a52">
|
---|
| 142 | <primary sortas="b-extract_a52">extract_a52</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="liba52-lib">
|
---|
[dc40cb9] | 148 | <term><filename class='libraryfile'>liba52.so</filename></term>
|
---|
[65df2435] | 149 | <listitem>
|
---|
[50b692d] | 150 | <para>provides functions for the programs dealing with
|
---|
[65df2435] | 151 | ATSC A/52 streams.</para>
|
---|
| 152 | <indexterm zone="liba52 liba52-lib">
|
---|
[dc40cb9] | 153 | <primary sortas="c-liba52">liba52.so</primary>
|
---|
[65df2435] | 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 | </variablelist>
|
---|
| 158 | </sect2>
|
---|
[d98b0ca] | 159 | </sect1>
|
---|