Blame doc/html/documentation_tools_flac.html

Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
<html>
Packit 8f7830
<head>
Packit 8f7830
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
Packit 8f7830
	<meta name="author" content="Josh Coalson" />
Packit 8f7830
	<meta name="description" content="A free, open source codec for lossless audio compression and decompression" />
Packit 8f7830
	<meta name="keywords" content="free,lossless,audio,codec,encoder,decoder,compression,compressor,archival,archive,archiving,backup,music" />
Packit 8f7830
	<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
Packit 8f7830
	<link rel="stylesheet" type="text/css" href="flac.css" />
Packit 8f7830
	<title>FLAC - documentation</title>
Packit 8f7830
</head>
Packit 8f7830
Packit 8f7830
<body>
Packit 8f7830
Packit 8f7830
Packit 8f7830
	FLAC Logo
Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
	 home  |
Packit 8f7830
	 faq  |
Packit 8f7830
	 documentation  |
Packit 8f7830
	 developers  |
Packit 8f7830
	 changelog  |
Packit 8f7830
	 more
Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
Packit 8f7830
	
Packit 8f7830
		flac
Packit 8f7830
	
Packit 8f7830
	
Packit 8f7830
	
Packit 8f7830
		<font size="+1"><u>Table of Contents</u></font>
Packit 8f7830
		
    Packit 8f7830
    			
  • General Usage
  • Packit 8f7830
    			
  • Tutorial
  • Packit 8f7830
    			
  • General Options
  • Packit 8f7830
    			
  • Analysis Options
  • Packit 8f7830
    			
  • Decoding Options
  • Packit 8f7830
    			
  • Encoding Options
  • Packit 8f7830
    			
  • Format Options
  • Packit 8f7830
    			
  • Negative Options
  • Packit 8f7830
    			
  • Option Index
  • Packit 8f7830
    		
    Packit 8f7830
    		<font size="+1"><u>General Usage</u></font>
    Packit 8f7830
    		
    Packit 8f7830
    		flac is the command-line file encoder/decoder.  The encoder currently supports as input RIFF WAVE, Wave64, RF64, AIFF, FLAC or Ogg FLAC format, or raw interleaved samples.  The decoder currently can output to RIFF WAVE, Wave64, RF64, or AIFF format, or raw interleaved samples.  flac only supports linear PCM samples (in other words, no A-LAW, uLAW, etc.), and the input must be between 4 and 24 bits per sample.  This is not a limitation of the FLAC format, just the reference encoder/decoder.
    Packit 8f7830
    		
    Packit 8f7830
    		flac assumes that files ending in ".wav" or that have the RIFF WAVE header present are WAVE files, files ending in ".w64" or have the Wave64 header present are Wave64 files, files ending in ".rf64" or have the RF64 header present are RF64 files, files ending in ".aif" or ".aiff" or have the AIFF header present are AIFF files, and files ending in ".flac" or have the FLAC header present are FLAC files.  This assumption may be overridden with a command-line option.  It also assumes that files ending in ".oga" or ".ogg" or have the Ogg FLAC header present are Ogg FLAC files.  Other than this, flac makes no assumptions about file extensions, though the convention is that FLAC files have the extension ".flac" (or ".fla" on ancient "8.3" file systems like FAT-16).
    Packit 8f7830
    		
    Packit 8f7830
    		Before going into the full command-line description, a few other things help to sort it out: 1) flac encodes by default, so you must use -d to decode; 2) the options -0 .. -8 (or --fast and --best) that control the compression level actually are just synonyms for different groups of specific encoding options (described later) and you can get the same effect by using the same options; 3) flac behaves similarly to gzip in the way it handles input and output files.
    Packit 8f7830
    		
    Packit 8f7830
    		Skip to the tutorial below for examples of some common tasks.
    Packit 8f7830
    		
    Packit 8f7830
    		flac will be invoked one of four ways, depending on whether you are encoding, decoding, testing, or analyzing:
    Packit 8f7830
    		
      Packit 8f7830
      			
    • Packit 8f7830
      				Encoding: flac [<general-options>] [<format-options>] [<encoding options>] [inputfile [...]]
      Packit 8f7830
      			
      Packit 8f7830
      			
    • Packit 8f7830
      				Decoding: flac -d [<general-options>] [<format-options>] [<decoding options>]  [FLACfile [...]]
      Packit 8f7830
      			
      Packit 8f7830
      			
    • Packit 8f7830
      				Testing: flac -t [<general-options>] [FLACfile [...]]
      Packit 8f7830
      			
      Packit 8f7830
      			
    • Packit 8f7830
      				Analyzing: flac -a [<general-options>] [<analysis-options>] [FLACfile [...]]
      Packit 8f7830
      			
      Packit 8f7830
      		
      Packit 8f7830
      		In any case, if no inputfile is specified, stdin is assumed.  If only one inputfile is specified, it may be "-" for stdin.  When stdin is used as input, flac will write to stdout.  Otherwise flac will perform the desired operation on each input file to similarly named output files (meaning for encoding, the extension will be replaced with ".flac", or appended with ".flac" if the input file has no extension, and for decoding, the extension will be ".wav" for WAVE output and ".raw" for raw output).  The original file is not deleted unless --delete-input-file is specified.
      Packit 8f7830
      		
      Packit 8f7830
      		If you are encoding/decoding from stdin to a file, you should use the -o option like so:
      Packit 8f7830
      		
        Packit 8f7830
        			
      • Packit 8f7830
        				flac [options] -o outputfile
        Packit 8f7830
        			
        Packit 8f7830
        			
      • Packit 8f7830
        				flac -d [options] -o outputfile
        Packit 8f7830
        			
        Packit 8f7830
        			
        Packit 8f7830
        			which are better than:
        Packit 8f7830
        			
          Packit 8f7830
          			
        • Packit 8f7830
          				flac [options] > outputfile
          Packit 8f7830
          			
          Packit 8f7830
          			
        • Packit 8f7830
          				flac -d [options] > outputfile
          Packit 8f7830
          			
          Packit 8f7830
          		
          Packit 8f7830
          		since the former allows flac to seek backwards to write the STREAMINFO or RIFF WAVE header contents when necessary.
          Packit 8f7830
          		
          Packit 8f7830
          		Also, you can force output data to go to stdout using -c.
          Packit 8f7830
          		
          Packit 8f7830
          		To encode or decode files that start with a dash, use -- to signal the end of options, to keep the filenames themselves from being treated as options:
          Packit 8f7830
          		
            Packit 8f7830
            			
          • Packit 8f7830
            				flac -V -- -01-filename.wav
            Packit 8f7830
            			
            Packit 8f7830
            		
            Packit 8f7830
            		The encoding options affect the compression ratio and encoding speed.  The format options are used to tell flac the arrangement of samples if the input file (or output file when decoding) is a raw file.  If it is a RIFF WAVE, Wave64, RF64, or AIFF file the format options are not needed since they are read from the file's header.
            Packit 8f7830
            		
            Packit 8f7830
            		In test mode, flac 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.
            Packit 8f7830
            		
            Packit 8f7830
            		flac can also re-encode FLAC files.  In other words, you can specify a FLAC or Ogg FLAC file as an input to the encoder and it will decoder it and re-encode it according to the options you specify.  It will also preserve all the metadata unless you override it with other options (e.g. specifying new tags, seekpoints, cuesheet, padding, etc.).
            Packit 8f7830
            		
            Packit 8f7830
            		flac has been tuned so that the default settings yield a good speed vs. compression tradeoff for many kinds of input.  However, if you are looking to maximize the compression rate or speed, or want to use the full power of FLAC's metadata system, see About the FLAC Format.
            Packit 8f7830
            		
            Packit 8f7830
            Packit 8f7830
            		<font size="+1"><u>Tutorial</u></font>
            Packit 8f7830
            		
            Packit 8f7830
            		Some common encoding tasks using flac:
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac abc.wav</tt>
            Packit 8f7830
            		Encode <tt>abc.wav</tt> to <tt>abc.flac</tt> using the default compression setting.  <tt>abc.wav</tt> is not deleted.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac --delete-input-file abc.wav</tt>
            Packit 8f7830
            		Like above, except <tt>abc.wav</tt> is deleted if there were no errors.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac --delete-input-file -w abc.wav</tt>
            Packit 8f7830
            		Like above, except <tt>abc.wav</tt> is deleted if there were no errors or warnings.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac --best abc.wav</tt>
            Packit 8f7830
            		Encode <tt>abc.wav</tt> to <tt>abc.flac</tt> using the highest compression setting.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac --verify abc.wav</tt>
            Packit 8f7830
            		Encode <tt>abc.wav</tt> to <tt>abc.flac</tt> and internally decode <tt>abc.flac</tt> to make sure it matches <tt>abc.wav</tt>.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac -o my.flac abc.wav</tt>
            Packit 8f7830
            		Encode <tt>abc.wav</tt> to <tt>my.flac</tt>.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac -T "TITLE=Bohemian Rhapsody" -T "ARTIST=Queen" abc.wav</tt>
            Packit 8f7830
            		Encode <tt>abc.wav</tt> and add some tags at the same time to <tt>abc.flac</tt>.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac *.wav</tt>
            Packit 8f7830
            		Encode all .wav files in the current directory.  NOTE: Wildcards on Windows
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac abc.aiff</tt>
            Packit 8f7830
            		Encode <tt>abc.aiff</tt> to <tt>abc.flac</tt>.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac abc.rf64</tt>
            Packit 8f7830
            		Encode <tt>abc.rf64</tt> to <tt>abc.flac</tt>.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac abc.w64</tt>
            Packit 8f7830
            		Encode <tt>abc.w64</tt> to <tt>abc.flac</tt>.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac abc.flac --force</tt>
            Packit 8f7830
            		This one's a little tricky: notice that flac is in encode mode by default (you have to specify -d to decode) so this command actually recompresses <tt>abc.flac</tt> back to <tt>abc.flac</tt>.  --force is needed to make sure you really want to overwrite <tt>abc.flac</tt> with a new version.  Why would you want to do this?  It allows you to recompress an existing FLAC file with (usually) higher compression options or a newer version of FLAC and preserve all the metadata like tags too.
            Packit 8f7830
            		
            Packit 8f7830
            Packit 8f7830
            		Some common decoding tasks using flac:
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac -d abc.flac</tt>
            Packit 8f7830
            		Decode <tt>abc.flac</tt> to <tt>abc.wav</tt>.  <tt>abc.flac</tt> is not deleted.  NOTE: Without -d it means re-encode <tt>abc.flac</tt> to <tt>abc.flac</tt> (see above).
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac -d --force-aiff-format abc.flac</tt>
            Packit 8f7830
            		<tt>flac -d -o abc.aiff abc.flac</tt>
            Packit 8f7830
            		Two different ways of decoding <tt>abc.flac</tt> to <tt>abc.aiff</tt> (AIFF format).  <tt>abc.flac</tt> is not deleted.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac -d --force-rf64-format abc.flac</tt>
            Packit 8f7830
            		<tt>flac -d -o abc.rf64 abc.flac</tt>
            Packit 8f7830
            		Two different ways of decoding <tt>abc.flac</tt> to <tt>abc.rf64</tt> (RF64 format).  <tt>abc.flac</tt> is not deleted.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac -d --force-wave64-format abc.flac</tt>
            Packit 8f7830
            		<tt>flac -d -o abc.w64 abc.flac</tt>
            Packit 8f7830
            		Two different ways of decoding <tt>abc.flac</tt> to <tt>abc.w64</tt> (Wave64 format).  <tt>abc.flac</tt> is not deleted.
            Packit 8f7830
            		
            Packit 8f7830
            		<tt>flac -d -F abc.flac</tt>
            Packit 8f7830
            		Decode <tt>abc.flac</tt> to <tt>abc.wav</tt> and don't abort if errors are found (useful for recovering as much as possible from corrupted files).
            Packit 8f7830
            		
            Packit 8f7830
            		flac has many other useful options, described below.
            Packit 8f7830
            		
            Packit 8f7830
            Packit 8f7830
            		
            Packit 8f7830
            		
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					<font size="+1">General Options</font>
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					-v, --version
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Show the flac version number.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					-h, --help
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Show basic usage and a list of all options.  Running flac without arguments shows the short help screen by default.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					-H, --explain
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Show detailed explanation of usage and all options.  Running flac without arguments shows the short help screen by default.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					-d, --decode
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Decode (flac encodes by default).  flac will exit with an exit code of 1 (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 0.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					-t, --test
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Test (same as -d except no decoded file is written).  The exit codes are the same as in decode mode.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					-a, --analyze
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Analyze (same as -d 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.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					-c, --stdout
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Write output to stdout.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					-s, --silent
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Silent: do not show encoding/decoding statistics.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					--totally-silent
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Do not print anything of any kind, including warnings or errors.  The exit code will be the only way to determine successful completion.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					--no-utf8-convert
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Do not convert tags from local charset to UTF-8.  This is useful for scripts, and setting tags in situations where the locale is wrong.  This option must appear before any tag options!
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					-w, --warnings-as-errors
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Treat all warnings as errors (which cause flac to terminate with a non-zero exit code).
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					-f, --force
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Force overwriting of output files.  By default, flac warns that the output file already exists and continues to the next file.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					-o filename,
            --output-name=filename
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Force the output file name (usually flac just changes the extension).  May only be used when encoding a single file.  May not be used in conjunction with --output-prefix.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					--output-prefix=string
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Prefix each output file name with the given string.  This can be useful for encoding/decoding files to a different directory.  Make sure if your string is a path name that it ends with a trailing '/' slash.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					--delete-input-file
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Automatically delete the input file after a successful encode or decode.  If there was an error (including a verify error) the input file is left intact.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					--preserve-modtime
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					Output files have their timestamps/permissions set to match those of their inputs (this is default).  Use --no-preserve-modtime to make output files have the current time and default permissions.
            Packit 8f7830
            				
            Packit 8f7830
            			
            Packit 8f7830
            			
            Packit 8f7830
            				
            Packit 8f7830
            					
            Packit 8f7830
            					--keep-foreign-metadata
            Packit 8f7830
            				
            Packit 8f7830
            				
            Packit 8f7830
            					If encoding, save WAVE, Wave64, RF64, or AIFF non-audio chunks in FLAC metadata.  If decoding, restore any saved non-audio chunks from FLAC metadata when writing the decoded file.  Foreign metadata cannot be transcoded, e.g. WAVE chunks saved in a FLAC file cannot be restored when decoding to AIFF.  Input and output must be regular files (not stdin or stdout).
            Packit 8f7830
            Packit 8f7830
            					
            Packit 8f7830
            					Using this option for both encoding then decoding in most cases will yield the exact same WAVE file as the original, metadata and all.  Because there are multiple ways to represent the same data in WAVE, Wave64, RF64, and AIFF, there are currently a few corner cases where the restoration process may not match exactly (but could with some improvement).  The cases are:
            Packit 8f7830
            					
              Packit 8f7830
              						
            • The original WAVE/Wave64/RF64 had more than 2 channels and needed remapping to FLAC order
            • Packit 8f7830
              						
            • The original WAVE/Wave64/RF64 is not spec compliant, e.g. 20 bps in WAVEFORMATEX; restored file will still be a compliant WAVEFORMATEXTENSIBLE
            • Packit 8f7830
              						
            • Other weird corner cases where the "fmt" chunk is not exactly identical due to there being multiple ways to represent the same thing
            • Packit 8f7830
              						
            • The original AIFF is in AIFF-C form with compression type "sowt" or "NONE"; currently the restored file will always be in AIFF (uncompressed) form
            • Packit 8f7830
              					
              Packit 8f7830
              -->
              Packit 8f7830
              				
              Packit 8f7830
              			
              Packit 8f7830
              			
              Packit 8f7830
              				
              Packit 8f7830
              					
              Packit 8f7830
              					--skip={#|mm:ss.ss}
              --skip={#|mm:ss,ss}
              Packit 8f7830
              				
              Packit 8f7830
              				
              Packit 8f7830
              					Skip over the first # of samples of the input.  This works for both encoding and decoding, but not testing.  The alternative form mm:ss.ss can be used to specify minutes, seconds, and fractions of a second.
              Packit 8f7830
              					
              Packit 8f7830
              					Note that the use of either a dot or a comma depends on the locale used for the system.
              Packit 8f7830
              					
              Packit 8f7830
              					Examples:
              Packit 8f7830
              					
              Packit 8f7830
              					--skip=123 : skip the first 123 samples of the input
              Packit 8f7830
              					--skip=1:23.45 : skip the first 1 minute and 23.45 seconds of the input, with a locale using the point as decimal separator
              Packit 8f7830
              					--skip=1:23,45 : skip the first 1 minute and 23.45 seconds of the input, with a locale using the comma as decimal separator
              Packit 8f7830
              				
              Packit 8f7830
              			
              Packit 8f7830
              			
              Packit 8f7830
              				
              Packit 8f7830
              					
              Packit 8f7830
              					--until={#|[+|-]mm:ss.ss}
              --until={#|[+|-]mm:ss,ss}
              Packit 8f7830
              				
              Packit 8f7830
              				
              Packit 8f7830
              					Stop at the given sample number for each input file.  This works for both encoding and decoding, but not testing.  The given sample number is not included in the decoded output.  The alternative form mm:ss.ss can be used to specify minutes, seconds, and fractions of a second.  If a + sign is at the beginning, the --until point is relative to the --skip point.  If a - sign is at the beginning, the --until point is relative to end of the audio.
              Packit 8f7830
              					
              Packit 8f7830
              					Note that the use of either a dot or a comma depends on the locale used for the system.
              Packit 8f7830
              					
              Packit 8f7830
              					Examples:
              Packit 8f7830
              					
              Packit 8f7830
              					--until=123 : decode only the first 123 samples of the input (samples 0-122, stopping at 123)
              Packit 8f7830
              					--until=1:23.45 : decode only the first 1 minute and 23.45 seconds of the input
              Packit 8f7830
              					--until=1:23,45 : decode only the first 1 minute and 23.45 seconds of the input, if your locale setting uses a comma as decimal separator
              Packit 8f7830
              					--skip=1:00 --until=+1:23.45 : decode 1:00.00 to 2:23.45
              Packit 8f7830
              					--until=-1:23.45 : decode everything except the last 1 minute and 23.45 seconds
              Packit 8f7830
              					--until=-0:00 : decode until the end of the input (the same as not specifying --until)
              Packit 8f7830
              				
              Packit 8f7830
              			
              Packit 8f7830
              			
              Packit 8f7830
              				
              Packit 8f7830
              					
              Packit 8f7830
              					--ogg
              Packit 8f7830
              				
              Packit 8f7830
              				
              Packit 8f7830
              					When encoding, generate Ogg FLAC output instead of native FLAC.  Ogg FLAC streams are FLAC streams wrapped in an Ogg transport layer.  The resulting file should have an '.oga' extension and will still be decodable by flac.
              Packit 8f7830
              					
              Packit 8f7830
              					When decoding, force the input to be treated as Ogg FLAC.  This is useful when piping input from stdin or when the filename does not end in '.oga' or '.ogg'.
              Packit 8f7830
              					
              Packit 8f7830
              					NOTE: Ogg FLAC files created prior to flac 1.1.1 used an ad-hoc mapping and do not support seeking.  They should be decoded and re-encoded with flac 1.1.1 or later.
              Packit 8f7830
              				
              Packit 8f7830
              			
              Packit 8f7830
              			
              Packit 8f7830
              				
              Packit 8f7830
              					
              Packit 8f7830
              					--serial-number=#
              Packit 8f7830
              				
              Packit 8f7830
              				
              Packit 8f7830
              					When used with --ogg, specifies the serial number to use for the first Ogg FLAC stream, which is then incremented for each additional stream.  When encoding and no serial number is given, flac uses a random number for the first stream, then increments it for each additional stream.  When decoding and no number is given, flac uses the serial number of the first page.
              Packit 8f7830
              				
              Packit 8f7830
              			
              Packit 8f7830
              		
              Packit 8f7830
              		
              Packit 8f7830
              Packit 8f7830
              		
              Packit 8f7830
              Packit 8f7830
              		
              Packit 8f7830
              		
              Packit 8f7830
              			
              Packit 8f7830
              				
              Packit 8f7830
              					<font size="+1">Analysis Options</font>
              Packit 8f7830
              				
              Packit 8f7830
              			
              Packit 8f7830
              			
              Packit 8f7830
              				
              Packit 8f7830
              					
              Packit 8f7830
              					--residual-text
              Packit 8f7830
              				
              Packit 8f7830
              				
              Packit 8f7830
              					Includes the residual signal in the analysis file.  This will make the file very big, much larger than even the decoded file.
              Packit 8f7830
              				
              Packit 8f7830
              			
              Packit 8f7830
              			
              Packit 8f7830
              				
              Packit 8f7830
              					
              Packit 8f7830
              					--residual-gnuplot
              Packit 8f7830
              				
              Packit 8f7830
              				
              Packit 8f7830
              					Generates a gnuplot file for every subframe; each file will contain the residual distribution of the subframe.  This will create a lot of files.
              Packit 8f7830
              				
              Packit 8f7830
              			
              Packit 8f7830
              		
              Packit 8f7830
              		
              Packit 8f7830
              Packit 8f7830
              		
              Packit 8f7830
              Packit 8f7830
              		
              Packit 8f7830
              		
              Packit 8f7830
              			
              Packit 8f7830
              				
              Packit 8f7830
              					<font size="+1">Decoding Options</font>
              Packit 8f7830
              				
              Packit 8f7830
              			
              Packit 8f7830
              			
              Packit 8f7830
              				
              Packit 8f7830
              					
              Packit 8f7830
              					--cue=[#.#][-[#.#]]
              Packit 8f7830
              				
              Packit 8f7830
              				
              Packit 8f7830
              					Set the beginning and ending cuepoints to decode.  The optional first #.# is the track and index point at which decoding will start; the default is the beginning of the stream.  The optional second #.# is the track and index point at which decoding will end; the default is the end of the stream.  If the cuepoint does not exist, the closest one before it (for the start point) or after it (for the end point) will be used.  If those don't exist, the start of the stream (for the start point) or end of the stream (for the end point) will be used.  The cuepoints are merely translated into sample numbers then used as --skip and --until.
              Packit 8f7830
              					
              Packit 8f7830
              					Examples:
              Packit 8f7830
              					
              Packit 8f7830
              					--cue=- : decode the entire stream
              Packit 8f7830
              					--cue=4.1 : decode from track 4, index 1 to the end of the stream
              Packit 8f7830
              					--cue=4.1- : decode from track 4, index 1 to the end of the stream
              Packit 8f7830
              					--cue=-4.1 : decode from the beginning of the stream up to, but not including, track 4, index 1
              Packit 8f7830
              					--cue=2.1-2.4 : decode from track 2, index 1, up to, but not including, track 2, index 4
              Packit 8f7830
              					--cue=9.1-10.1 : decode from track 9 the way it would be played on a CD player; this works even if the CD has no 10th track.
              Packit 8f7830
              				
              Packit 8f7830
              			
              Packit 8f7830
              			
              Packit 8f7830
              				
              Packit 8f7830
              					
              Packit 8f7830
              					-F,
              --decode-through-errors
              Packit 8f7830
              				
              Packit 8f7830
              				
              Packit 8f7830
              					By default flac stops decoding with an error and removes the partially decoded file if it encounters a bitstream error.  With -F, errors are still printed but flac will continue decoding to completion.  Note that errors may cause the decoded audio to be missing some samples or have silent sections.
              Packit 8f7830
              				
              Packit 8f7830
              			
              Packit 8f7830
              			
              Packit 8f7830
              				
              Packit 8f7830
              					
              Packit 8f7830
              					--apply-replaygain-which-is-not-lossless[=<specification>]
              Packit 8f7830
              				
              Packit 8f7830
              				
              Packit 8f7830
              					Applies ReplayGain values while decoding.
              Packit 8f7830
              					
              Packit 8f7830
              					WARNING: THIS IS NOT LOSSLESS.  DECODED AUDIO WILL NOT BE IDENTICAL TO THE ORIGINAL WITH THIS OPTION.
              Packit 8f7830
              					
              Packit 8f7830
              					The equals sign and <specification> is optional.  If omitted, the default is 0aLn1.
              Packit 8f7830
              					
              Packit 8f7830
              					The <specification> is a shorthand notation for describing how to apply ReplayGain.  All components are optional but order is important.  '[]' means 'optional'.  '|' means 'or'.  '{}' means required.  The format is:
              Packit 8f7830
              					
              Packit 8f7830
              					  [<preamp>][a|t][l|L][n{0|1|2|3}]
              Packit 8f7830
              					
                Packit 8f7830
                						
              • Packit 8f7830
                							<preamp>
                Packit 8f7830
                								  A floating point number in dB.  This is added to the existing gain value.
                Packit 8f7830
                						
                Packit 8f7830
                						
              • Packit 8f7830
                							a|t
                Packit 8f7830
                								  Specify 'a' to use the album gain, or 't' to use the track gain.  If tags for the preferred kind (album/track) do not exist but tags for the other (track/album) do, those will be used instead.
                Packit 8f7830
                						
                Packit 8f7830
                						
              • Packit 8f7830
                							l|L
                Packit 8f7830
                								  Specify 'l' to peak-limit the output, so that the ReplayGain peak value is full-scale.  Specify 'L' to use a 6dB hard limiter that kicks in when the signal approaches full-scale.
                Packit 8f7830
                						
                Packit 8f7830
                						
              • Packit 8f7830
                							n{0|1|2|3}
                Packit 8f7830
                								  Specify the amount of noise shaping.  ReplayGain synthesis happens in floating point; the result is dithered before converting back to integer.  This quantization adds noise.  Noise shaping tries to move the noise where you won't hear it as much.  0 means no noise shaping, 1 means 'low', 2 means 'medium', 3 means 'high'.
                Packit 8f7830
                						
                Packit 8f7830
                					
                Packit 8f7830
                					For example, the default of 0aLn1 means 0dB preamp, use album gain, 6dB hard limit, low noise shaping.
                Packit 8f7830
                					
                Packit 8f7830
                					--apply-replaygain-which-is-not-lossless=3 means 3dB preamp, use album gain, no limiting, no noise shaping.
                Packit 8f7830
                					
                Packit 8f7830
                					flac uses the ReplayGain tags for the calculation.  If a stream does not have the required tags or they can't be parsed, decoding will continue with a warning, and no ReplayGain is applied to that stream.
                Packit 8f7830
                				
                Packit 8f7830
                			
                Packit 8f7830
                		
                Packit 8f7830
                		
                Packit 8f7830
                Packit 8f7830
                		
                Packit 8f7830
                Packit 8f7830
                		
                Packit 8f7830
                		
                Packit 8f7830
                			
                Packit 8f7830
                				
                Packit 8f7830
                					<font size="+1">Encoding Options</font>
                Packit 8f7830
                				
                Packit 8f7830
                			
                Packit 8f7830
                			
                Packit 8f7830
                				
                Packit 8f7830
                					
                Packit 8f7830
                					-V, --verify
                Packit 8f7830
                				
                Packit 8f7830
                				
                Packit 8f7830
                					Verify the encoding process.  With this option, flac 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.  -V increases the total encoding time but is guaranteed to catch any unforseen bug in the encoding process.
                Packit 8f7830
                				
                Packit 8f7830
                			
                Packit 8f7830
                			
                Packit 8f7830
                				
                Packit 8f7830
                					
                Packit 8f7830
                					--lax
                Packit 8f7830
                				
                Packit 8f7830
                				
                Packit 8f7830
                					Allow encoder to generate non-Subset files.  The resulting FLAC file may not be streamable or might have trouble being played in all players (especially hardware devices), so you should only use this option in combination with custom encoding options meant for archival.
                Packit 8f7830
                				
                Packit 8f7830
                			
                Packit 8f7830
                			
                Packit 8f7830
                				
                Packit 8f7830
                					
                Packit 8f7830
                					--replay-gain
                Packit 8f7830
                				
                Packit 8f7830
                				
                Packit 8f7830
                					Calculate ReplayGain values and store them as FLAC tags, similar to VorbisGain.  Title gains/peaks will be computed for each input file, and an album gain/peak will be computed for all files.  All input files must have the same resolution, sample rate, and number of channels.  Only mono and stereo files are allowed, and the sample rate must be one of 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, or 48 kHz.  Also note that this option may leave a few extra bytes in a PADDING block as the exact size of the tags is not known until all files are processed.
                Packit 8f7830
                					
                Packit 8f7830
                					Note that this option cannot be used when encoding to standard output (stdout).
                Packit 8f7830
                				
                Packit 8f7830
                			
                Packit 8f7830
                			
                Packit 8f7830
                				
                Packit 8f7830
                					
                Packit 8f7830
                					--cuesheet=FILENAME
                Packit 8f7830
                				
                Packit 8f7830
                				
                Packit 8f7830
                					Import the given cuesheet file and store it in a CUESHEET metadata block.  This option may only be used when encoding a single file.  A seekpoint will be added for each index point in the cuesheet to the SEEKTABLE unless --no-cued-seekpoints is specified.
                Packit 8f7830
                					
                Packit 8f7830
                					The cuesheet file must be of the sort written by CDRwin, CDRcue, EAC, etc.  See also cuesheet syntax.
                Packit 8f7830
                				
                Packit 8f7830
                			
                Packit 8f7830
                			
                Packit 8f7830
                				
                Packit 8f7830
                					
                Packit 8f7830
                					--picture={FILENAME|SPECIFICATION}
                Packit 8f7830
                				
                Packit 8f7830
                				
                Packit 8f7830
                					Import a picture and store it in a PICTURE metadata block.  More than one --picture command can be specified.  Either a filename for the picture file or a more complete specification form can be used.  The SPECIFICATION is a string whose parts are separated by | (pipe) characters.  Some parts may be left empty to invoke default values.  FILENAME is just shorthand for ||||FILENAME.  The format of SPECIFICATION is
                Packit 8f7830
                					
                Packit 8f7830
                					<tt>  [TYPE]|[MIME-TYPE]|[DESCRIPTION]|[WIDTHxHEIGHTxDEPTH[/COLORS]]|FILE</tt>
                Packit 8f7830
                					
                Packit 8f7830
                					TYPE is optional; it is a number from one of:
                Packit 8f7830
                					
                  Packit 8f7830
                  						
                • <tt>0: Other</tt>
                • Packit 8f7830
                  						
                • <tt>1: 32x32 pixels 'file icon' (PNG only)</tt>
                • Packit 8f7830
                  						
                • <tt>2: Other file icon</tt>
                • Packit 8f7830
                  						
                • <tt>3: Cover (front)</tt>
                • Packit 8f7830
                  						
                • <tt>4: Cover (back)</tt>
                • Packit 8f7830
                  						
                • <tt>5: Leaflet page</tt>
                • Packit 8f7830
                  						
                • <tt>6: Media (e.g. label side of CD)</tt>
                • Packit 8f7830
                  						
                • <tt>7: Lead artist/lead performer/soloist</tt>
                • Packit 8f7830
                  						
                • <tt>8: Artist/performer</tt>
                • Packit 8f7830
                  						
                • <tt>9: Conductor</tt>
                • Packit 8f7830
                  						
                • <tt>10: Band/Orchestra</tt>
                • Packit 8f7830
                  						
                • <tt>11: Composer</tt>
                • Packit 8f7830
                  						
                • <tt>12: Lyricist/text writer</tt>
                • Packit 8f7830
                  						
                • <tt>13: Recording Location</tt>
                • Packit 8f7830
                  						
                • <tt>14: During recording</tt>
                • Packit 8f7830
                  						
                • <tt>15: During performance</tt>
                • Packit 8f7830
                  						
                • <tt>16: Movie/video screen capture</tt>
                • Packit 8f7830
                  						
                • <tt>17: A bright coloured fish</tt>
                • Packit 8f7830
                  						
                • <tt>18: Illustration</tt>
                • Packit 8f7830
                  						
                • <tt>19: Band/artist logotype</tt>
                • Packit 8f7830
                  						
                • <tt>20: Publisher/Studio logotype</tt>
                • Packit 8f7830
                  					
                  Packit 8f7830
                  					The default is 3 (front cover).  There may only be one picture each of type 1 and 2 in a file.
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					MIME-TYPE is optional; if left blank, it will be detected from the file.  For best compatibility with players, use pictures with MIME type <tt>image/jpeg</tt> or <tt>image/png</tt>.  The MIME type can also be --> to mean that FILE is actually a URL to an image, though this use is discouraged.
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					DESCRIPTION is optional; the default is an empty string.
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					The next part specfies the resolution and color information.  If the MIME-TYPE is <tt>image/jpeg</tt>, <tt>image/png</tt>, or <tt>image/gif</tt>, you can usually leave this empty and they can be detected from the file.  Otherwise, you must specify the width in pixels, height in pixels, and color depth in bits-per-pixel.  If the image has indexed colors you should also specify the number of colors used.  When manually specified, it is not checked against the file for accuracy.
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					FILE is the path to the picture file to be imported, or the URL if MIME type is -->
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					For example, the specification |image/jpeg|||../cover.jpg will embed the JPEG file at <tt>../cover.jpg</tt>, defaulting to type 3 (front cover) and an empty description.  The resolution and color info will be retrieved from the file itself.
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					The specification 4|-->|CD|320x300x24/173|http://blah.blah/backcover.tiff will embed the given URL, with type 4 (back cover), description "CD", and a manually specified resolution of 320x300, 24 bits-per-pixel, and 173 colors.  The file at the URL will not be fetched; the URL itself is stored in the PICTURE metadata block.
                  Packit 8f7830
                  				
                  Packit 8f7830
                  			
                  Packit 8f7830
                  			
                  Packit 8f7830
                  				
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					--sector-align
                  Packit 8f7830
                  				
                  Packit 8f7830
                  				
                  Packit 8f7830
                  					Align encoding of multiple CD format files on sector boundaries.  This option is only allowed when encoding files all of which have a 44.1kHz sample rate and 2 channels.  With --sector-align, the encoder will align the resulting .flac streams so that their lengths are even multiples of a CD sector (1/75th of a second, or 588 samples).  It does this by carrying over any partial sector at the end of each file to the next stream.  The last stream will be padded to alignment with zeroes.
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					This option will have no effect if the files are already aligned (as is the normally the case with WAVE files ripped from a CD).  flac can only align a set of files given in one invocation of flac.
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					WARNING: The ordering of files is important!  If you give a command like 'flac --sector-align *.wav' the shell may not expand the wildcard to the order you expect.  To be safe you should 'echo *.wav' first to confirm the order, or be explicit like 'flac --sector-align 8.wav 9.wav 10.wav'.
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					NOTE:This option is DEPRECATED and may not exist in future version of flac.  shntool provides similar functionality.
                  Packit 8f7830
                  				
                  Packit 8f7830
                  			
                  Packit 8f7830
                  			
                  Packit 8f7830
                  				
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					--ignore-chunk-sizes
                  Packit 8f7830
                  				
                  Packit 8f7830
                  				
                  Packit 8f7830
                  					When encoding to flac, ignore the file size headers in WAV and AIFF files to attempt to work around problems with over-sized or malformed files.
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					WAV and AIFF files both have an unsigned 32 bit numbers in the file header which specifes the length of audio data. Since this number is unsigned 32 bits, that limits the size of a valid file to being just over 4 Gigabytes. Files larger than this are mal-formed, but should be read correctly using this option. 
                  Packit 8f7830
                  					
                  Packit 8f7830
                  				
                  Packit 8f7830
                  			
                  Packit 8f7830
                  			
                  Packit 8f7830
                  				
                  Packit 8f7830
                  					
                  Packit 8f7830
                  					-S {#|X|#x|#s},
                  --seekpoint={#|X|#x|#s}
                  Packit 8f7830
                  				
                  Packit 8f7830
                  				
                  Packit 8f7830
                  					Include a point or points in a SEEKTABLE:
                  Packit 8f7830
                  					
                    Packit 8f7830
                    					
                  • Packit 8f7830
                    						 : a specific sample number for a seek point
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					
                  • Packit 8f7830
                    						 : a placeholder point (always goes at the end of the SEEKTABLE)
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					
                  • Packit 8f7830
                    						#x : # evenly spaced seekpoints, the first being at sample 0
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					
                  • Packit 8f7830
                    						#s : a seekpoint every # seconds; # does not have to be a whole number, it can be, for example, 9.5, meaning a seekpoint every 9.5 seconds
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					You may use many -S options; the resulting SEEKTABLE will be the unique-ified union of all such values.
                    Packit 8f7830
                    					With no -S options, flac defaults to '-S 10s'.  Use --no-seektable for no SEEKTABLE.
                    Packit 8f7830
                    					NOTE: -S #x and -S #s will not work if the encoder can't determine the input size before starting.
                    Packit 8f7830
                    					NOTE: if you use -S # and # is >= samples in the input, there will be either no seek point entered (if the input size is determinable before encoding starts) or a placeholder point (if input size is not determinable).
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-P #, --padding=#
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Tell the encoder to write a PADDING metadata block of the given length (in bytes) after the STREAMINFO block.  This is useful if you plan to tag the file later with an APPLICATION block; instead of having to rewrite the entire file later just to insert your block, you can write directly over the PADDING block.  Note that the total length of the PADDING block will be 4 bytes longer than the length given because of the 4 metadata block header bytes.  You can force no PADDING block at all to be written with --no-padding.  The encoder writes a PADDING block of 8192 bytes by default (or 65536 bytes if the input audio stream is more than 20 minutes long).
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-T FIELD=VALUE,
                    --tag=FIELD=VALUE
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Add a FLAC tag.  The comment must adhere to the Vorbis comment spec (which FLAC tags implement), i.e. the FIELD must contain only legal characters, terminated by an 'equals' sign.  Make sure to quote the comment if necessary.  This option may appear more than once to add several comments.  NOTE: all tags will be added to all encoded files.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--tag-from-file=FIELD=FILENAME
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Like --tag, except FILENAME is a file whose contents will be read verbatim to set the tag value.  The contents will be converted to UTF-8 from the local charset.  This can be used to store a cuesheet in a tag (e.g. --tag-from-file="CUESHEET=image.cue").  Do not try to store binary data in tag fields!  Use APPLICATION blocks for that.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-b #, --blocksize=#
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Specify the block size in samples.  Subset streams must use one of 192/576/1152/2304/4608/256/512/1024/2048/4096 (and 8192/16384 if the sample rate is >48kHz).  The reference encoder uses the same block size for the entire stream.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-m, --mid-side
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					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.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-M, --adaptive-mid-side
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Enable adaptive mid-side coding (only for stereo streams).  Like -m but the encoder adaptively switches between independent and mid-side coding, which is faster but yields less compression than -m (which does an exhaustive search).
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-0 .. -8
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Fastest compression .. highest compression.  The default is -5.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-0, --compression-level-0
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Synonymous with -l 0 -b 1152 -r 3
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-1, --compression-level-1
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Synonymous with -l 0 -b 1152 -M -r 3
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-2, --compression-level-2
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Synonymous with -l 0 -b 1152 -m -r 3
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-3, --compression-level-3
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Synonymous with -l 6 -b 4096 -r 4
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-4, --compression-level-4
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Synonymous with -l 8 -b 4096 -M -r 4
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-5, --compression-level-5
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Synonymous with -l 8 -b 4096 -m -r 5
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-6, --compression-level-6
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Synonymous with -l 8 -b 4096 -m -r 6 -A tukey(0.5);partial_tukey(2)
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-7, --compression-level-7
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Synonymous with -l 12 -b 4096 -m -r 6 -A tukey(0.5);partial_tukey(2)
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-8, --compression-level-8
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Synonymous with -l 12 -b 4096 -m -r 6 -A tukey(0.5);partial_tukey(2);punchout_tukey(3)
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--fast
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Fastest compression.  Currently synonymous with -0
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--best
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Highest compression.  Currently synonymous with -8
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-e,
                    --exhaustive-model-search
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					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%.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-A "function", --apodization="function"
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Window audio data with given the apodization function.  The functions are: bartlett, bartlett_hann, blackman, blackman_harris_4term_92db, connes, flattop, gauss(STDDEV), hamming, hann, kaiser_bessel, nuttall, rectangle, triangle, tukey(P), partial_tukey(n[/ov[/P]]), punchout_tukey(n[/ov[/P]]), welch.
                    Packit 8f7830
                    					For gauss(STDDEV), STDDEV is the standard deviation (0<STDDEV<=0.5).
                    Packit 8f7830
                    					For tukey(P), P specifies the fraction of the window that is tapered (0<=P<=1; P=0 corresponds to "rectangle" and P=1 corresponds to "hann").
                    Packit 8f7830
                    					For partial_tukey(n) and punchout_tukey(n), n apodization functions are added that span different parts of each block. Values of 2 to 6 seem to yield sane results. If necessary, an overlap can be specified, as can be the taper parameter, for example partial_tukey(2/0.2) or partial_tukey(2/0.2/0.5). ov should be smaller than 1 and can be negative.
                    Packit 8f7830
                    					Please note that P, STDDEV and ov are locale specific, so a comma as decimal separator might be required instead of a dot.
                    Packit 8f7830
                    					More than one -A option (up to 32) may be used.  Any function that is specified erroneously is silently dropped.  The encoder chooses suitable defaults in the absence of any -A options; any -A option specified replaces the default(s).
                    Packit 8f7830
                    					When more than one function is specified, then for every subframe the encoder will try each of them separately and choose the window that results in the smallest compressed subframe.  Multiple functions can greatly increase the encoding time.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-l #, --max-lpc-order=#
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Specifies the maximum LPC order.  This number must be <= 32.  For Subset streams, it must be <=12 if the sample rate is <=48kHz.  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.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-q #,
                    --qlp-coeff-precision=#
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Specifies the precision of the quantized LP coefficients, in bits.  The default is -q 0, 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.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-p,
                    --qlp-coeff-precision-search
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Do exhaustive LP coefficient quantization optimization.  This option overrides any -q option.  It is expensive and typically will only improve the compression a tiny fraction of a percent.  -q has no effect when -l 0 is used.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					-r [#,]#,
                    --rice-partition-order=[#,]#
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Set the [min,]max residual partition order.  The min value defaults to 0 if unspecified.
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					By default the encoder uses a single Rice parameter for the subframe's entire residual.  With this option, the residual is iteratively partitioned into 2^min# .. 2^max# pieces, each with its own Rice parameter.  Higher values of max# yield diminishing returns.  The most bang for the buck is usually with -r 2,2 (more for higher block sizes).  This usually shaves off about 1.5%.  The technique tends to peak out about when blocksize/(2^n)=128.  Use -r 0,15 to force the highest degree of optimization.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    		
                    Packit 8f7830
                    		
                    Packit 8f7830
                    Packit 8f7830
                    		
                    Packit 8f7830
                    Packit 8f7830
                    		
                    Packit 8f7830
                    		
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					<font size="+1">Format Options</font>
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--endian={big|little}
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Specify big-endian or little-endian byte order in the raw file.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--channels=#
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Specify the number of channels in the raw file.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--bps=#
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Specify the number of bits per sample in the raw file.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--sample-rate=#
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Specify the sample rate of the raw file.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--sign={signed|unsigned}
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Specify that the samples in the raw file are signed or unsigned (the default is signed).
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--input-size=#
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Specify the size of the raw input in bytes.  If you are encoding raw samples from stdin, you must set this option in order to be able to use --skip, --until, --cuesheet, or other options that need to know the size of the input beforehand.  If the size given is greater than what is found in the input stream, the encoder will complain about an unexpected end-of-file.  If the size given is less, samples will be truncated.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--force-raw-format
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Treat the input file (or output file if decoding) as a raw file, regardless of the extension.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--force-aiff-format
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Force the decoder to output AIFF format.  This option is not needed if the output filename (as set by -o) ends with .aif or .aiff.  Also, this option has no effect when encoding since input AIFF is auto-detected.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--force-rf64-format
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Force the decoder to output RF64 format.  This option is not needed if the output filename (as set by -o) ends with .rf64.  Also, this option has no effect when encoding since input RF64 is auto-detected.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					
                    Packit 8f7830
                    					--force-wave64-format
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Force the decoder to output Wave64 format.  This option is not needed if the output filename (as set by -o) ends with .w64.  Also, this option has no effect when encoding since input Wave64 is auto-detected.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    		
                    Packit 8f7830
                    		
                    Packit 8f7830
                    Packit 8f7830
                    		
                    Packit 8f7830
                    Packit 8f7830
                    		
                    Packit 8f7830
                    		
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					<font size="+1">Negative Options</font>
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					--no-adaptive-mid-side
                    Packit 8f7830
                    					--no-cued-seekpoints
                    Packit 8f7830
                    					--no-decode-through-errors
                    Packit 8f7830
                    					--no-delete-input-file
                    Packit 8f7830
                    					--no-escape-coding
                    Packit 8f7830
                    					--no-exhaustive-model-search
                    Packit 8f7830
                    					--no-ignore-chunk-sizes
                    Packit 8f7830
                    					--no-lax
                    Packit 8f7830
                    					--no-mid-side
                    Packit 8f7830
                    					--no-ogg
                    Packit 8f7830
                    					--no-padding
                    Packit 8f7830
                    					--no-preserve-modtime
                    Packit 8f7830
                    					--no-qlp-coeff-prec-search
                    Packit 8f7830
                    					--no-residual-gnuplot
                    Packit 8f7830
                    					--no-residual-text
                    Packit 8f7830
                    					--no-sector-align
                    Packit 8f7830
                    					--no-seektable
                    Packit 8f7830
                    					--no-silent
                    Packit 8f7830
                    					--no-verify
                    Packit 8f7830
                    					--no-warnings-as-errors
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				
                    Packit 8f7830
                    					Can all be used to turn off a particular option.
                    Packit 8f7830
                    				
                    Packit 8f7830
                    			
                    Packit 8f7830
                    		
                    Packit 8f7830
                    		
                    Packit 8f7830
                    Packit 8f7830
                    		
                    Packit 8f7830
                    		<font size="+1"><u>Option Index</u></font>
                    Packit 8f7830
                    		
                    Packit 8f7830
                    		-0
                    Packit 8f7830
                    		-1
                    Packit 8f7830
                    		-2
                    Packit 8f7830
                    		-3
                    Packit 8f7830
                    		-4
                    Packit 8f7830
                    		-5
                    Packit 8f7830
                    		-6
                    Packit 8f7830
                    		-7
                    Packit 8f7830
                    		-8
                    Packit 8f7830
                    		-A
                    Packit 8f7830
                    		-a
                    Packit 8f7830
                    		--adaptive-mid-side
                    Packit 8f7830
                    		--analyze
                    Packit 8f7830
                    		--apodization
                    Packit 8f7830
                    		--apply-replaygain-which-is-not-lossless
                    Packit 8f7830
                    		-b
                    Packit 8f7830
                    		--best
                    Packit 8f7830
                    		--blocksize
                    Packit 8f7830
                    		--bps
                    Packit 8f7830
                    		-c
                    Packit 8f7830
                    		--channels
                    Packit 8f7830
                    		--compression-level-0
                    Packit 8f7830
                    		--compression-level-1
                    Packit 8f7830
                    		--compression-level-2
                    Packit 8f7830
                    		--compression-level-3
                    Packit 8f7830
                    		--compression-level-4
                    Packit 8f7830
                    		--compression-level-5
                    Packit 8f7830
                    		--compression-level-6
                    Packit 8f7830
                    		--compression-level-7
                    Packit 8f7830
                    		--compression-level-8
                    Packit 8f7830
                    		--cue
                    Packit 8f7830
                    		--cuesheet
                    Packit 8f7830
                    		-d
                    Packit 8f7830
                    		--decode
                    Packit 8f7830
                    		--decode-through-errors
                    Packit 8f7830
                    		--delete-input-file
                    Packit 8f7830
                    		-e
                    Packit 8f7830
                    		--endian
                    Packit 8f7830
                    		--exhaustive-model-search
                    Packit 8f7830
                    		--explain
                    Packit 8f7830
                    		-F
                    Packit 8f7830
                    		-f
                    Packit 8f7830
                    		--fast
                    Packit 8f7830
                    		--force-raw-format
                    Packit 8f7830
                    		--force-aiff-format
                    Packit 8f7830
                    		--force-rf64-format
                    Packit 8f7830
                    		--force-wave64-format
                    Packit 8f7830
                    		--force
                    Packit 8f7830
                    		-H
                    Packit 8f7830
                    		-h
                    Packit 8f7830
                    		--help
                    Packit 8f7830
                    		--ignore-chunk-sizes
                    Packit 8f7830
                    		--input-size
                    Packit 8f7830
                    		--keep-foreign-metadata
                    Packit 8f7830
                    		-l
                    Packit 8f7830
                    		--lax
                    Packit 8f7830
                    		-M
                    Packit 8f7830
                    		-m
                    Packit 8f7830
                    		--max-lpc-order
                    Packit 8f7830
                    		--mid-side
                    Packit 8f7830
                    		--no-adaptive-mid-side
                    Packit 8f7830
                    		--no-cued-seekpoints
                    Packit 8f7830
                    		--no-decode-through-errors
                    Packit 8f7830
                    		--no-delete-input-file
                    Packit 8f7830
                    		--no-escape-coding
                    Packit 8f7830
                    		--no-exhaustive-model-search
                    Packit 8f7830
                    		--no-keep-foreign-metadata
                    Packit 8f7830
                    		--no-lax
                    Packit 8f7830
                    		--no-mid-side
                    Packit 8f7830
                    		--no-ogg
                    Packit 8f7830
                    		--no-padding
                    Packit 8f7830
                    		--no-preserve-modtime
                    Packit 8f7830
                    		--no-qlp-coeff-prec-search
                    Packit 8f7830
                    		--no-residual-gnuplot
                    Packit 8f7830
                    		--no-residual-text
                    Packit 8f7830
                    		--no-sector-align
                    Packit 8f7830
                    		--no-seektable
                    Packit 8f7830
                    		--no-silent
                    Packit 8f7830
                    		--no-verify
                    Packit 8f7830
                    		--no-warnings-as-errors
                    Packit 8f7830
                    		--no-utf8-convert
                    Packit 8f7830
                    		-o
                    Packit 8f7830
                    		--ogg
                    Packit 8f7830
                    		--output-name
                    Packit 8f7830
                    		--output-prefix
                    Packit 8f7830
                    		-P
                    Packit 8f7830
                    		-p
                    Packit 8f7830
                    		--padding
                    Packit 8f7830
                    		--picture
                    Packit 8f7830
                    		-q
                    Packit 8f7830
                    		--qlp-coeff-precision
                    Packit 8f7830
                    		--qlp-coeff-precision-search
                    Packit 8f7830
                    		-r
                    Packit 8f7830
                    		--replay-gain
                    Packit 8f7830
                    		--residual-gnuplot
                    Packit 8f7830
                    		--residual-text
                    Packit 8f7830
                    		--rice-partition-order
                    Packit 8f7830
                    		-S
                    Packit 8f7830
                    		-s
                    Packit 8f7830
                    		--sample-rate
                    Packit 8f7830
                    		--sector-align
                    Packit 8f7830
                    		--seekpoint
                    Packit 8f7830
                    		--serial-number
                    Packit 8f7830
                    		--sign
                    Packit 8f7830
                    		--silent
                    Packit 8f7830
                    		--skip
                    Packit 8f7830
                    		--stdout
                    Packit 8f7830
                    		-T
                    Packit 8f7830
                    		-t
                    Packit 8f7830
                    		--tag
                    Packit 8f7830
                    		--tag-from-file
                    Packit 8f7830
                    		--test
                    Packit 8f7830
                    		--totally-silent
                    Packit 8f7830
                    		--until
                    Packit 8f7830
                    		-V
                    Packit 8f7830
                    		-v
                    Packit 8f7830
                    		--verify
                    Packit 8f7830
                    		-w
                    Packit 8f7830
                    		--warnings-as-errors
                    Packit 8f7830
                    		--version
                    Packit 8f7830
                    Packit 8f7830
                    	
                    Packit 8f7830
                    	
                    Packit 8f7830
                    Packit 8f7830
                    Packit 8f7830
                    Packit 8f7830
                    Packit 8f7830
                    	
                    Packit 8f7830
                    	
                    Packit 8f7830
                    		
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				Copyright (c) 2000-2009  Josh Coalson
                    Packit 8f7830
                    				
                    Packit 8f7830
                    				Copyright (c) 2011-2016  Xiph.Org Foundation
                    Packit 8f7830
                    			
                    Packit 8f7830
                    			
                    Packit 8f7830
                    				Valid XHTML 1.0!
                    Packit 8f7830
                    			
                    Packit 8f7830
                    		
                    Packit 8f7830
                    	
                    Packit 8f7830
                    Packit 8f7830
                    Packit 8f7830
                    </body>
                    Packit 8f7830
                    </html>