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

📄 usage

📁 音频编码
💻
📖 第 1 页 / 共 2 页
字号:
=======================================================================Modes:=======================================================================-m m           mono-m s           stereo-m j           joint stereo-m f           forced mid/side stereo-m d           dual (independent) channels-m i           intensity stereo-m a           autoMONO is the default mode for mono input files.  If "-m m" is specifiedfor a stereo input file, the two channels will be averaged into a monosignal.  STEREOJOINT STEREO is the default mode for stereo files with fixed bitrates of128 kbps or less.  At higher fixed bitrates, the default is stereo.For VBR encoding, jstereo is the default for VBR_q >4, and stereois the default for VBR_q <=4.  You can override all of these defaultsby specifing the mode on the command line.  jstereo means the encoder can use (on a frame by frame bases) eitherregular stereo (just encode left and right channels independently)or mid/side stereo.  In mid/side stereo, the mid (L+R) and side (L-R)channels are encoded, and more bits are allocated to the mid channelthan the side channel.  This will effectively increase the bandwidthif the signal does not have too much stereo separation.  Mid/side stereo is basically a trick to increase bandwidth.  At 128 kbps,it is clearly worth while.  At higher bitrates it is less useful.For truly mono content, use -m m, which will automatically downsample your input file to mono.  This will produce 30% better resultsover -m j.  Using mid/side stereo inappropriately can result in audiblecompression artifacts.  To much switching between mid/side and regularstereo can also sound bad.  To determine when to switch to mid/sidestereo, LAME uses a much more sophisticated algorithm than thatdescribed in the ISO documentation.FORCED MID/SIDE STEREO forces all frames to be encoded mid/side stereo.  It should only be used if you are sure every frame of the input filehas very little stereo seperation.  DUAL CHANNELS   Not supported.INTENSITY STEREOAUTOAuto select should select (if input is stereo)          8 kbps   Mono     16- 96 kbps   Intensity Stereo (if available, otherwise Joint Stereo)    112-128 kbps   Joint Stereo -mj    160-192 kbps   -mj with variable mid/side threshold    224-320 kbps   Independent Stereo -ms=======================================================================MP3 input file=======================================================================--mp3inputAssume the input file is a MP3 file.  LAME will decode the input filebefore re-encoding it.  Since MP3 is a lossy format, this is not recommended in general.  But it is useful for creating low bitratemp3s from high bitrate mp3s.  If the filename ends in ".mp3" LAME will assumeit is an MP3.  For stdin or MP3 files which dont end in .mp3 you needto use this switch.=======================================================================disable historgram display=======================================================================--nohistBy default, LAME will display a bitrate histogram while producingVBR mp3 files.  This will disable that feature.=======================================================================disable ReplayGain analysis=======================================================================--noreplaygainBy default ReplayGain analysis is enabled. This switch disables it.See also: --replaygain-accurate, --replaygain-fast=======================================================================disable short blocks=======================================================================--noshortEncode all frames using long blocks.  NOT RECOMMENDED.  Fortesting purposes only.  =======================================================================non-original=======================================================================-o   mark the encoded file as a copy=======================================================================CRC error protection=======================================================================-p  turn on CRC error protection.  Yes this really does work correctly in LAME.  However, it takes 16 bits per frame that would otherwise be used for encoding.=======================================================================algorithm quality selection=======================================================================-q n  Bitrate is of course the main influence on quality.  The higher thebitrate, the higher the quality.  But for a given bitrate,we have a choice of algorithms to determine the bestscalefactors and huffman encoding (noise shaping).-q 0:  use slowest & best possible version of all algorithms.-q 2:  recommended.  Same as -h.  -q 0 and -q 1 are slow and may not produce        significantly higher quality.  -q 5:  default value.  Good speed, reasonable quality-q 7:  same as -f.  Very fast, ok quality.  (psycho acoustics are       used for pre-echo & M/S, but no noise shaping is done.  -q 9:  disables almost all algorithms including psy-model.  poor quality.=======================================================================input file is raw pcm=======================================================================-r  Assume the input file is raw pcm.  Sampling rate and mono/stereo/jstereomust be specified on the command line.  Without -r, LAME will performseveral fseek()'s on the input file looking for WAV and AIFF headers.Not supported if LAME is compiled to use LIBSNDFILE.=======================================================================slightly more accurate ReplayGain analysis and finding the peak sample=======================================================================--replaygain-accurateEnable decoding on the fly. Compute "Radio" ReplayGain on the decoded data stream. Find the peak sample of the decoded data stream and store it in the file.ReplayGain analysis does _not_ affect the content of a compressed datastream itself, it is a value stored in the header of a sound file. Information on the purpose of ReplayGain and the algorithms used is available from http://www.replaygain.org/By default, LAME performs ReplayGain analysis on the input data (afterthe user-specified volume scaling). This behaviour might give slightly inaccurate results because the data on the output of a lossy compression/decompression sequence differs from the initial input data. When --replaygain-accurate is specified the mp3 stream gets decoded onthe fly and the analysis is performed on the decoded data stream. Although theoretically this method gives more accurate results, it hasseveral disadvantages:  * tests have shown that the difference between the ReplayGain values     computed on the input data and decoded data is usually no greater     than 0.5dB, although the minimum volume difference the human ear     can perceive is about 1.0dB  * decoding on the fly significantly slows down the encoding processThe apparent advantage is that:  * with --replaygain-accurate the peak sample is determined and     stored in the file. The knowledge of the peak sample can be useful    to decoders (players) to prevent a negative effect called 'clipping'    that introduces distortion into sound.    Only the "Radio" ReplayGain value is computed. It is stored in the LAME tag. The analysis is performed with the reference volume equal to 89dB. Note: the reference volume has been changed from 83dB on transitionfrom version 3.95 to 3.95.1.This option is not usable if the MP3 decoder was _explicitly_ disabled in the build of LAME. (Note: if LAME is compiled without the MP3 decoder, ReplayGain analysis is performed on the input data after user-specified volume scaling).See also: --replaygain-fast, --noreplaygain, --clipdetect=======================================================================fast ReplayGain analysis=======================================================================--replaygain-fastCompute "Radio" ReplayGain of the input data stream after user-specifiedvolume scaling and/or resampling.ReplayGain analysis does _not_ affect the content of a compressed datastream itself, it is a value stored in the header of a sound file. Information on the purpose of ReplayGain and the algorithms used is available from http://www.replaygain.org/Only the "Radio" ReplayGain value is computed. It is stored in the LAME tag. The analysis is performed with the reference volume equal to 89dB. Note: the reference volume has been changed from 83dB on transitionfrom version 3.95 to 3.95.1.This switch is enabled by default.See also: --replaygain-accurate, --noreplaygain=======================================================================output sampling frequency in kHz=======================================================================--resample  nwhere n = 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48Output sampling frequency.  Resample the input if necessary.  If not specified, LAME may sometimes resample automatically when faced with extreme compression conditions (like encodinga 44.1 kHz input file at 32 kbps).  To disable this automaticresampling, you have to use --resamle to set the output samplerateequal to the inptu samplerate.  In that case, LAME will notperform any extra computations.=======================================================================sampling frequency in kHz=======================================================================-s  nwhere n = sampling rate in kHz.Required for raw PCM input files.  Otherwise it will be determinedfrom the header information in the input file.LAME will automatically resample the input file to one of thesupported MP3 samplerates if necessary.=======================================================================silent operation=======================================================================-Sdon't print progress report=======================================================================scale=======================================================================--scale <arg>Scales input by <arg>.  This just multiplies the PCM data(after it has been converted to floating point) by <arg>.  <arg> > 1:  increase volume<arg> = 1:  no effect<arg> < 1:  reduce volumeUse with care, since most MP3 decoders will truncate datawhich decodes to values greater than 32768.  =======================================================================strict ISO complience=======================================================================--strictly-enforce-ISO   With this option, LAME will enforce the 7680 bit limitation ontotal frame size.  This results in many wasted bits forhigh bitrate encodings.=======================================================================disable VBR tag=======================================================================-t              Disable writing of the VBR Tag (only valid if -v flag isspecified) This tag in embedded in frame 0 of the MP3 file.  It letsVBR aware players correctly seek and compute playing times of VBRfiles.When '--decode' is specified (decode mp3 to wav), this flag will disable writing the WAV header.  The output will be raw pcm,native endian format.  Use -x to swap bytes.=======================================================================variable bit rate  (VBR)=======================================================================-vTurn on VBR.  There are several ways you can use VBR.  I personallylike using VBR to get files slightly bigger than 128 kbps files, wherethe extra bits are used for the occasional difficult-to-encode frame.For this, try specifying a minimum bitrate to use with VBR:lame -v      -b 112  input.wav output.mp3If the file is too big, use -V n, where n = 0...9lame -v -V n -b 112  input.wav output.mp3If you want to use VBR to get the maximum compression possible,and for this, you can try:  lame -v  input.wav output.mp3lame -v -V n input.wav output.mp3         (to vary quality/filesize)=======================================================================VBR quality setting=======================================================================-V n       n = 0...9.  Specifies the value of VBR_q.default = 4,  highest quality = 0, smallest files = 9Using -V 5 or higher (lower quality) is NOT RECOMMENDED.  ABR will produce better results.  How is VBR_q used?The value of VBR_q influences two basic parameters of LAME's psychoacoustics: a) the absolute threshold of hearing b) the sample to noise ratioThe lower the VBR_q value the lower the injected quantization noisewill be. *NOTE* No psy-model is perfect, so there can often be distortion whichis audible even though the psy-model claims it is not!  Thus using asmall minimum bitrate can result in some aggressive compression andaudible distortion even with -V 0.  Thus using -V 0 does not soundbetter than a fixed 256 kbps encoding.  For example: suppose in the 1 kHzfrequency band the psy-model claims 20 dB of distortion will not bedetectable by the human ear, so LAME VBR-0 will compress thatfrequency band as much as possible and introduce at most 20 dB ofdistortion.  Using a fixed 256 kbps framesize, LAME could end upintroducing only 2 dB of distortion.  If the psy-model was correct,they will both sound the same.  If the psy-model was wrong, the VBR-0result can sound worse.=======================================================================voice encoding mode=======================================================================--voiceAn experimental voice encoding mode.  Tuned for 44.1 kHz input files.--voice is deprecated, use --preset voice instead=======================================================================swapbytes   =======================================================================-xswap bytes in the input file (and output file when using --decode).For sorting out little endian/big endian type problems.  If yourencodings sound like static, try this first.=======================================================================OS/2 process priority control   =======================================================================--priority <type>(OS/2 only)Sets the process priority for LAME while running under IBM OS/2.This can be very useful to avoid the system becoming slow and/orunresponsive. By setting LAME to run in a lower priority, you leavemore time for the system to update basic processing (drawing windows,polling keyboard/mouse, etc). The impact in LAME's performance is minimal if you use priority 0 to 2.The valid parameters are:     0 = Low priority (IDLE, delta = 0)     1 = Medium priority (IDLE, delta = +31)     2 = Regular priority (REGULAR, delta = -31)     3 = High priority (REGULAR, delta = 0)     4 = Maximum priority (REGULAR, delta = +31) Note that if you call '--priority' without a parameter, then priority 0 will be assumed.   

⌨️ 快捷键说明

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