2005-05-11 02:51:37 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2005-02-14 23:12:36 +08:00
|
|
|
|
2012-02-13 00:58:20 +08:00
|
|
|
<!ENTITY liba52-download-http
|
2023-01-29 12:31:35 +08:00
|
|
|
"https://liba52.sourceforge.net/files/a52dec-&liba52-version;.tar.gz">
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY liba52-download-ftp " ">
|
2005-02-14 23:12:36 +08:00
|
|
|
<!ENTITY liba52-md5sum "caa9f5bc44232dc8aeea773fea56be80">
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY liba52-size "236 KB">
|
2005-04-28 03:53:06 +08:00
|
|
|
<!ENTITY liba52-buildsize "2.5 MB">
|
|
|
|
<!ENTITY liba52-time "less than 0.1 SBU">
|
2004-06-14 07:30:44 +08:00
|
|
|
]>
|
|
|
|
|
2007-02-15 01:41:56 +08:00
|
|
|
<sect1 id="liba52" xreflabel="liba52-&liba52-version;">
|
2005-05-11 02:51:37 +08:00
|
|
|
<?dbhtml filename="liba52.html"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>Liba52-&liba52-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="liba52">
|
|
|
|
<primary sortas="a-Liba52">Liba52</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Liba52</title>
|
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
<application>liba52</application> is a free library for decoding
|
|
|
|
ATSC A/52 (also known as AC-3) streams. The A/52 standard is used
|
|
|
|
in a variety of applications, including digital television and DVD.
|
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
|
2023-08-20 08:27:23 +08:00
|
|
|
&lfs120_checked;
|
2009-08-02 20:18:06 +08:00
|
|
|
|
2005-05-11 02:51:37 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&liba52-download-http;"/>
|
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&liba52-download-ftp;"/>
|
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &liba52-md5sum;
|
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download size: &liba52-size;
|
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &liba52-buildsize;
|
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &liba52-time;
|
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2012-02-13 00:58:20 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2020-03-25 03:19:44 +08:00
|
|
|
<para role="optional">
|
2023-01-29 14:31:21 +08:00
|
|
|
<ulink url="https://cr.yp.to/djbfft.html">djbfft</ulink>
|
2020-03-25 03:19:44 +08:00
|
|
|
</para>
|
2012-02-13 00:58:20 +08:00
|
|
|
|
2023-06-30 02:17:43 +08:00
|
|
|
<para condition="html" role="usernotes">Editor Notes:
|
2006-04-11 02:37:19 +08:00
|
|
|
<ulink url="&blfs-wiki;/liba52"/></para>
|
2005-05-11 02:51:37 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Liba52</title>
|
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Install <application>liba52</application> by running the
|
|
|
|
following commands:
|
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
|
2012-08-26 01:13:31 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--enable-shared \
|
|
|
|
--disable-static \
|
2021-03-04 17:56:47 +08:00
|
|
|
CFLAGS="${CFLAGS:--g -O2} $([ $(uname -m) = x86_64 ] && echo -fPIC)" &&
|
2005-05-11 02:51:37 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
To test the results, issue: <command>make check</command>.
|
|
|
|
</para>
|
2005-08-29 08:46:58 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem>
|
|
|
|
user:
|
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install &&
|
2012-02-13 00:58:20 +08:00
|
|
|
cp liba52/a52_internal.h /usr/include/a52dec &&
|
2005-04-28 03:53:06 +08:00
|
|
|
install -v -m644 -D doc/liba52.txt \
|
2005-05-11 02:51:37 +08:00
|
|
|
/usr/share/doc/liba52-&liba52-version;/liba52.txt</userinput></screen>
|
2012-02-13 00:58:20 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
<parameter>CFLAGS="-g -O2 ...</parameter>: This sets CFLAGS to -g -O2
|
|
|
|
(which is the default) but then on x86_64 adds -fPIC. This is needed to
|
|
|
|
compile <application>liba52</application> on x86_64.
|
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
|
2016-10-14 00:25:58 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
2012-02-13 00:58:20 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
<command>cp liba52/a52_internal.h ...</command>: Copying this header
|
|
|
|
file into /usr/include/a52dec allows some other programs (such as
|
|
|
|
<application>xine-lib</application>) to compile and link against a system
|
|
|
|
installed <application>liba52</application>.
|
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>a52dec and extract_a52</seg>
|
2012-02-13 00:58:20 +08:00
|
|
|
<seg>liba52.so</seg>
|
|
|
|
<seg>/usr/include/a52dec and
|
|
|
|
/usr/share/doc/liba52-&liba52-version;</seg>
|
2005-05-11 02:51:37 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="a52dec">
|
|
|
|
<term><command>a52dec</command></term>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
plays ATSC A/52 audio streams
|
2020-03-09 23:02:12 +08:00
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
<indexterm zone="liba52 a52dec">
|
|
|
|
<primary sortas="b-a52dec">a52dec</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="extract_a52">
|
|
|
|
<term><command>extract_a52</command></term>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
extracts ATSC A/52 audio from an MPEG stream
|
2020-03-09 23:02:12 +08:00
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
<indexterm zone="liba52 extract_a52">
|
|
|
|
<primary sortas="b-extract_a52">extract_a52</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="liba52-lib">
|
2021-02-19 23:20:16 +08:00
|
|
|
<term><filename class="libraryfile">liba52.so</filename></term>
|
2005-05-11 02:51:37 +08:00
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
provides functions for the programs dealing with ATSC A/52 streams
|
2020-03-09 23:02:12 +08:00
|
|
|
</para>
|
2005-05-11 02:51:37 +08:00
|
|
|
<indexterm zone="liba52 liba52-lib">
|
2012-02-13 00:58:20 +08:00
|
|
|
<primary sortas="c-liba52">liba52.so</primary>
|
2005-05-11 02:51:37 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
2021-02-19 23:20:16 +08:00
|
|
|
|
2003-09-22 12:54:15 +08:00
|
|
|
</sect1>
|