source: multimedia/libdriv/faad2.xml@ 1d76821

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1d76821 was 1d76821, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

More tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18348 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY faad2-download-http "&sourceforge-repo;/faac/faad2-&faad2-version;.tar.bz2">
8 <!ENTITY faad2-download-ftp " ">
9 <!ENTITY faad2-md5sum "4c332fa23febc0e4648064685a3d4332">
10 <!ENTITY faad2-size "880 KB">
11 <!ENTITY faad2-buildsize "12 MB (without media player plugins)">
12 <!ENTITY faad2-time "0.2 SBU (without media player plugins)">
13]>
14
15<sect1 id="faad2" xreflabel="FAAD2-&faad2-version;">
16 <?dbhtml filename="faad2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>FAAD2-&faad2-version;</title>
24
25 <indexterm zone="faad2">
26 <primary sortas="a-faad2">faad2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to FAAD2</title>
31
32 <para><application>FAAD2</application> is a decoder for a lossy sound
33 compression scheme specified in MPEG-2 Part 7 and MPEG-4 Part 3 standards
34 and known as Advanced Audio Coding (AAC).</para>
35
36 &lfs80_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&faad2-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&faad2-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &faad2-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &faad2-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &faad2-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &faad2-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
61 <itemizedlist spacing="compact">
62 <listitem>
63 <para>
64 Required patch: <ulink url="&patch-root;/faad2-&faad2-version;-mp4ff-1.patch"/>
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Sample AAC file: <ulink url="http://www.nch.com.au/acm/sample.aac"/> (7 KB)
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <!--
75 <bridgehead renderas="sect3">FAAD2 Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Optional (to build corresponding AAC plugins)</bridgehead>
78 <para role="optional"><xref linkend="xmms"/> and
79 <ulink url="http://mpeg4ip.sourceforge.net/">mpeg4ip</ulink> (both
80 are untested, and both projects are dead).</para> -->
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/faad2"/></para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of FAAD2</title>
89
90 <para>Install <application>FAAD2</application> by running the
91 following commands:</para>
92
93<screen><userinput>patch -Np1 -i ../faad2-&faad2-version;-mp4ff-1.patch &amp;&amp;
94
95sed -i "s:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g" configure.in &amp;&amp;
96sed -i "s:man_MANS:man1_MANS:g" frontend/Makefile.am &amp;&amp;
97
98autoreconf -fi &amp;&amp;
99
100./configure --prefix=/usr --disable-static &amp;&amp;
101make</userinput></screen>
102
103 <para>This package does not come with a test suite. However, basic
104 functionality can be tested by decoding the sample AAC file:</para>
105
106<screen><userinput>./frontend/faad -o sample.wav ../sample.aac</userinput></screen>
107
108 <para>This should display a copyright message and the following
109 information about the sample file:</para>
110
111<literallayout><computeroutput>sample.aac file info:
112ADTS, 4.608 sec, 13 kbps, 16000 Hz
113
114 ---------------------
115 | Config: 2 Ch |
116 ---------------------
117 | Ch | Position |
118 ---------------------
119 | 00 | Left front |
120 | 01 | Right front |
121 ---------------------</computeroutput></literallayout>
122
123 <para>Now play the result (requires the <command>aplay</command> program
124 from the <xref linkend="alsa-utils"/> package):</para>
125
126<screen><userinput>aplay sample.wav</userinput></screen>
127
128 <para><command>aplay</command> should identify the file as
129 <quote>Signed 16 bit Little Endian, Rate 16000 Hz, Stereo</quote>, and you
130 should hear some piano notes.</para>
131
132 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
133
134<screen role="root"><userinput>make install</userinput></screen>
135
136 </sect2>
137
138 <sect2 role="commands">
139 <title>Command Explanations</title>
140
141 <!-- <para><command>./bootstrap</command>: This command runs GNU Autotools
142 to create the <command>configure</command> script and other
143 required build files.</para> -->
144
145 <para>
146 <command>sed -i ...</command>: First command fixes autotools scripts to
147 be compatible with latest version of <application>Automake</application>
148 and second command fixes manual page install location.
149 </para>
150
151 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
152 href="../../xincludes/static-libraries.xml"/>
153
154 <para><option>--with-drm</option>: This option is supposed to enable
155 support for decoding
156 <ulink url="http://www.drm.org/">Digital Radio Mondiale</ulink>, but
157 actually breaks the base functionality of the package (e.g., the resulting
158 <command>faad</command> program cannot decode the sample AAC file
159 linked above). Don't use it.</para>
160 </sect2>
161
162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Program</segtitle>
167 <segtitle>Installed Library</segtitle>
168 <segtitle>Installed Directories</segtitle>
169
170 <seglistitem>
171 <seg>faad</seg>
172 <seg>libfaad.so</seg>
173 <seg>None</seg>
174 </seglistitem>
175 </segmentedlist>
176
177 <variablelist>
178 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
179 <?dbfo list-presentation="list"?>
180 <?dbhtml list-presentation="table"?>
181
182 <varlistentry id="faad-prog">
183 <term><command>faad</command></term>
184 <listitem>
185 <para>is a command-line utility for decoding AAC and MP4 files.</para>
186 <indexterm zone="faad2 faad-prog">
187 <primary sortas="b-faad">faad</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry id="libfaad">
193 <term><filename class='libraryfile'>libfaad.so</filename></term>
194 <listitem>
195 <para>contains functions for decoding AAC streams.</para>
196 <indexterm zone="faad2 libfaad">
197 <primary sortas="c-libfaad">libfaad.so</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 </variablelist>
203
204 </sect2>
205
206</sect1>
Note: See TracBrowser for help on using the repository browser.