⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flac.1

📁 tcpmp.src.0.72RC1 优秀的多媒体播放器TCPMP的源代码
💻 1
字号:
.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document.  This tool can be found at:.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng <steve@ggi-project.org>..TH "FLAC" "1" "02 February 2005" "" "".SH NAMEflac \- Free Lossless Audio Codec.SH SYNOPSIS\fBflac\fR [ \fB\fIoptions\fB\fR ] [ \fB\fIinfile.wav\fB\fR | \fB\fIinfile.aiff\fB\fR | \fB\fIinfile.raw\fB\fR | \fB-\fR\fI ...\fR ]\fBflac\fR [ \fB-d\fR | \fB--decode\fR | \fB-t\fR | \fB--test\fR | \fB-a\fR | \fB--analyze\fR ] [ \fB\fIOPTIONS\fB\fR ] [ \fB\fIinfile.flac\fB\fR\fI ...\fR ].SH "DESCRIPTION".PP\fBflac\fR is a command-line tool forencoding, decoding, testing and analyzing FLAC streams..PPThis manual page was originally written for the Debian GNU/Linuxdistribution because the original program did not have amanual page..SH "OPTIONS".PPA summary of options is included below.  For a completedescription, see the HTML documentation..SS "GENERAL OPTIONS".TP\fB-v, --version \fRShow the flac version number.TP\fB-h, --help \fRShow basic usage and a list of all options.TP\fB-H, --explain \fRShow detailed explanation of usage and all options.TP\fB-d, --decode \fRDecode (the default behavior is to encode).TP\fB-t, --test \fRTest a flac encoded file (same as -dexcept no decoded file is written).TP\fB-a, --analyze \fRAnalyze a FLAC encoded file (same as -dexcept an analysis file is written).TP\fB-c, --stdout \fRWrite output to stdout.TP\fB-s, --silent \fRSilent mode (do not write runtimeencode/decode statistics to stderr).TP\fB--totally-silent \fRDo not print anything of any kind,including warnings or errors.  The exitcode will be the only way to determinesuccessful completion..TP\fB-f, --force \fRForce overwriting of output files.  By default,flac warns that the output file already exists andcontinues to the next file..TP\fB-o \fIfilename\fB, --output-name=\fIfilename\fB\fRForce the output file name (usually flac justchanges the extension).  May only be used whenencoding a single file.  May not be used inconjunction with --output-prefix..TP\fB--output-prefix=\fIstring\fB\fRPrefix each output file name with the givenstring.  This can be useful for encoding or decodingfiles to a different directory.  Make sure if yourstring is a path name that it ends with a trailing`/' (slash)..TP\fB--delete-input-file \fRAutomatically delete the input file after asuccessful encode or decode.  If there was anerror (including a verify error) the input fileis left intact..TP\fB--skip={\fI#\fB|\fImm:ss.ss\fB}\fRSkip over the first number of samples of the input.This works for both encoding and decoding, but nottesting.  The alternative form mm:ss.ss can be usedto specify minutes, seconds, and fractions of asecond..TP\fB--until={\fI#\fB|[\fI+\fB|\fI-\fB]\fImm:ss.ss\fB}\fRStop 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 decodedoutput.  The alternative form mm:ss.ss can be used tospecify minutes, seconds, and fractions of a second.  If a`+' (plus) sign is at the beginning, the --until point isrelative to the --skip point.  If a `-' (minus) sign is atthe beginning, the --until point is relative to end of theaudio..TP\fB--ogg\fRWhen encoding, generate Ogg FLAC output insteadof native FLAC.  Ogg FLAC streams are FLAC streamswrapped in an Ogg transport layer.  The resultingfile should have an '.ogg' extension and will stillbe decodable by flac.When decoding, force the input to be treated asOgg FLAC.  This is useful when piping input fromstdin or when the filename does not end in '.ogg'..TP\fB--serial-number=\fI#\fB\fRWhen used with --ogg, specifies the serial number touse for the first Ogg FLAC stream, which is thenincremented for each additional stream.  When encoding andno serial number is given, flac uses a random number forthe first stream, then increments it for each additionalstream.  When decoding and no number is given, flac usesthe serial number of the first page..SS "ANALYSIS OPTIONS".TP\fB--residual-text \fRIncludes the residual signal in the analysisfile.  This will make the file very big, muchlarger than even the decoded file..TP\fB--residual-gnuplot \fRGenerates a gnuplot file for every subframe;each file will contain the residual distributionof the subframe.  This will create a lot offiles..SS "DECODING OPTIONS".TP\fB--cue=[\fI#.#\fB][-[\fI#.#\fB]]\fRSet the beginning and ending cuepoints to decode.The optional first #.# is the track and index point atwhich decoding will start; the default is the beginningof the stream.  The optional second #.# is the trackand index point at which decoding will end; the defaultis the end of the stream.  If the cuepoint does notexist, the closest one before it (for the start point)or after it (for the end point) will be used.  If thosedon't exist, the start of the stream (for the startpoint) or end of the stream (for the end point) will beused.  The cuepoints are merely translated into samplenumbers then used as --skip and --until..TP\fB-F, --decode-through-errors \fRBy default flac stops decoding with an errorand removes the partially decoded file if itencounters a bitstream error.  With -F, errors arestill printed but flac will continue decoding tocompletion.  Note that errors may cause the decodedaudio to be missing some samples or have silentsections..SS "ENCODING OPTIONS".TP\fB-V, --verify\fRVerify a correct encoding by decoding theoutput in parallel and comparing to theoriginal.TP\fB--lax\fRAllow encoder to generate non-Subsetfiles.  The resulting FLAC file may not bestreamable or might have trouble being playedin all players (especially hardware devices),so you should only use this option incombination with custom encoding options meantfor archival..TP\fB--replay-gain\fRCalculate ReplayGain values and store inVorbis comments, similar to vorbisgain.  Titlegains/peaks will be computed for each inputfile, and an album gain/peak will be computedfor all files.  All input files must have thesame resolution, sample rate, and number ofchannels.  Only mono and stereo files areallowed, and the sample rate must be one of8, 11.025, 12, 16, 22.05, 24, 32, 44.1, or 48kHz.  Also note that this option may leave afew extra bytes in a PADDING block as the exactsize of the tags is not known until all filesare processed.  Note that this option cannot beused when encoding to standard output (stdout)..TP\fB--cuesheet=\fIfilename\fB\fRImport the given cuesheet file and store it in aCUESHEET metadata block.  This option may only be usedwhen encoding a single file.  A seekpoint will be addedfor each index point in the cuesheet to the SEEKTABLEunless --no-cued-seekpoints is specified..TP\fB--sector-align\fRAlign encoding of multiple CD format WAVEfiles on sector boundaries.  See the HTMLdocumentation for more information..TP\fB-S {\fI#\fB|\fIX\fB|\fI#x\fB|\fI#s\fB}, --seekpoint={\fI#\fB|\fIX\fB|\fI#x\fB|\fI#s\fB}\fRInclude a point or points in a SEEKTABLE.  Using #,a seek point at that sample number is added.  UsingX, a placeholder point is added at the end of a thetable.  Using #x, # evenly spaced seek points willbe added, the first being at sample 0.  Using #s, aseekpoint will be added every # seconds (# does nothave to be a whole number; it can be, for example, 9.5,meaning a seekpoint every 9.5 seconds).  You may usemany -S options; the resulting SEEKTABLE will be theunique-ified union of all such values.  With no -Soptions, flac defaults to '-S 10s'.  Use --no-seektablefor no SEEKTABLE.  Note: '-S #x' and '-S #s' will notwork if the encoder can't determine the input size beforestarting.  Note: if you use '-S #' and # is >=samples in the input, there will be either no seekpoint entered (if the input size is determinablebefore encoding starts) or a placeholder point (ifinput size is not determinable)..TP\fB-P \fI#\fB, --padding=\fI#\fB\fRTell the encoder to write a PADDING metadatablock of the given length (in bytes) after theSTREAMINFO block.  This is useful if you plan totag the file later with an APPLICATION block;instead of having to rewrite the entire file laterjust to insert your block, you can write directlyover the PADDING block.  Note that the total lengthof the PADDING block will be 4 bytes longer thanthe length given because of the 4 metadata blockheader bytes.  You can force no PADDING block atall to be written with --no-padding.  The encoderwrites a PADDING block of 4096 bytes by default..TP\fB-T \fIFIELD=VALUE\fB, --tag=\fIFIELD=VALUE\fB\fRAdd a Vorbis comment.  The comment must adhereto the Vorbis comment spec; i.e. the FIELD mustcontain only legal characters, terminated by an\&'equals' sign.  Make sure to quote the comment ifnecessary.  This option may appear more than onceto add several comments.  NOTE: all tags will beadded to all encoded files..TP\fB-b \fI#\fB, --blocksize=\fI#\fB\fRSpecify the block size in samples.  Thedefault is 1152 for -l 0, else 4608; must be one of192, 576, 1152, 2304, 4608, 256, 512, 1024, 2048,4096, 8192, 16384, or 32768 (unless --lax is used).TP\fB-m, --mid-side\fRTry mid-side coding for each frame (stereoinput only).TP\fB-M, --adaptive-mid-side\fRAdaptive mid-side coding for all frames (stereoinput only).TP\fB-0..-8, --compression-level-0..--compression-level-8\fRFastest compression..highest compression(default is -5).  These are synonyms for otheroptions:.RS.TP\fB-0, --compression-level-0\fRSynonymous with -l 0 -b 1152 -r 2,2.TP\fB-1, --compression-level-1\fRSynonymous with -l 0 -b 1152 -M -r 2,2.TP\fB-2, --compression-level-2\fRSynonymous with -l 0 -b 1152 -m -r 3.TP\fB-3, --compression-level-3\fRSynonymous with -l 6 -b 4608 -r 3,3.TP\fB-4, --compression-level-4\fRSynonymous with -l 8 -b 4608 -M -r 3,3.TP\fB-5, --compression-level-5\fRSynonymous with -l 8 -b 4608 -m -r 3,3.TP\fB-6, --compression-level-6\fRSynonymous with -l 8 -b 4608 -m -r 4.TP\fB-7, --compression-level-7\fRSynonymous with -l 8 -b 4608 -m -e -r 6.TP\fB-8, --compression-level-8\fRSynonymous with -l 12 -b 4608 -m -e -r 6.RE.TP\fB--fast\fRFastest compression.  Currentlysynonymous with -0..TP\fB--best\fRHighest compression.  Currentlysynonymous with -8..TP\fB-e, --exhaustive-model-search\fRDo exhaustive model search(expensive!).TP\fB-l \fI#\fB, --max-lpc-order=\fI#\fB\fRSet the maximum LPC order; 0 means use only the fixed predictors.TP\fB-p, --qlp-coeff-precision-search\fRDo exhaustive search of LP coefficientquantization (expensive!).  Overrides -q;does nothing if using -l 0.TP\fB-q \fI#\fB, --qlp-coeff-precision=\fI#\fB\fRPrecision of the quantized linear-predictorcoefficients, 0 => let encoder decide (min is 5,default is 0).TP\fB-r [\fI#\fB,]\fI#\fB, --rice-partition-order=[\fI#\fB,]\fI#\fB\fRSet the [min,]max residual partition order(0..16). min defaults to 0 if unspecified.  Defaultis -r 3,3..SS "FORMAT OPTIONS".TP\fB--endian={\fIbig\fB|\fIlittle\fB}\fRSet the byte order for samples.TP\fB--channels=\fI#\fB\fRSet number of channels..TP\fB--bps=\fI#\fB\fRSet bits per sample..TP\fB--sample-rate=\fI#\fB\fRSet sample rate (in Hz)..TP\fB--sign={\fIsigned\fB|\fIunsigned\fB}\fRSet the sign of samples (the default is signed)..TP\fB--input-size=\fI#\fB\fRSpecify the size of the raw input in bytes.  If you areencoding raw samples from stdin, you must set this optionin order to be able to use --skip, --until, --cue-sheet, orother options that need to know the size of the inputbeforehand.  If the size given is greater than what isfound in the input stream, the encoder will complain aboutan unexpected end-of-file.  If the size given is less,samples will be truncated..TP\fB--force-aiff-format\fRForce the decoder to output AIFF format.  This optionis not needed if the output filename (as set by -o) endswith \fI.aiff\fR.  Also, this option has noeffect when encoding since input AIFF is auto-detected..TP\fB--force-raw-format\fRForce input (when encoding) or output (when decoding)to be treated as raw samples (even if filename endsin \fI.wav\fR)..SS "NEGATIVE OPTIONS".TP\fB--no-adaptive-mid-side\fR.TP\fB--no-decode-through-errors\fR.TP\fB--no-delete-input-file\fR.TP\fB--no-exhaustive-model-search\fR.TP\fB--no-lax\fR.TP\fB--no-mid-side\fR.TP\fB--no-ogg\fR.TP\fB--no-padding\fR.TP\fB--no-qlp-coeff-precision-search\fR.TP\fB--no-residual-gnuplot\fR.TP\fB--no-residual-text\fR.TP\fB--no-sector-align\fR.TP\fB--no-seektable\fR.TP\fB--no-silent\fR.TP\fB--no-verify\fRThese flags can be used to invert the senseof the corresponding normal option..SH "SEE ALSO".PPmetaflac(1)..PPThe programs are documented fully by HTML formatdocumentation, available in\fI/usr/share/doc/flac/html\fR onDebian GNU/Linux systems..SH "AUTHOR".PPThis manual page was written by Matt Zimmerman <mdz@debian.org> forthe Debian GNU/Linux system (but may be used by others).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -