blob: d3bdb32797979108b59c6d76b29b7c536176edab [file] [log] [blame]
Josh Coalson490c2872001-01-31 02:07:24 +00001<!doctype refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
2
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. -->
Josh Coalson99060562002-12-21 03:28:06 +00007 <!ENTITY dhdate "<date>December 18, 2002</date>">
Josh Coalson490c2872001-01-31 02:07:24 +00008 <!-- 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">
15
16 <!ENTITY debian "<productname>Debian GNU/Linux</productname>">
17 <!ENTITY gnu "<acronym>GNU</acronym>">
18]>
19
20<refentry>
21 <docinfo>
22 <address>
23 &dhemail;
24 </address>
25 <author>
26 &dhfirstname;
27 &dhsurname;
28 </author>
29 <copyright>
Josh Coalson305ae2e2002-01-26 17:36:39 +000030 <year>2002</year>
Josh Coalson490c2872001-01-31 02:07:24 +000031 <holder>&dhusername;</holder>
32 </copyright>
33 &dhdate;
34 </docinfo>
35 <refmeta>
36 &dhucpackage;
37
38 &dhsection;
39 </refmeta>
40 <refnamediv>
41 <refname>&dhpackage;</refname>
42
Josh Coalson26560dd2001-02-08 00:38:41 +000043 <refpurpose>Free Lossless Audio Codec</refpurpose>
Josh Coalson490c2872001-01-31 02:07:24 +000044 </refnamediv>
45 <refsynopsisdiv>
46 <cmdsynopsis>
47 <command>flac</command>
48
49 <arg><option><replaceable>OPTION</replaceable></option></arg>
50 <arg choice=plain><replaceable>infile</replaceable></arg>
Josh Coalsond2e0e0e2001-06-06 19:27:48 +000051 <arg choice=plain><replaceable>...</replaceable></arg>
Josh Coalson490c2872001-01-31 02:07:24 +000052 </cmdsynopsis>
53 </refsynopsisdiv>
54 <refsect1>
55 <title>DESCRIPTION</title>
56
57 <para>This manual page documents briefly the
58 <command>flac</command> command.</para>
59
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>
64
65 </refsect1>
66 <refsect1>
67 <title>OPTIONS</title>
68
69 <para>A summary of options is included below. For a complete
70 description, see the HTML documentation.</para>
71
72 <refsect2>
Josh Coalson99060562002-12-21 03:28:06 +000073 <title>General Options</title>
Josh Coalson490c2872001-01-31 02:07:24 +000074
75 <variablelist>
76 <varlistentry>
Josh Coalson3cf909c2002-08-20 03:57:59 +000077 <term><option>-v</option>, <option>--version</option>
78 </term>
79 <listitem>
80 <para>Show the flac version number</para>
81 </listitem>
82 </varlistentry>
83
84 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +000085 <term><option>-h</option>, <option>--help</option>
Josh Coalsonc74cbef2001-10-31 23:15:20 +000086 </term>
87 <listitem>
Josh Coalsone6eff862002-08-13 21:18:27 +000088 <para>Show basic usage and a list of all options</para>
Josh Coalsonc74cbef2001-10-31 23:15:20 +000089 </listitem>
90 </varlistentry>
91
92 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +000093 <term><option>-H</option>, <option>--explain</option>
Josh Coalson490c2872001-01-31 02:07:24 +000094 </term>
95 <listitem>
Josh Coalsone6eff862002-08-13 21:18:27 +000096 <para>Show detailed explanation of usage and all options</para>
Josh Coalson490c2872001-01-31 02:07:24 +000097 </listitem>
98 </varlistentry>
99
Josh Coalsone6eff862002-08-13 21:18:27 +0000100 <varlistentry>
101 <term><option>-d</option>, <option>--decode</option>
102 </term>
103 <listitem>
104 <para>Decode (the default behavior is to encode)</para>
105 </listitem>
106 </varlistentry>
Matt Zimmermancb449272001-08-17 16:31:17 +0000107
Josh Coalson490c2872001-01-31 02:07:24 +0000108 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000109 <term><option>-t</option>, <option>--test</option>
Josh Coalson490c2872001-01-31 02:07:24 +0000110 </term>
111 <listitem>
112 <para>Test a flac encoded file (same as -d
113 except no decoded file is written)</para>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000118 <term><option>-a</option>, <option>--analyze</option>
Josh Coalson490c2872001-01-31 02:07:24 +0000119 </term>
120 <listitem>
121 <para>Analyze a flac encoded file (same as -d
122 except an analysis file is written)</para>
123 </listitem>
124 </varlistentry>
125
Josh Coalsone6eff862002-08-13 21:18:27 +0000126 <varlistentry>
127 <term><option>-c</option>, <option>--stdout</option>
128 </term>
129 <listitem>
130 <para>Write output to stdout</para>
131 </listitem>
132 </varlistentry>
133
Josh Coalson490c2872001-01-31 02:07:24 +0000134 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000135 <term><option>-s</option>, <option>--silent</option>
Josh Coalson490c2872001-01-31 02:07:24 +0000136 </term>
137 <listitem>
138 <para>Silent mode (do not write runtime
Josh Coalsone6eff862002-08-13 21:18:27 +0000139 encode/decode statistics to stderr)</para>
Josh Coalson490c2872001-01-31 02:07:24 +0000140 </listitem>
141 </varlistentry>
142
143 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000144 <term><option>-o</option> <replaceable>filename</replaceable>, <option>--output-name</option>=<replaceable>filename</replaceable></term>
Josh Coalsond2e0e0e2001-06-06 19:27:48 +0000145 <listitem>
146 <para>Force the output file name (usually flac just
Josh Coalsoncd22af62001-06-27 06:53:54 +0000147 changes the extension). May only be used when
148 encoding a single file. May not be used in
149 conjunction with --output-prefix.</para>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000154 <term><option>--output-prefix</option>=<replaceable>string</replaceable></term>
Josh Coalsoncd22af62001-06-27 06:53:54 +0000155 <listitem>
156 <para>Prefix each output file name with the given
Josh Coalsone6eff862002-08-13 21:18:27 +0000157 string. This can be useful for encoding or decoding
Josh Coalsoncd22af62001-06-27 06:53:54 +0000158 files to a different directory. Make sure if your
159 string is a path name that it ends with a trailing
160 `/' (slash).</para>
Josh Coalsond2e0e0e2001-06-06 19:27:48 +0000161 </listitem>
162 </varlistentry>
163
164 <varlistentry>
165 <term><option>--delete-input-file</option>
166 </term>
167 <listitem>
168 <para>Automatically delete the input file after a
169 successful encode or decode. If there was an
170 error (including a verify error) the input file
171 is left intact.</para>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry>
Josh Coalson99060562002-12-21 03:28:06 +0000176 <term><option>--skip</option>={<replaceable>#</replaceable>|<replaceable>mm:ss.ss</replaceable>}</term>
Josh Coalson490c2872001-01-31 02:07:24 +0000177 <listitem>
Josh Coalson99060562002-12-21 03:28:06 +0000178 <para>Skip over the first number of samples of the input.
179 This works for both encoding and decoding, but not
180 testing. The alternative form mm:ss.ss can be used
181 to specify minutes, seconds, and fractions of a
182 second.</para>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry>
187 <term><option>--until</option>={<replaceable>#</replaceable>|[<replaceable>+</replaceable>|<replaceable>-</replaceable>]<replaceable>mm:ss.ss</replaceable>}</term>
188 <listitem>
189 <para>Stop at the given sample number for each input file.
190 This works for both encoding and decoding, but not testing.
191 The given sample number is not included in the decoded
192 output. The alternative form mm:ss.ss can be used to
193 specify minutes, seconds, and fractions of a second. If a
194 `+' (plus) sign is at the beginning, the --until point is
195 relative to the --skip point. If a `-' (minus) sign is at
196 the beginning, the --until point is relative to end of the
197 audio.</para>
Josh Coalson490c2872001-01-31 02:07:24 +0000198 </listitem>
199 </varlistentry>
200
Josh Coalsonf3911322002-09-20 05:53:10 +0000201 <varlistentry>
202 <term><option>--ogg</option></term>
203
204 <listitem>
205 <para>When encoding, generate Ogg-FLAC output instead
206 of native-FLAC. Ogg-FLAC streams are FLAC streams
207 wrapped in an Ogg transport layer. The resulting
208 file should have an '.ogg' extension and will still
209 be decodable by flac.</para>
210 <para>When decoding, force the input to be treated as
211 Ogg-FLAC. This is useful when piping input from
212 stdin or when the filename does not end in '.ogg'.</para>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry>
217 <term><option>--serial-number</option>=<replaceable>#</replaceable></term>
218
219 <listitem>
220 <para>When used with --ogg, specifies the serial
221 number to use for the FLAC stream. When encoding and
222 no serial number is given, flac uses '0'. When
223 decoding and no number is given, flac uses the serial
224 number of the first page.</para>
225 </listitem>
226 </varlistentry>
227
Josh Coalson490c2872001-01-31 02:07:24 +0000228 </variablelist>
229 </refsect2>
230
231 <refsect2>
Josh Coalson0b7fde92001-03-15 23:25:54 +0000232 <title>Analysis Options</title>
233
234 <variablelist>
235 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000236 <term><option>--residual-text</option>
Josh Coalson0b7fde92001-03-15 23:25:54 +0000237 </term>
238 <listitem>
Josh Coalsone43d5552001-03-16 23:33:00 +0000239 <para>Includes the residual signal in the analysis
240 file. This will make the file very big, much
241 larger than even the decoded file.</para>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000246 <term><option>--residual-gnuplot</option>
Josh Coalsone43d5552001-03-16 23:33:00 +0000247 </term>
248 <listitem>
249 <para>Generates a gnuplot file for every subframe;
250 each file will contain the residual distribution
251 of the subframe. This will create a lot of
252 files.</para>
Josh Coalson0b7fde92001-03-15 23:25:54 +0000253 </listitem>
254 </varlistentry>
255
256 </variablelist>
257 </refsect2>
258
259 <refsect2>
Josh Coalson5d66ae72002-06-05 05:53:05 +0000260 <title>Decoding Options</title>
261
262 <variablelist>
263 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000264 <term><option>-F</option>, <option>--decode-through-errors</option>
Josh Coalson5d66ae72002-06-05 05:53:05 +0000265 </term>
266 <listitem>
267 <para>By default flac stops decoding with an error
268 and removes the partially decoded file if it
269 encounters a bitstream error. With -F, errors are
270 still printed but flac will continue decoding to
271 completion. Note that errors may cause the decoded
272 audio to be missing some samples or have silent
273 sections.</para>
274 </listitem>
275 </varlistentry>
276
277 </variablelist>
278 </refsect2>
279
280 <refsect2>
Josh Coalson490c2872001-01-31 02:07:24 +0000281 <title>Encoding Options</title>
282
283 <variablelist>
284 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000285 <term><option>-V</option>, <option>--verify</option></term>
286
287 <listitem>
288 <para>Verify a correct encoding by decoding the
289 output in parallel and comparing to the
290 original</para>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry>
Josh Coalson490c2872001-01-31 02:07:24 +0000295 <term><option>--lax</option></term>
296
297 <listitem>
298 <para>Allow encoder to generate non-Subset
Josh Coalsonba03ad12001-06-27 06:48:34 +0000299 files.</para>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry>
Josh Coalson853d79c2002-10-31 06:16:45 +0000304 <term><option>--replay-gain</option></term>
305
306 <listitem>
307 <para>Calculate ReplayGain values and store in
308 Vorbis comments, similar to vorbisgain. Title
309 gains/peaks will be computed for each input
310 file, and an album gain/peak will be computed
311 for all files. All input files must have the
312 same resolution, sample rate, and number of
313 channels. Only mono and stereo files are
314 allowed, and the sample rate must be one of
315 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, or 48
316 kHz. Also note that this option may leave a
317 few extra bytes in a PADDING block as the exact
318 size of the tags is not known until all files
319 are processed. Note that this option cannot be
320 used when encoding to standard output (stdout).
321 </para>
322 </listitem>
323 </varlistentry>
324
325 <varlistentry>
Josh Coalson99060562002-12-21 03:28:06 +0000326 <term><option>--cuesheet</option>=<replaceable>filename</replaceable></term>
327
328 <listitem>
329 <para>Import the given cuesheet file and store it in a
330 CUESHEET metadata block. This option may only be used
331 when encoding a single file. A seekpoint will be added
332 for each index point in the cuesheet to the SEEKTABLE
333 unless --no-cued-seekpoints is specified.</para>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry>
Josh Coalsonba03ad12001-06-27 06:48:34 +0000338 <term><option>--sector-align</option></term>
339
340 <listitem>
341 <para>Align encoding of multiple CD format WAVE
342 files on sector boundaries. See the HTML
343 documentation for more information.</para>
Josh Coalson490c2872001-01-31 02:07:24 +0000344 </listitem>
345 </varlistentry>
346
347 <varlistentry>
Josh Coalson0dad1632002-11-07 05:06:36 +0000348 <term><option>-S</option> {<replaceable>#</replaceable>|<replaceable>X</replaceable>|<replaceable>#x</replaceable>|<replaceable>#s</replaceable>}, <option>--seekpoint</option>={<replaceable>#</replaceable>|<replaceable>X</replaceable>|<replaceable>#x</replaceable>|<replaceable>#s</replaceable>}</term>
Josh Coalsona8b35a92001-04-16 23:24:03 +0000349
350 <listitem>
351 <para>
352 Include a point or points in a SEEKTABLE. Using #,
353 a seek point at that sample number is added. Using
354 X, a placeholder point is added at the end of a the
355 table. Using #x, # evenly spaced seek points will
Josh Coalson0dad1632002-11-07 05:06:36 +0000356 be added, the first being at sample 0. Using #s, a
357 seekpoint will be added every # seconds (# does not
358 have to be a whole number; it can be, for example, 9.5,
359 meaning a seekpoint every 9.5 seconds). You may use
Josh Coalsona8b35a92001-04-16 23:24:03 +0000360 many -S options; the resulting SEEKTABLE will be the
361 unique-ified union of all such values. With no -S
Josh Coalson1ce20b62002-10-23 22:18:37 +0000362 options, flac defaults to '-S 100x'. Use --no-seektable
Josh Coalson0dad1632002-11-07 05:06:36 +0000363 for no SEEKTABLE. Note: '-S #x' and '-S #s' will not
364 work if the encoder can't determine the input size before
Josh Coalsona8b35a92001-04-16 23:24:03 +0000365 starting. Note: if you use '-S #' and # is >=
366 samples in the input, there will be either no seek
367 point entered (if the input size is determinable
368 before encoding starts) or a placeholder point (if
Josh Coalsonba03ad12001-06-27 06:48:34 +0000369 input size is not determinable).</para>
Josh Coalsona8b35a92001-04-16 23:24:03 +0000370 </listitem>
371 </varlistentry>
372
373 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000374 <term><option>-P</option> <replaceable>#</replaceable>, <option>--padding</option>=<replaceable>#</replaceable></term>
Josh Coalsonbd85fd62001-02-23 21:26:05 +0000375
376 <listitem>
377 <para>Tell the encoder to write a PADDING metadata
378 block of the given length (in bytes) after the
Josh Coalson7186ae62002-05-17 06:11:49 +0000379 STREAMINFO block. This is useful if you plan to
380 tag the file later with an APPLICATION block;
Josh Coalsonbd85fd62001-02-23 21:26:05 +0000381 instead of having to rewrite the entire file later
382 just to insert your block, you can write directly
Josh Coalson7186ae62002-05-17 06:11:49 +0000383 over the PADDING block. Note that the total length
384 of the PADDING block will be 4 bytes longer than
385 the length given because of the 4 metadata block
386 header bytes. You can force no PADDING block at
Josh Coalson1ce20b62002-10-23 22:18:37 +0000387 all to be written with --no-padding, which is the
388 default.</para>
Josh Coalsonbd85fd62001-02-23 21:26:05 +0000389 </listitem>
390 </varlistentry>
391
392 <varlistentry>
Josh Coalsonf3911322002-09-20 05:53:10 +0000393 <term><option>-T</option> <replaceable>FIELD=VALUE</replaceable>, <option>--tag</option>=<replaceable>FIELD=VALUE</replaceable></term>
394
395 <listitem>
396 <para>Add a Vorbis comment. The comment must adhere
397 to the Vorbis comment spec; i.e. the FIELD must
398 contain only legal characters, terminated by an
399 'equals' sign. Make sure to quote the comment if
400 necessary. This option may appear more than once
401 to add several comments. NOTE: all tags will be
402 added to all encoded files.</para>
403 </listitem>
404 </varlistentry>
405
406 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000407 <term><option>-b</option> <replaceable>#</replaceable>, <option>--blocksize</option>=<replaceable>#</replaceable></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000408
409 <listitem>
Josh Coalsone6eff862002-08-13 21:18:27 +0000410 <para>Specify the block size in samples. The
411 default is 1152 for -l 0, else 4608; must be one of
412 192, 576, 1152, 2304, 4608, 256, 512, 1024, 2048,
413 4096, 8192, 16384, or 32768 (unless --lax is used)</para>
Josh Coalson490c2872001-01-31 02:07:24 +0000414 </listitem>
415 </varlistentry>
416
417 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000418 <term><option>-m</option>, <option>--mid-side</option></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000419
420 <listitem>
421 <para>Try mid-side coding for each frame (stereo
422 input only)</para>
423 </listitem>
424 </varlistentry>
425
426 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000427 <term><option>-M</option>, <option>--adaptive-mid-side</option></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000428
429 <listitem>
Josh Coalsone6eff862002-08-13 21:18:27 +0000430 <para>Adaptive mid-side coding for all frames (stereo
Josh Coalson490c2872001-01-31 02:07:24 +0000431 input only)</para>
432 </listitem>
433 </varlistentry>
434
435 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000436 <term><option>-0</option>..<option>-8</option>, <option>--compression-level-0</option>..<option>--compression-level-8</option></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000437
438 <listitem>
439 <para>Fastest compression..highest compression
Josh Coalsona68345b2001-06-05 23:54:27 +0000440 (default is -5). These are synonyms for other
Josh Coalson490c2872001-01-31 02:07:24 +0000441 options:</para>
442
443 <variablelist>
444 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000445 <term><option>-0</option>, <option>--compression-level-0</option></term>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000446
Josh Coalson490c2872001-01-31 02:07:24 +0000447 <listitem>
Josh Coalsona68345b2001-06-05 23:54:27 +0000448 <para>Synonymous with -l 0 -b 1152 -r 2,2
449 </para>
Josh Coalson490c2872001-01-31 02:07:24 +0000450 </listitem>
451 </varlistentry>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000452
Josh Coalson490c2872001-01-31 02:07:24 +0000453 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000454 <term><option>-1</option>, <option>--compression-level-1</option></term>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000455
Josh Coalson490c2872001-01-31 02:07:24 +0000456 <listitem>
Josh Coalsona68345b2001-06-05 23:54:27 +0000457 <para>Synonymous with -l 0 -b 1152 -M -r 2,2
458 </para>
Josh Coalson490c2872001-01-31 02:07:24 +0000459 </listitem>
460 </varlistentry>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000461
Josh Coalson490c2872001-01-31 02:07:24 +0000462 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000463 <term><option>-2</option>, <option>--compression-level-2</option></term>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000464
Josh Coalson490c2872001-01-31 02:07:24 +0000465 <listitem>
Josh Coalsona68345b2001-06-05 23:54:27 +0000466 <para>Synonymous with -l 0 -b 1152 -m -r 3
467 </para>
Josh Coalson490c2872001-01-31 02:07:24 +0000468 </listitem>
469 </varlistentry>
470
471 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000472 <term><option>-3</option>, <option>--compression-level-3</option></term>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000473
Josh Coalson490c2872001-01-31 02:07:24 +0000474 <listitem>
Josh Coalsona68345b2001-06-05 23:54:27 +0000475 <para>Synonymous with -l 6 -b 4608 -r 3,3
476 </para>
Josh Coalson490c2872001-01-31 02:07:24 +0000477 </listitem>
478 </varlistentry>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000479
Josh Coalson490c2872001-01-31 02:07:24 +0000480 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000481 <term><option>-4</option>, <option>--compression-level-4</option></term>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000482
Josh Coalson490c2872001-01-31 02:07:24 +0000483 <listitem>
Josh Coalsona68345b2001-06-05 23:54:27 +0000484 <para>Synonymous with -l 8 -b 4608 -M -r 3,3
485 </para>
Josh Coalson490c2872001-01-31 02:07:24 +0000486 </listitem>
487 </varlistentry>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000488
Josh Coalson490c2872001-01-31 02:07:24 +0000489 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000490 <term><option>-5</option>, <option>--compression-level-5</option></term>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000491
Josh Coalson490c2872001-01-31 02:07:24 +0000492 <listitem>
Josh Coalsona68345b2001-06-05 23:54:27 +0000493 <para>Synonymous with -l 8 -b 4608 -m -r 3,3
494 </para>
Josh Coalson490c2872001-01-31 02:07:24 +0000495 </listitem>
496 </varlistentry>
497
498 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000499 <term><option>-6</option>, <option>--compression-level-6</option></term>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000500
Josh Coalson490c2872001-01-31 02:07:24 +0000501 <listitem>
Josh Coalsona68345b2001-06-05 23:54:27 +0000502 <para>Synonymous with -l 8 -b 4608 -m -r 4
503 </para>
Josh Coalson490c2872001-01-31 02:07:24 +0000504 </listitem>
505 </varlistentry>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000506
Josh Coalson490c2872001-01-31 02:07:24 +0000507 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000508 <term><option>-7</option>, <option>--compression-level-7</option></term>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000509
Josh Coalson490c2872001-01-31 02:07:24 +0000510 <listitem>
Josh Coalsona68345b2001-06-05 23:54:27 +0000511 <para>Synonymous with -l 8 -b 4608 -m -e -r 6
512 </para>
Josh Coalson490c2872001-01-31 02:07:24 +0000513 </listitem>
514 </varlistentry>
Josh Coalsona68345b2001-06-05 23:54:27 +0000515
Josh Coalson490c2872001-01-31 02:07:24 +0000516 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000517 <term><option>-8</option>, <option>--compression-level-8</option></term>
Josh Coalsona68345b2001-06-05 23:54:27 +0000518
Josh Coalson490c2872001-01-31 02:07:24 +0000519 <listitem>
Josh Coalsona68345b2001-06-05 23:54:27 +0000520 <para>Synonymous with -l 12 -b 4608 -m -e -r 6
521 </para>
Josh Coalson490c2872001-01-31 02:07:24 +0000522 </listitem>
523 </varlistentry>
Josh Coalson490c2872001-01-31 02:07:24 +0000524 </variablelist>
Josh Coalsoncd66fc02001-06-18 02:34:09 +0000525
Josh Coalson490c2872001-01-31 02:07:24 +0000526 </listitem>
527
Josh Coalson490c2872001-01-31 02:07:24 +0000528 </varlistentry>
529
530 <varlistentry>
Josh Coalson0ac0a2e2002-02-12 23:00:00 +0000531 <term><option>--fast</option></term>
532
533 <listitem>
534 <para>Fastest compression. Currently
535 synonymous with -0.</para>
536 </listitem>
537 </varlistentry>
538
539 <varlistentry>
540 <term><option>--best</option></term>
541
542 <listitem>
543 <para>Highest compression. Currently
544 synonymous with -8.</para>
545 </listitem>
546 </varlistentry>
547
548 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000549 <term><option>-e</option>, <option>--exhaustive-model-search</option></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000550
551 <listitem>
552 <para>Do exhaustive model search
553 (expensive!)</para>
554 </listitem>
555 </varlistentry>
556
557 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000558 <term><option>-l</option> <replaceable>#</replaceable>, <option>--max-lpc-order</option>=<replaceable>#</replaceable></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000559
560 <listitem>
Josh Coalsone6eff862002-08-13 21:18:27 +0000561 <para>Set the maximum LPC order; 0 means use only the fixed predictors</para>
Josh Coalson490c2872001-01-31 02:07:24 +0000562 </listitem>
563 </varlistentry>
564
565 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000566 <term><option>-p</option>, <option>--qlp-coeff-precision-search</option></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000567
568 <listitem>
569 <para>Do exhaustive search of LP coefficient
Josh Coalsone6eff862002-08-13 21:18:27 +0000570 quantization (expensive!). Overrides -q;
Josh Coalsone665f2d2001-02-08 00:29:58 +0000571 does nothing if using -l 0</para>
Josh Coalson490c2872001-01-31 02:07:24 +0000572 </listitem>
573 </varlistentry>
574
575 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000576 <term><option>-q</option> <replaceable>#</replaceable>, <option>--qlp-coeff-precision</option>=<replaceable>#</replaceable></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000577
578 <listitem>
579 <para>Precision of the quantized linear-predictor
580 coefficients, 0 => let encoder decide (min is 5,
581 default is 0)</para>
582 </listitem>
583 </varlistentry>
584
585 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000586 <term><option>-r</option> [<replaceable>#</replaceable>,]<replaceable>#</replaceable>, <option>--rice-partition-order</option>=[<replaceable>#</replaceable>,]<replaceable>#</replaceable></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000587
588 <listitem>
Josh Coalsona68345b2001-06-05 23:54:27 +0000589 <para>Set the [min,]max residual partition order
590 (0..16). min defaults to 0 if unspecified. Default
591 is -r 3,3.</para>
592 </listitem>
593 </varlistentry>
594
Josh Coalson490c2872001-01-31 02:07:24 +0000595 </variablelist>
596
597 </refsect2>
598 <refsect2>
599 <title>Format Options</title>
600
601 <variablelist>
602 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000603 <term><option>--endian</option>={<replaceable>big</replaceable>|<replaceable>little</replaceable>}</term>
Josh Coalson490c2872001-01-31 02:07:24 +0000604
605 <listitem>
Josh Coalsone6eff862002-08-13 21:18:27 +0000606 <para>Set the byte order for samples</para>
Josh Coalson490c2872001-01-31 02:07:24 +0000607 </listitem>
608 </varlistentry>
609
610 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000611 <term><option>--channels</option>=<replaceable>#</replaceable></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000612
613 <listitem>
614 <para>Set number of channels.</para>
615 </listitem>
616 </varlistentry>
617
618 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000619 <term><option>--bps</option>=<replaceable>#</replaceable></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000620
621 <listitem>
622 <para>Set bits per sample.</para>
623 </listitem>
624 </varlistentry>
625
626 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000627 <term><option>--sample-rate</option>=<replaceable>#</replaceable></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000628
629 <listitem>
630 <para>Set sample rate (in Hz).</para>
631 </listitem>
632 </varlistentry>
633
634 <varlistentry>
Josh Coalsone6eff862002-08-13 21:18:27 +0000635 <term><option>--sign</option>={<replaceable>signed</replaceable>|<replaceable>unsigned</replaceable>}</term>
Josh Coalson490c2872001-01-31 02:07:24 +0000636
637 <listitem>
Josh Coalsone6eff862002-08-13 21:18:27 +0000638 <para>Set the sign of samples (the default is signed).</para>
Josh Coalson490c2872001-01-31 02:07:24 +0000639 </listitem>
640 </varlistentry>
641
642 <varlistentry>
Josh Coalson99060562002-12-21 03:28:06 +0000643 <term><option>--force-aiff-format</option></term>
644
645 <listitem>
646 <para>Force the decoder to output AIFF format. This option
647 is not needed if the output filename (as set by -o) ends
648 with <filename>.aiff</filename>. Also, this option has no
649 effect when encoding since input AIFF is auto-detected.</para>
650 </listitem>
651 </varlistentry>
652
653 <varlistentry>
Josh Coalsoneb209032002-08-20 20:37:26 +0000654 <term><option>--force-raw-format</option></term>
Josh Coalson490c2872001-01-31 02:07:24 +0000655
656 <listitem>
Josh Coalsoneb209032002-08-20 20:37:26 +0000657 <para>Force input (when encoding) or output (when decoding)
658 to be treated as raw samples (even if filename ends
Josh Coalson490c2872001-01-31 02:07:24 +0000659 in <filename>.wav</filename>).</para>
660 </listitem>
661 </varlistentry>
662
Josh Coalson490c2872001-01-31 02:07:24 +0000663 </variablelist>
664 </refsect2>
665
Josh Coalsone6eff862002-08-13 21:18:27 +0000666 <refsect2>
667 <title>Negative Options</title>
668
669 <variablelist>
670 <varlistentry>
671 <term><option>--no-adaptive-mid-side</option></term>
672 <term><option>--no-decode-through-errors</option></term>
673 <term><option>--no-delete-input-file</option></term>
674 <term><option>--no-escape-coding</option></term>
675 <term><option>--no-exhaustive-model-search</option></term>
676 <term><option>--no-lax</option></term>
677 <term><option>--no-mid-side</option></term>
678 <term><option>--no-ogg</option></term>
679 <term><option>--no-padding</option></term>
680 <term><option>--no-qlp-coeff-precision-search</option></term>
681 <term><option>--no-residual-gnuplot</option></term>
682 <term><option>--no-residual-text</option></term>
683 <term><option>--no-sector-align</option></term>
684 <term><option>--no-seektable</option></term>
685 <term><option>--no-silent</option></term>
686 <term><option>--no-verify</option></term>
687 <listitem>
688 <para>These flags can be used to invert the sense
689 of the corresponding normal option.</para>
690 </listitem>
691 </varlistentry>
692 </variablelist>
693
694 </refsect2>
695
Josh Coalson490c2872001-01-31 02:07:24 +0000696 </refsect1>
697 <refsect1>
698 <title>SEE ALSO</title>
699
Josh Coalson99060562002-12-21 03:28:06 +0000700 <para>metaflac(1).</para>
701
Josh Coalson490c2872001-01-31 02:07:24 +0000702 <para>The programs are documented fully by HTML format
703 documentation, available in
704 <filename>/usr/share/doc/flac/html</filename> on
705 &debian; systems.</para>
706 </refsect1>
707 <refsect1>
708 <title>AUTHOR</title>
709
710 <para>This manual page was written by &dhusername; &dhemail; for
711 the &debian; system (but may be used by others).</para>
712
713 <!-- <para>Permission is granted to copy, distribute and/or modify
714 this document under the terms of the <acronym>GNU</acronym> Free
715 Documentation License, Version 1.1 or any later version
716 published by the Free Software Foundation; with no Invariant
717 Sections, no Front-Cover Texts and no Back-Cover Texts. A copy
718 of the license can be found under
719 <filename>/usr/share/common-licenses/FDL</filename>.</para> -->
720
721 </refsect1>
722 </refentry>
723
724 <!-- Keep this comment at the end of the file
725 Local variables:
726 mode: sgml
727 sgml-omittag:t
728 sgml-shorttag:t
729 sgml-minimize-attributes:nil
730 sgml-always-quote-attributes:t
731 sgml-indent-step:2
732 sgml-indent-data:t
733 sgml-parent-document:nil
734 sgml-default-dtd-file:nil
735 sgml-exposed-tags:nil
736 sgml-local-catalogs:nil
737 sgml-local-ecat-files:nil
738 End:
739 -->