Author: alexander Date: 2008-01-19 02:35:36 -0700 (Sat, 19 Jan 2008) New Revision: 7168
Added: trunk/BOOK/multimedia/libdriv/faad2.xml Log: Forgot to "svn add" faad2.xml in the previous commit, sorry. Added: trunk/BOOK/multimedia/libdriv/faad2.xml =================================================================== --- trunk/BOOK/multimedia/libdriv/faad2.xml (rev 0) +++ trunk/BOOK/multimedia/libdriv/faad2.xml 2008-01-19 09:35:36 UTC (rev 7168) @@ -0,0 +1,179 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../../general.ent"> + %general-entities; + + <!ENTITY faad2-download-http "http://downloads.sourceforge.net/faac/faad2-&faad2-version;.tar.gz"> + <!ENTITY faad2-download-ftp " "> + <!ENTITY faad2-md5sum "74e92df40c270f216a8305fc87603c8a"> + <!ENTITY faad2-size "820 KB"> + <!ENTITY faad2-buildsize "15 MB (without media player plugins)"> + <!ENTITY faad2-time "0.25 SBU (without media player plugins)"> +]> + +<sect1 id="faad2" xreflabel="FAAD2-&faad2-version;"> + <?dbhtml filename="faad2.html"?> + + <sect1info> + <othername>$LastChangedBy: ag $</othername> + <date>$Date: 2007-12-13 16:04:40 +0500 (Чтв, 13 Дек 2007) $</date> + </sect1info> + + <title>FAAD2-&faad2-version;</title> + + <indexterm zone="faad2"> + <primary sortas="a-faad2">faad2</primary> + </indexterm> + + <sect2 role="package"> + <title>Introduction to FAAD2</title> + + <para><application>FAAD2</application> is a decoder for a lossy sound + compression scheme specified in MPEG-2 Part 7 and MPEG-4 Part 3 standards + and known as Advanced Audio Coding (AAC).</para> + + <bridgehead renderas="sect3">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&faad2-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&faad2-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &faad2-md5sum;</para> + </listitem> + <listitem> + <para>Download size: &faad2-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &faad2-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &faad2-time;</para> + </listitem> + </itemizedlist> + + <bridgehead renderas="sect3">Additional Downloads</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Sample AAC file: <ulink url="http://www.nch.com.au/acm/sample.aac"/> (7 KB)</para> + </listitem> + </itemizedlist> + + <bridgehead renderas="sect3">FAAD2 Dependencies</bridgehead> + + <bridgehead renderas="sect4">Optional</bridgehead> + <para role="optional"><xref linkend="xmms"/>, and + <ulink url="http://mpeg4ip.sourceforge.net/">mpeg4ip</ulink> (both untested). + If these packages are found, AAC plugins are built for the corresponding + media players.</para> + + <para condition="html" role="usernotes">User Notes: + <ulink url="&blfs-wiki;/faad2"/></para> + + </sect2> + + <sect2 role="installation"> + <title>Installation of FAAD2</title> + + <para>Install <application>FAAD2</application> by running the + following commands:</para> + +<screen><userinput>./bootstrap && +./configure --prefix=/usr && +make</userinput></screen> + + <para>This package does not come with a test suite. However, one can test + its basic functionality with a sample AAC file. Decode the file:</para> + +<screen><userinput>./frontend/faad -o sample.wav ../sample.aac</userinput></screen> + + <para>This should display a copyright message and the following + information about the sample file:</para> + +<screen>sample.aac file info: +ADTS, 4.608 sec, 13 kbps, 16000 Hz + + --------------------- + | Config: 2 Ch | + --------------------- + | Ch | Position | + --------------------- + | 00 | Left front | + | 01 | Right front | + ---------------------</screen> + + <para>Play the result:</para> + +<screen><userinput>aplay sample.wav</userinput></screen> + + <para><command>aplay</command> should identify the file as + "Signed 16 bit Little Endian, Rate 16000 Hz, Stereo", and you should hear + some piano notes.</para> + + <para>Now, as the <systemitem class="username">root</systemitem> user:</para> + +<screen role="root"><userinput>make install</userinput></screen> + + </sect2> + + <sect2 role="commands"> + <title>Command Explanations</title> + + <para><command>./bootstrap</command>: This command runs GNU Autotools + and produces the <command>configure</command> script and some other files + that drive the further build.</para> + + <para><option>--with-drm</option>: This option is supposed to enable + support for decoding + <ulink url="http://www.drm.org/">Digital Radio Mondiale</ulink>, but + actually breaks the base functionality of the package (e.g., the resulting + <command>faad</command> program cannot decode the sample AAC file + linked above). Don't use it.</para> + </sect2> + + <sect2 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Program</segtitle> + <segtitle>Installed Libraries</segtitle> + + <seglistitem> + <seg>faad</seg> + <seg>libfaad.{so,a}</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="faad-prog"> + <term><command>faad</command></term> + <listitem> + <para>is a command-line utility for decoding AAC and MP4 files.</para> + <indexterm zone="faad2 faad-prog"> + <primary sortas="b-faad">faad</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="libfaad"> + <term><filename class='libraryfile'>libfaad.{so,a}</filename></term> + <listitem> + <para>this library contains functions for decoding AAC streams.</para> + <indexterm zone="faad2 libfaad"> + <primary sortas="c-libfaad">libfaad.{so,a}</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
