change bug section
[flac.git] / doc / documentation.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <HTML>
3 <HEAD>
4         <TITLE>FLAC - documentation</TITLE>
5 </HEAD>
6
7 <BODY MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BGCOLOR="#99CC99" TEXT="#000000" LINK="#336699" VLINK="#336699" ALINK="#336699">
8
9 <TABLE BORDER=0 WIDTH="100%" CELLPADDING=1 CELLSPACING=0>
10         <TR>
11                 <TD ALIGN="CENTER" BGCOLOR="#000000"><A HREF="http://flac.sourceforge.net/"><IMG SRC="images/logo.jpg" ALIGN=CENTER ALT="FLAC Logo" BORDER=0 HSPACE=0></a></TD>
12         </TR>
13 </TABLE>
14
15 <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#99CC99"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="25" ALT=""></TD></TR></TABLE>
16
17 <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="2" ALT=""></TD></TR></TABLE>
18
19 <TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING=0 BORDER=0>
20         <TR>
21                 <TD ALIGN="CENTER" BGCOLOR="#D3D4C5">
22                         <TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
23                                 <TR>
24                                         <TD HEIGHT=22 BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="index.html">home</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
25                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="news.html">news</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
26                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="download.html">download</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
27                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="features.html">features</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
28                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="goals.html">goals</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
29                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="format.html">format</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
30                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="comparison.html">comparison</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
31                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;documentation&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
32                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="developers.html">developers</A>&nbsp;&nbsp;</TD>
33                                 </TR>
34                         </TABLE>
35                 </TD>
36         </TR>
37 </TABLE>
38
39 <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="2" ALT=""></TD></TR></TABLE>
40
41 <CENTER>
42
43 <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#99CC99"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="15" ALT=""></TD></TR></TABLE>
44
45
46 <TABLE WIDTH="100%" CELLPADDING="5" CELLSPACING="5" BORDER="0">
47 <TR><TD>
48         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
49         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#D3D4C5">
50                 <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
51                 <B><FONT SIZE="+2">documentation</FONT></B>
52                 </FONT></TD></TR>
53         </TABLE>
54         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
55         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#EEEED4">
56         <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
57         <P>
58                 This page describes the user-level view of the FLAC format (for a more detailed explanation see the <A HREF="format.html">format page</A>).  It also contains the user documentation for <B><TT>flac</TT></B>, which is the command-line file encoder/decoder, and the <A HREF="#plugins">input plugins</A>.
59         </P>
60         <P>
61                 Keep in mind that the online version of this document will always apply to the latest release.  For older releases, check the documentation included with the release package.
62         </P>
63         </FONT>
64         </TD></TR>
65         </TABLE>
66         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
67 </TD></TR>
68 </TABLE>
69
70
71 <TABLE WIDTH="100%" CELLPADDING="5" CELLSPACING="5" BORDER="0">
72 <TR><TD>
73         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
74         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#D3D4C5">
75                 <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
76                 <B><FONT SIZE="+2">format</FONT></B>
77                 </FONT></TD></TR>
78         </TABLE>
79         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
80         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#EEEED4">
81         <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
82         <P>
83                 See the <A HREF="format.html#scope">Scope</A>, <A HREF="format.html#architecture">Architecture</A>, <A HREF="format.html#definitions">Definitions</A>, and <A HREF="format.html#overview">Overview</A> sections of the <A HREF="format.html">format page</A> for a good introduction.  This section will be expanded in the future.
84         </P>
85         </FONT>
86         </TD></TR>
87         </TABLE>
88         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
89 </TD></TR>
90 </TABLE>
91
92
93 <TABLE WIDTH="100%" CELLPADDING="5" CELLSPACING="5" BORDER="0">
94 <TR><TD>
95         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
96         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#D3D4C5">
97                 <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
98                 <B><FONT SIZE="+2">flac</FONT></B>
99                 </FONT></TD></TR>
100         </TABLE>
101         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
102         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#EEEED4">
103         <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
104         <P>
105                 <B><TT>flac</TT></B> is the command-line file encoder/decoder.  The input to the encoder and the output to the decoder must either be RIFF WAVE format, or raw interleaved sample data.  <B><TT>flac</TT></B> only supports linear PCM samples (in other words, no A-LAW, uLAW, etc.).  Another restriction (hopefully short-term) is that the input must be 8 or 16 bits per sample.  This is not a limitation of the FLAC format, just the reference encoder.
106         </P>
107         <P>
108                 <B><TT>flac</TT></B> assumes that RIFF WAVE files will have the extension ".wav"; this may be overridden with a command-line option.  Other than this, <B><TT>flac</TT></B> makes no assumptions about file extensions, though the convention is that FLAC files have the extension ".flac" (or ".fla" on ancient file systems like FAT-16).
109         </P>
110         <P>
111                 Before going into the full command-line description, two other things help to sort it out: 1) <B><TT>flac</TT></B> encodes by default, so you must use <B>-d</B> to decode; 2) the options <B><TT>-0</TT></B> .. <B><TT>-9</TT></B> that control the compression level actually are just synonyms for different groups of specific coding options (described later).  You can get the same effect by using the same options.
112         </P>
113         <P>
114                 <B><TT>flac</TT></B> will be invoked one of four ways, depending on whether you are encoding, decoding, testing, or analyzing:
115                 <UL>
116                 <LI>
117                         Encoding: flac [-s] [--skip #] [&lt;format-options&gt;] [&lt;encoding options&gt;] inputfile outputfile
118                 </LI>
119                 <LI>
120                         Decoding: flac -d [-s] [--skip #] [&lt;format-options&gt;] inputfile outputfile
121                 </LI>
122                 <LI>
123                         Testing: flac -t [-s] inputfile
124                 </LI>
125                 <LI>
126                         Analyzing: flac -a [-s] [--skip #] inputfile outputfile
127                 </LI>
128                 </UL>
129         </P>
130         <P>
131                 In either case, inputfile may be "-" for stdin, and the outputfile "-" for stdout.  The encoding options affect the compression ratio and encoding speed.  The format options are used to tell <B><TT>flac</TT></B> the arrangement of samples if the input file (or output file when decoding) is a raw file.  If it is a RIFF WAVE file the format options are not needed since they are read from the WAVE header.
132         </P>
133         <P>
134                 In test mode, <B><TT>flac</TT></B> acts just like in decode mode, except no output file is written.  Both decode and test modes detect errors in the stream, but they also detect when the MD5 signature of the decoded audio does not match the stored MD5 signature, even when the bitstream is valid.
135         </P>
136         <P>
137         <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" BGCOLOR="#EEEED4"><TR><TD>
138         <TABLE WIDTH="100%" BORDER="1" BGCOLOR="#EEEED4">
139                 <TR>
140                         <TD COLSPAN="2" BGCOLOR="#D3D4C5">
141                                 <FONT SIZE="+1"><B>General Options</B></FONT>
142                         </TD>
143                 </TR>
144                 <TR>
145                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
146                                 -d
147                         </TD>
148                         <TD>
149                                 Decode (<B><TT>flac</TT></B> encodes by default).  <B><TT>flac</TT></B> will exit with an exit code of <TT>1</TT> (and print a message, even in silent mode) if there were any errors during decoding, including when the MD5 checksum does not match the decoded output.  Otherwise the exit code will be <TT>0</TT>.
150                         </TD>
151                 </TR>
152                 <TR>
153                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
154                                 -t
155                         </TD>
156                         <TD>
157                                 Test (same as <B><TT>-d</TT></B> except no decoded file is written).  The exit codes are the same as in decode mode.
158                         </TD>
159                 </TR>
160                 <TR>
161                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
162                                 -a
163                         </TD>
164                         <TD>
165                                 Analyze (same as <B><TT>-d</TT></B> except an analysis file is written).  The exit codes are the same as in decode mode.  This option is mainly for developers; the output will be a text file that has data about each frame and subframe.
166                         </TD>
167                 </TR>
168                 <TR>
169                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
170                                 -s
171                         </TD>
172                         <TD>
173                                 Silent: do not show encoding/decoding statistics.
174                         </TD>
175                 </TR>
176                 <TR>
177                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
178                                 --skip #
179                         </TD>
180                         <TD>
181                                 Skip over the first # of samples of the input.  This works for both encoding and decoding, but not testing.
182                         </TD>
183                 </TR>
184         </TABLE>
185         </TD></TR></TABLE>
186         </P>
187         <P>
188         <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" BGCOLOR="#EEEED4"><TR><TD>
189         <TABLE WIDTH="100%" BORDER="1" BGCOLOR="#EEEED4">
190                 <TR>
191                         <TD COLSPAN="2" BGCOLOR="#D3D4C5">
192                                 <FONT SIZE="+1"><B>Encoding Options</B></FONT>
193                         </TD>
194                 </TR>
195                 <TR>
196                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
197                                 --lax
198                         </TD>
199                         <TD>
200                                 Allow encoder to generate non-Subset files.  The resulting FLAC file may not be streamable, so you should only use this option in combination with custom encoding options meant for archival.  File decoders will still be able play (and seek in) such files.
201                         </TD>
202                 </TR>
203                 <TR>
204                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
205                                 -b #
206                         </TD>
207                         <TD>
208                                 Set the blocksize.  The default is 1152 for -l 0, otherwise 4608.  Subset streams must use one of 192/576/1152/2304/4608.  The current encoder uses the same blocksize for the entire stream.
209                         </TD>
210                 </TR>
211                 <TR>
212                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
213                                 -m
214                         </TD>
215                         <TD>
216                                 Enable mid-side coding (only for stereo streams).  Tends to increase compression by a few percent on average.  For each block both the stereo pair and mid-side versions of the block will be encoded, and smallest resulting frame will be stored.  Currently mid-side encoding is only available when bits-per-sample <= 16.
217                         </TD>
218                 </TR>
219                 <TR>
220                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
221                                 -M
222                         </TD>
223                         <TD>
224                                 Enable loose mid-side coding (only for stereo streams).  Like <TT>-m</TT> but the encoder adaptively switches between independent and mid-side coding, which is faster but yields less compression than <TT>-m</TT> (which does an exhaustive search).
225                         </TD>
226                 </TR>
227                 <TR>
228                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
229                                 -0 .. -9
230                         </TD>
231                         <TD>
232                                 Fastest compression .. highest compression.  The default is <TT>-6</TT>.
233                         </TD>
234                 </TR>
235                 <TR>
236                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
237                                 -0
238                         </TD>
239                         <TD>
240                                 Synonymous with -l 0
241                         </TD>
242                 </TR>
243                 <TR>
244                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
245                                 -1
246                         </TD>
247                         <TD>
248                                 Synonymous with -l 0 -M
249                         </TD>
250                 </TR>
251                 <TR>
252                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
253                                 -2
254                         </TD>
255                         <TD>
256                                 Synonymous with -l 0 -m -r # (where # is set based on the blocksize)
257                         </TD>
258                 </TR>
259                 <TR>
260                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
261                                 -3
262                         </TD>
263                         <TD>
264                                 Reserved
265                         </TD>
266                 </TR>
267                 <TR>
268                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
269                                 -4
270                         </TD>
271                         <TD>
272                                 Synonymous with -l 8
273                         </TD>
274                 </TR>
275                 <TR>
276                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
277                                 -5
278                         </TD>
279                         <TD>
280                                 Synonymous with -l 8 -M
281                         </TD>
282                 </TR>
283                 <TR>
284                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
285                                 -6
286                         </TD>
287                         <TD>
288                                 Synonymous with -l 8 -m -r # (where # is set based on the blocksize)
289                         </TD>
290                 </TR>
291                 <TR>
292                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
293                                 -7
294                         </TD>
295                         <TD>
296                                 Reserved
297                         </TD>
298                 </TR>
299                 <TR>
300                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
301                                 -8
302                         </TD>
303                         <TD>
304                                 Synonymous with -l 32 -m -r # (where # is set based on the blocksize)
305                         </TD>
306                 </TR>
307                 <TR>
308                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
309                                 -9
310                         </TD>
311                         <TD>
312                                 Synonymous with -l 32 -m -e -r 99 -p.  This is painfully slow but gives you the maximum compression <B><TT>flac</TT></B> can do for a given blocksize.
313                         </TD>
314                 </TR>
315                 <TR>
316                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
317                                 -e
318                         </TD>
319                         <TD>
320                                 Exhaustive model search (expensive!).  Normally the encoder estimates the best model to use and encodes once based on the estimate.  With an exhaustive model search, the encoder will generate subframes for every order and use the smallest.  If the max LPC order is high this can significantly increase the encode time but can shave off another 0.5%.
321                         </TD>
322                 </TR>
323                 <TR>
324                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
325                                 -l #
326                         </TD>
327                         <TD>
328                                 Specifies the maximum LPC order.  This number must be <= 32.  If 0, the encoder will not attempt generic linear prediction, and use only fixed predictors.  Using fixed predictors is faster but usually results in files being 5-10% larger.
329                         </TD>
330                 </TR>
331                 <TR>
332                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
333                                 -q #
334                         </TD>
335                         <TD>
336                                 Specifies the precision of the quantized LP coefficients, in bits.  The default is <B><TT>-q 0</TT></B>, which means let the encoder decide based on the signal.  Unless you really know your input file it's best to leave this up to the encoder.
337                         </TD>
338                 </TR>
339                 <TR>
340                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
341                                 -p
342                         </TD>
343                         <TD>
344                                 Do exhaustive LP coefficient quantization optimization.  This option overrides any <B><TT>-q</TT></B> option.  It is expensive and typically will only improve the compression a tiny fraction of a percent.
345                         </TD>
346                 </TR>
347                 <TR>
348                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
349                                 -r #
350                         </TD>
351                         <TD>
352                                 Do Rice parameter optimization.  By default the encoder uses a single Rice parameter for the subframe's entire residual.  With this option, the residual is partitioned into 2^n pieces, each with its own Rice parameter.  Higher values of n yield diminishing returns.  The most bang for the buck is usually with <B><TT>-r 2</TT></B> (more for higher blocksizes).  This usually shaves off another 1.5%.  The technique tends to peak out about when blocksize/(2^n)=128.  Use <B><TT>-r 99</TT></B> to force the highest degree of optimization.
353                         </TD>
354                 </TR>
355                 <TR>
356                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
357                                 -V
358                         </TD>
359                         <TD>
360                                 Verify the encoding process.  With this option, <B><TT>flac</TT></B> will create a parallel decoder that decodes the output of the encoder and compares the result against the original.  It will abort immediately with an error if a mismatch occurs.  <B><TT>-V</TT></B> increases the total encoding time but is guaranteed to catch any unforseen bug in the encoding process.
361                         </TD>
362                 </TR>
363                 <TR>
364                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
365                         </TD>
366                         <TD>
367                                 -m-, -e-, -p-, -V-, --lax- can all be used to turn off a particular option.
368                         </TD>
369                 </TR>
370         </TABLE>
371         </TD></TR></TABLE>
372         </P>
373         <P>
374         <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" BGCOLOR="#EEEED4"><TR><TD>
375         <TABLE WIDTH="100%" BORDER="1" BGCOLOR="#EEEED4">
376                 <TR>
377                         <TD COLSPAN="2" BGCOLOR="#D3D4C5">
378                                 <FONT SIZE="+1"><B>Format Options</B></FONT>
379                         </TD>
380                 </TR>
381                 <TR>
382                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
383                                 -fb | -fl
384                         </TD>
385                         <TD>
386                                 Specify big-endian | little-endian byte order in the raw file.
387                         </TD>
388                 </TR>
389                 <TR>
390                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
391                                 -fc #
392                         </TD>
393                         <TD>
394                                 Specify the number of channels in the raw file.
395                         </TD>
396                 </TR>
397                 <TR>
398                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
399                                 -fp #
400                         </TD>
401                         <TD>
402                                 Specify the number of bits per sample in the raw file.
403                         </TD>
404                 </TR>
405                 <TR>
406                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
407                                 -fs #
408                         </TD>
409                         <TD>
410                                 Specify the sample rate of the raw file.
411                         </TD>
412                 </TR>
413                 <TR>
414                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
415                                 -fu
416                         </TD>
417                         <TD>
418                                 Specify that the samples in the raw file are unsigned (the default is signed).
419                         </TD>
420                 </TR>
421                 <TR>
422                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
423                                 -fr
424                         </TD>
425                         <TD>
426                                 Treat the input file (or output file if decoding) as a raw file, regardless of the extension.
427                         </TD>
428                 </TR>
429                 <TR>
430                         <TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
431                                 -fw
432                         </TD>
433                         <TD>
434                                 Treat the input file (or output file if decoding) as a RIFF WAVE file, regardless of the extension.
435                         </TD>
436                 </TR>
437         </TABLE>
438         </TD></TR></TABLE>
439         </P>
440         </FONT>
441         </TD></TR>
442         </TABLE>
443         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
444 </TD></TR>
445 </TABLE>
446
447
448 <TABLE WIDTH="100%" CELLPADDING="5" CELLSPACING="5" BORDER="0">
449 <TR><TD>
450         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
451         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#D3D4C5">
452                 <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
453                 <A NAME="plugins"><B><FONT SIZE="+2">xmms plugin</FONT></B></A>
454                 </FONT></TD></TR>
455         </TABLE>
456         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
457         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#EEEED4">
458         <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
459         <P>
460                 All that is necessary is to copy <B><TT>libxmms-flac.so</TT></B> to the directory where XMMS looks for input plugins (usually <B><TT>/usr/lib/xmms/Input</TT></B>).  There is nothing else to configure.  Make sure to restart XMMS before trying to play any .flac files.
461         </P>
462         </FONT>
463         </TD></TR>
464         </TABLE>
465         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
466 </TD></TR>
467 </TABLE>
468
469
470 <TABLE WIDTH="100%" CELLPADDING="5" CELLSPACING="5" BORDER="0">
471 <TR><TD>
472         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
473         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#D3D4C5">
474                 <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
475                 <B><FONT SIZE="+2">winamp plugin</FONT></B>
476                 </FONT></TD></TR>
477         </TABLE>
478         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
479         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#EEEED4">
480         <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
481         <P>
482                 All that is necessary is to copy <B><TT>in_flac.dll</TT></B> to the <B><TT>Plugins/</TT></B> directory of your Winamp installation.  There is nothing else to configure.  Make sure to restart Winamp before trying to play any .flac files.
483         </P>
484         </FONT>
485         </TD></TR>
486         </TABLE>
487         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
488 </TD></TR>
489 </TABLE>
490
491
492 <TABLE WIDTH="100%" CELLPADDING="5" CELLSPACING="5" BORDER="0">
493 <TR><TD>
494         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
495         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#D3D4C5">
496                 <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
497                 <B><FONT SIZE="+2">known bugs</FONT></B>
498                 </FONT></TD></TR>
499         </TABLE>
500         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
501         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#EEEED4">
502         <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
503         <P>
504                 Bug tracking is done on the Sourceforge project page <A HREF="http://sourceforge.net/bugs/?group_id=13478">here</A>.
505         </P>
506         </FONT>
507         </TD></TR>
508         </TABLE>
509         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
510 </TD></TR>
511 </TABLE>
512
513
514 </CENTER>
515
516 </BODY>
517 </HTML>