1 <!doctype refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
3 <!-- Fill in your name for FIRSTNAME and SURNAME. -->
4 <!ENTITY dhfirstname "<firstname>Matt</firstname>">
5 <!ENTITY dhsurname "<surname>Zimmerman</surname>">
6 <!-- Please adjust the date whenever revising the manpage. -->
7 <!ENTITY dhdate "<date>February 23, 2001</date>">
8 <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
9 allowed: see man(7), man(1). -->
10 <!ENTITY dhsection "<manvolnum>1</manvolnum>">
11 <!ENTITY dhemail "<email>mdz@debian.org</email>">
12 <!ENTITY dhusername "Matt Zimmerman">
13 <!ENTITY dhucpackage "<refentrytitle>FLAC</refentrytitle>">
14 <!ENTITY dhpackage "flac">
16 <!ENTITY debian "<productname>Debian GNU/Linux</productname>">
17 <!ENTITY gnu "<acronym>GNU</acronym>">
31 <holder>&dhusername;</holder>
41 <refname>&dhpackage;</refname>
43 <refpurpose>Free Lossless Audio Codec</refpurpose>
47 <command>flac</command>
49 <arg><option><replaceable>OPTION</replaceable></option></arg>
50 <arg choice=plain><replaceable>infile</replaceable></arg>
51 <arg choice=plain><replaceable>outfile</replaceable></arg>
55 <title>DESCRIPTION</title>
57 <para>This manual page documents briefly the
58 <command>flac</command> command.</para>
60 <para>This manual page was written for the &debian;
61 distribution because the original program does not have a
62 manual page. Instead, it has documentation in HTML
63 format; see below.</para>
67 <title>OPTIONS</title>
69 <para>A summary of options is included below. For a complete
70 description, see the HTML documentation.</para>
73 <title>Generic Options</title>
77 <term><option>-d</option>
80 <para>Decode (default behavior is encode)</para>
85 <term><option>-t</option>
88 <para>Test a flac encoded file (same as -d
89 except no decoded file is written)</para>
94 <term><option>-a</option>
97 <para>Analyze a flac encoded file (same as -d
98 except an analysis file is written)</para>
103 <term><option>-s</option>
106 <para>Silent mode (do not write runtime
107 encode/decode statistics to stdout)</para>
112 <term><option>--skip</option> <replaceable>samples</replaceable></term>
114 <para>Skip the specified number of samples at the
115 beginning of the input file (can be used for both
116 encoding and decoding)</para>
124 <title>Analysis Options</title>
128 <term><option>--a-rtext</option>
131 <para>Includes the residual signal in the analysis
132 file. This will make the file very big, much
133 larger than even the decoded file.</para>
138 <term><option>--a-rgp</option>
141 <para>Generates a gnuplot file for every subframe;
142 each file will contain the residual distribution
143 of the subframe. This will create a lot of
152 <title>Encoding Options</title>
156 <term><option>--lax</option></term>
159 <para>Allow encoder to generate non-Subset
165 <term><option>-S</option> <replaceable>{ # | X | #x }</replaceable></term>
169 Include a point or points in a SEEKTABLE. Using #,
170 a seek point at that sample number is added. Using
171 X, a placeholder point is added at the end of a the
172 table. Using #x, # evenly spaced seek points will
173 be added, the first being at sample 0. You may use
174 many -S options; the resulting SEEKTABLE will be the
175 unique-ified union of all such values. With no -S
176 options, flac defaults to '-S 100x'. Use -S- for
177 no SEEKTABLE. Note: '-S #x' will not work if the
178 encoder can't determine the input size before
179 starting. Note: if you use '-S #' and # is >=
180 samples in the input, there will be either no seek
181 point entered (if the input size is determinable
182 before encoding starts) or a placeholder point (if
183 input size is not determinable)</para>
188 <term><option>-P</option> <replaceable>bytes</replaceable></term>
191 <para>Tell the encoder to write a PADDING metadata
192 block of the given length (in bytes) after the
193 STREAMINFO block. -P 0 implies no PADDING block,
194 which is the default. This is useful if you plan
195 to tag the file later with an APPLICATION block;
196 instead of having to rewrite the entire file later
197 just to insert your block, you can write directly
198 over the PADDING block.</para>
203 <term><option>-b</option> <replaceable>blocksize</replaceable></term>
206 <para>Default is 1152 for -l 0, else 4608; must be
207 192/576/1152/2304/4608/256/512/1024/2048/4096/8192/16384/32768
208 (unless --lax is used)</para>
213 <term><option>-m</option></term>
216 <para>Try mid-side coding for each frame (stereo
222 <term><option>-m</option></term>
225 <para>Loose mid-side coding for all frames (stereo
231 <term><option>-0</option>..<option>-9</option></term>
234 <para>Fastest compression..highest compression
235 (default is -6). These are synonyms for other
240 <term><option>-0</option></term>
243 <para>Synonymous with -l 0</para>
248 <term><option>-1</option></term>
251 <para>Synonymous with -l 0 -M</para>
256 <term><option>-2</option></term>
259 <para>Synonymous with -l 0 -m -r # (# is
260 automatically determined by the block
266 <term><option>-3</option></term>
269 <para>Reserved</para>
274 <term><option>-4</option></term>
277 <para>Synonymous with -l 8</para>
282 <term><option>-5</option></term>
285 <para>Synonymous with -l 8 -M</para>
290 <term><option>-6</option></term>
293 <para>Synonymous with -l 8 -m -r # (# is
294 automatically determined by the block
300 <term><option>-7</option></term>
303 <para>Reserved</para>
308 <term><option>-8</option></term>
311 <para>Synonymous with -l 32 -m -r # (# is
312 automatically determined by the block
318 <term><option>-9</option></term>
321 <para>Synonymous with -l 32 -m -e -r 16 -p
333 <term><option>-e</option></term>
336 <para>Do exhaustive model search
342 <term><option>-l</option> <replaceable>max_lpc_order</replaceable></term>
345 <para>0 => use only fixed predictors</para>
350 <term><option>-p</option></term>
353 <para>Do exhaustive search of LP coefficient
354 quantization (expensive!). Overrides -q,
355 does nothing if using -l 0</para>
360 <term><option>-q</option> <replaceable>bits</replaceable></term>
363 <para>Precision of the quantized linear-predictor
364 coefficients, 0 => let encoder decide (min is 5,
370 <term><option>-r</option> <replaceable>level</replaceable></term>
373 <para>Residual partition order (0..16). 0
374 => none, default is 0, above 4 doesn't usually
380 <term><option>-V</option></term>
383 <para>Verify a correct encoding by decoding the
384 output in parallel and comparing to the
390 <term><option>-S-</option> <option>-m-</option> <option>-M-</option> <option>-e-</option> <option>-p-</option> <option>-V-</option> <option>--lax-</option>
394 <para>These flags can be used to invert the sense
395 of the corresponding normal option.</para>
402 <title>Format Options</title>
406 <term><option>-fb</option></term>
409 <para>Big-endian byte order</para>
414 <term><option>-fl</option></term>
417 <para>Little-endian byte order</para>
422 <term><option>-fc</option>
423 <replaceable>channels</replaceable></term>
426 <para>Set number of channels.</para>
431 <term><option>-fp</option>
432 <replaceable>bits_per_sample</replaceable></term>
435 <para>Set bits per sample.</para>
440 <term><option>-fs</option>
441 <replaceable>sample_rate</replaceable></term>
444 <para>Set sample rate (in Hz).</para>
449 <term><option>-fu</option></term>
452 <para>Unsigned samples (default is signed)</para>
457 <term><option>-fr</option></term>
460 <para>Force to raw format (even if filename ends
461 in <filename>.wav</filename>).</para>
466 <term><option>-fw</option></term>
469 <para>Force to RIFF WAVE.</para>
478 <title>SEE ALSO</title>
480 <para>The programs are documented fully by HTML format
481 documentation, available in
482 <filename>/usr/share/doc/flac/html</filename> on
483 &debian; systems.</para>
486 <title>AUTHOR</title>
488 <para>This manual page was written by &dhusername; &dhemail; for
489 the &debian; system (but may be used by others).</para>
491 <!-- <para>Permission is granted to copy, distribute and/or modify
492 this document under the terms of the <acronym>GNU</acronym> Free
493 Documentation License, Version 1.1 or any later version
494 published by the Free Software Foundation; with no Invariant
495 Sections, no Front-Cover Texts and no Back-Cover Texts. A copy
496 of the license can be found under
497 <filename>/usr/share/common-licenses/FDL</filename>.</para> -->
502 <!-- Keep this comment at the end of the file
507 sgml-minimize-attributes:nil
508 sgml-always-quote-attributes:t
511 sgml-parent-document:nil
512 sgml-default-dtd-file:nil
513 sgml-exposed-tags:nil
514 sgml-local-catalogs:nil
515 sgml-local-ecat-files:nil