[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 |
|
---|
[7c51f58] | 37 | &lfs77_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 |
|
---|
[62e5e8f] | 75 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 76 | --mandir=/usr/share/man \
|
---|
| 77 | --enable-shared \
|
---|
| 78 | --disable-static \
|
---|
[10030e39] | 79 | CFLAGS="-g -O2 $([ $(uname -m) = x86_64 ] && echo -fPIC)" &&
|
---|
[65df2435] | 80 | make</userinput></screen>
|
---|
| 81 |
|
---|
[4d32631] | 82 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 83 |
|
---|
[dc40cb9] | 84 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 85 | user:</para>
|
---|
[65df2435] | 86 |
|
---|
| 87 | <screen role="root"><userinput>make install &&
|
---|
[dc40cb9] | 88 | cp liba52/a52_internal.h /usr/include/a52dec &&
|
---|
[64eb1e84] | 89 | install -v -m644 -D doc/liba52.txt \
|
---|
[65df2435] | 90 | /usr/share/doc/liba52-&liba52-version;/liba52.txt</userinput></screen>
|
---|
[dc40cb9] | 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="commands">
|
---|
| 94 | <title>Command Explanations</title>
|
---|
| 95 |
|
---|
| 96 | <para><parameter>CFLAGS="-g -O2 ...</parameter>: This sets CFLAGS to -g -O2
|
---|
| 97 | (which is the default) but then on x86_64 adds -fPIC. This is needed to
|
---|
| 98 | compile <application>liba52</application> on x86_64.</para>
|
---|
[65df2435] | 99 |
|
---|
[dc40cb9] | 100 | <para><option>--disable-static</option>: This option stops it installing
|
---|
| 101 | the static version of the library.</para>
|
---|
| 102 |
|
---|
| 103 | <para><command>cp liba52/a52_internal.h ...</command>: Copying this header
|
---|
| 104 | file into /usr/include/a52dec allows some other programs (such as
|
---|
| 105 | <application>xine-lib</application>) to compile and link against a system
|
---|
| 106 | installed <application>liba52</application>.</para>
|
---|
[65df2435] | 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="content">
|
---|
| 110 | <title>Contents</title>
|
---|
| 111 |
|
---|
| 112 | <segmentedlist>
|
---|
| 113 | <segtitle>Installed Programs</segtitle>
|
---|
| 114 | <segtitle>Installed Library</segtitle>
|
---|
| 115 | <segtitle>Installed Directories</segtitle>
|
---|
| 116 |
|
---|
| 117 | <seglistitem>
|
---|
| 118 | <seg>a52dec and extract_a52</seg>
|
---|
[dc40cb9] | 119 | <seg>liba52.so</seg>
|
---|
| 120 | <seg>/usr/include/a52dec and
|
---|
| 121 | /usr/share/doc/liba52-&liba52-version;</seg>
|
---|
[65df2435] | 122 | </seglistitem>
|
---|
| 123 | </segmentedlist>
|
---|
| 124 |
|
---|
| 125 | <variablelist>
|
---|
| 126 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 127 | <?dbfo list-presentation="list"?>
|
---|
| 128 | <?dbhtml list-presentation="table"?>
|
---|
| 129 |
|
---|
| 130 | <varlistentry id="a52dec">
|
---|
| 131 | <term><command>a52dec</command></term>
|
---|
| 132 | <listitem>
|
---|
| 133 | <para>plays ATSC A/52 audio streams.</para>
|
---|
| 134 | <indexterm zone="liba52 a52dec">
|
---|
| 135 | <primary sortas="b-a52dec">a52dec</primary>
|
---|
| 136 | </indexterm>
|
---|
| 137 | </listitem>
|
---|
| 138 | </varlistentry>
|
---|
| 139 |
|
---|
| 140 | <varlistentry id="extract_a52">
|
---|
| 141 | <term><command>extract_a52</command></term>
|
---|
| 142 | <listitem>
|
---|
| 143 | <para>extracts ATSC A/52 audio from an MPEG stream.</para>
|
---|
| 144 | <indexterm zone="liba52 extract_a52">
|
---|
| 145 | <primary sortas="b-extract_a52">extract_a52</primary>
|
---|
| 146 | </indexterm>
|
---|
| 147 | </listitem>
|
---|
| 148 | </varlistentry>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="liba52-lib">
|
---|
[dc40cb9] | 151 | <term><filename class='libraryfile'>liba52.so</filename></term>
|
---|
[65df2435] | 152 | <listitem>
|
---|
[50b692d] | 153 | <para>provides functions for the programs dealing with
|
---|
[65df2435] | 154 | ATSC A/52 streams.</para>
|
---|
| 155 | <indexterm zone="liba52 liba52-lib">
|
---|
[dc40cb9] | 156 | <primary sortas="c-liba52">liba52.so</primary>
|
---|
[65df2435] | 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 | </variablelist>
|
---|
| 161 | </sect2>
|
---|
[d98b0ca] | 162 | </sect1>
|
---|