home *** CD-ROM | disk | FTP | other *** search
/ Freelog Special Edition 19 / FreelogHS19.iso / MP3 / Audiograbber / lame-3.95.1 / USAGE < prev   
Text File  |  2004-01-10  |  28KB  |  804 lines

  1.  
  2. % lame [options] inputfile [outputfile]
  3.  
  4. For more options, just type:
  5. % lame --help
  6.  
  7.  
  8. =======================================================================
  9. Constant Bitrate Examples:
  10. =======================================================================
  11. fixed bit rate jstereo 128 kbps encoding:
  12. % lame sample.wav  sample.mp3      
  13.  
  14. fixed bit rate jstereo 128 kbps encoding, higher quality:  (recommended)
  15. % lame -h sample.wav  sample.mp3      
  16.  
  17. Fast encode, low quality  (no noise shaping)
  18. % lame -f sample.wav  sample.mp3     
  19.  
  20. =======================================================================
  21. Variable Bitrate Examples:
  22. =======================================================================
  23. LAME has two types of variable bitrate: ABR and VBR.
  24.  
  25. ABR is the type of variable bitrate encoding usually found in other
  26. MP3 encoders, Vorbis and AAC.  The number of bits is determined by
  27. some metric (like perceptual entropy, or just the number of bits
  28. needed for a certain set of encoding tables), and it is not based on
  29. computing the actual encoding/quantization error.  ABR should always
  30. give results equal or better than CBR:
  31.  
  32. ABR:   (--abr <x> means encode with an average bitrate of around x kbps)
  33. lame -h --abr 128  sample.wav sample.mp3
  34.  
  35.  
  36. VBR is a true variable bitrate mode which bases the number of bits for
  37. each frame on the measured quantization error relative to the
  38. estimated allowed masking.  VBR is currently under heavy development.
  39. It can on occasion result in too much compression, so it should be
  40. used with a minimum bitrate of 112 kbps.  This will let LAME increase
  41. the bitrate for difficult-to-encode frames, but prevent LAME from
  42. being too aggressive for simple frames:
  43.  
  44. Variable Bitrate (VBR): (use -V n to adjust quality/filesize)
  45. % lame -h -v -b 112 sample.wav sample.mp3
  46.  
  47.  
  48.  
  49. =======================================================================
  50. LOW BITRATES
  51. =======================================================================
  52. At lower bitrates, (like 24 kbps per channel), it is recommended that
  53. you use a 16 kHz sampling rate combined with lowpass filtering.  LAME,
  54. as well as commercial encoders (FhG, Xing) will do this automatically.
  55. However, if you feel there is too much (or not enough) lowpass
  56. filtering, you may need to try different values of the lowpass cutoff
  57. and passband width (--resample, --lowpass and --lowpass-width options).
  58.  
  59.  
  60. =======================================================================
  61. STREAMING EXAMPLES
  62. =======================================================================
  63.  
  64. % cat inputfile | lame [options] - - > output
  65.  
  66.  
  67.  
  68.  
  69. =======================================================================
  70. Scripts are included (in the 'misc' subdirectory)
  71. to run lame on multiple files:
  72.  
  73. bach script:  mlame     Run "mlame -?" for instructions.
  74. sh script:    auenc     Run auenc for instructions
  75. sh script:    mugeco.sh
  76.  
  77. Pearl script which will re-encode mp3 files and preserve id3 tags:
  78. lameid3.pl 
  79.  
  80. Windows scripts:
  81. lame4dos.bat  
  82. Lame.vbs   (and an HTML frontend: LameGUI.html)
  83.  
  84.  
  85. =======================================================================
  86. options guide:
  87. =======================================================================
  88. These options are explained in detail below.
  89.  
  90.  
  91. Quality related:
  92.  
  93. -m m/s/j/f/a   mode selection
  94. -k             disable all filtering
  95. -d             allow block types to differ between channels
  96. --athonly      ignore psy-model output, only use masking from the ATH
  97. --voice        (obsolete, try --preset voice instead)
  98. --noshort      disable short blocks
  99. -q n           Internal algorithm quality setting 0..9. 
  100.                0 = slowest algorithms, but potentially highest quality
  101.                9 = faster algorithms, very poor quality
  102. -h             same as -q2
  103. -f             same as -q7
  104.  
  105.  
  106. Constant Bit Rate (CBR)
  107. -b  n          set bitrate (8, 16, 24, ..., 320)
  108. --freeformat   produce a free format bitstream.  User must also specify
  109.                a bitrate with -b, between 8 and 640 kbps.
  110.  
  111. Variable Bit Rate (VBR)
  112. -v             VBR
  113. --vbr-old      use old variable bitrate (VBR) routine (default)
  114. --vbr-new      use new variable bitrate (VBR) routine
  115. -V n           VBR quality setting  (0=highest quality, 9=lowest)
  116. -b  n          specify a minimum allowed bitrate (8,16,24,...,320)
  117. -B  n          specify a maximum allowed bitrate (8,16,24,...,320)
  118. -F             strictly enforce minimum bitrate
  119. -t             disable VBR informational tag 
  120. --nohist       disable display of VBR bitrate histogram
  121.  
  122. --abr n        specify average bitrate desired
  123.  
  124.  
  125. Experimental (undocumented):  may work better or worse:
  126.  
  127. -X n           try different quality measures (when comparing quantizations)
  128. -Y             
  129. -Z             
  130.  
  131.  
  132. Operational:
  133.  
  134. -r              assume input file is raw PCM
  135. -s  n           input sampling frequency in kHz (for raw PCM input files)
  136. --resample n    output sampling frequency
  137. --mp3input      input file is an MP3 file.  decode using mpglib/mpg123
  138. --ogginput      input file is an Ogg Vorbis file.  decode using libvorbis
  139. -x              swap bytes of input file
  140. --scale <arg>   multiply PCM input by <arg>
  141. --scale-l <arg> scale channel 0 (left) input (multiply PCM data) by <arg>
  142. --scale-r <arg> scale channel 1 (right) input (multiply PCM data) by <arg>
  143. -a              downmix stereo input file to mono .mp3
  144. -e  n/5/c       de-emphasis
  145. -p              add CRC error protection
  146. -c              mark the encoded file as copyrighted
  147. -o              mark the encoded file as a copy
  148. -S              don't print progress report, VBR histogram
  149. --strictly-enforce-ISO   comply as much as possible to ISO MPEG spec
  150. --replaygain-accurate  slightly more accurate and much slower ReplayGain
  151. --clipdetect    determine whether clipping occurs and display an appropriate 
  152.                 message. store the MP3 peak sample in LAME Tag
  153.  
  154. --decode        assume input file is an mp3 file, and decode to wav.
  155. -t              disable writing of WAV header when using --decode
  156.                 (decode to raw pcm, native endian format (use -x to swap))
  157.  
  158. --ogg           Encode using Ogg Vorbis (.ogg) instead of mp3.
  159.  
  160.  
  161.  
  162. ID3 tagging:
  163.  
  164. --tt <title>    audio/song title (max 30 chars for version 1 tag)
  165. --ta <artist>   audio/song artist (max 30 chars for version 1 tag)
  166. --tl <album>    audio/song album (max 30 chars for version 1 tag)
  167. --ty <year>     audio/song year of issue (1 to 9999)
  168. --tc <comment>  user-defined text (max 30 chars for v1 tag, 28 for v1.1)
  169. --tn <track>    audio/song track number (1 to 255, creates v1.1 tag)
  170. --tg <genre>    audio/song genre (name or number in list)
  171. --add-id3v2     force addition of version 2 tag
  172. --id3v1-only    add only a version 1 tag
  173. --id3v2-only    add only a version 2 tag
  174. --space-id3v1   pad version 1 tag with spaces instead of nulls
  175. --pad-id3v2     pad version 2 tag with extra 128 bytes
  176. --genre-list    print alphabetically sorted ID3 genre list and exit
  177.  
  178. Note: A version 2 tag will NOT be added unless one of the input fields
  179. won't fit in a version 1 tag (e.g. the title string is longer than 30
  180. characters), or the '--add-id3v2' or '--id3v2-only' options are used,
  181. or output is redirected to stdout.
  182.  
  183. OS/2-specific options:
  184.     --priority <type>     sets the process priority
  185.  
  186.  
  187. options not yet described:
  188. --nores            disable bit reservoir
  189. --noath            disable ATH
  190. --athlower <n db>  lower the ATH by n db.  
  191. --athshort         use only the ATH for short blocks
  192. --cwlimit <freq>   specify range of tonality calculation
  193. --disptime
  194. --notemp           disable temporal masking
  195.  
  196. --lowpass
  197. --lowpass-width
  198. --highpass
  199. --highpass-width
  200.  
  201.  
  202.  
  203.  
  204.  
  205. =======================================================================
  206. Detailed description of all options in alphabetical order
  207. =======================================================================
  208.  
  209.  
  210. =======================================================================
  211. downmix
  212. =======================================================================
  213. -a  
  214.  
  215. mix the stereo input file to mono and encode as mono.  
  216.  
  217. This option is only needed in the case of raw PCM stereo input 
  218. (because LAME cannot determine the number of channels in the input file).
  219. To encode a stereo PCM input file as mono, use "lame -m s -a"
  220.  
  221. For WAV and AIFF input files, using "-m m" will always produce a
  222. mono .mp3 file from both mono and stereo input.
  223.  
  224.  
  225. =======================================================================
  226. average bitrate encoding (aka Safe VBR)
  227. =======================================================================
  228. --abr n
  229.  
  230. turns on encoding with a targeted average bitrate of n kbps, allowing
  231. to use frames of different sizes.  The allowed range of n is 8...320 
  232. kbps, you can use any integer value within that range.
  233.  
  234.  
  235.  
  236.  
  237.  
  238. =======================================================================
  239. ATH only
  240. =======================================================================
  241. --athonly
  242.  
  243. This option causes LAME to ignore the output of the psy-model and
  244. only use masking from the ATH.  (absolute threshold of hearing)
  245.  
  246. Using --athonly is NOT RECOMMENDED.  It is designed for testing
  247. different ATH curves.
  248.  
  249.  
  250.  
  251. =======================================================================
  252. bitrate
  253. =======================================================================
  254. -b  n
  255.  
  256. For MPEG-1 (sampling frequencies of 32, 44.1 and 48 kHz)
  257. n =   32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320
  258.  
  259. For MPEG-2 and MPEG-2.5 (sampling frequencies of 8, 11.025, 
  260. 12, 16, 22.05 and 24 kHz)
  261. n = 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160
  262.  
  263.  
  264. The bitrate to be used.  Default is 128 kbps MPEG1, 80 kbps MPEG2.
  265.  
  266. When used with variable bitrate encodings (VBR), -b specifies the
  267. minimum bitrate to use.  This is useful to prevent LAME VBR from
  268. using some very aggressive compression which can cause some distortion
  269. due to small flaws in the psycho-acoustic model.
  270.  
  271. =======================================================================
  272. max bitrate
  273. =======================================================================
  274. -B  n
  275.  
  276. see also option "-b" for allowed bitrates.
  277.  
  278. Maximum allowed bitrate when using VBR/ABR.
  279.  
  280. Using -B is NOT RECOMMENDED.  A 128 kbps CBR bitstream, because of the
  281. bit reservoir, can actually have frames which use as many bits as a
  282. 320 kbps frame.  ABR/VBR modes minimize the use of the bit reservoir, and
  283. thus need to allow 320 kbps frames to get the same flexability as CBR
  284. streams.  
  285.  
  286.  
  287.  
  288.  
  289. =======================================================================
  290. copyright
  291. =======================================================================
  292. -c   
  293.  
  294. mark the encoded file as copyrighted
  295.  
  296.  
  297.  
  298. =======================================================================
  299. clipping detection
  300. =======================================================================
  301. --clipdetect
  302.  
  303. Decode on the fly, find the peak sample and determine whether clipping 
  304. occurs at current gain. Display an appropriate message. 
  305. Store the peak sample in the LAME Tag.
  306.  
  307. NOTE: decoding on the fly significantly slows down the encoding process.
  308.  
  309. Requires LAME to be compiled with DECODE_ON_THE_FLY.
  310.  
  311.  
  312.  
  313. =======================================================================
  314. block type control
  315. =======================================================================
  316. -d 
  317.  
  318. Allows the left and right channels to use different block types.
  319. Normally this is not allowed, only because the FhG encoder does
  320. not seem to allow it either.  If anyone finds a sample where -d
  321. produces better results, let me know.  (mt@sulaco.org)
  322.  
  323.  
  324. =======================================================================
  325. mpglib decode capability
  326. =======================================================================
  327. --decode 
  328.  
  329. This just uses LAME's mpg123/mpglib interface to decode an MP3 file to
  330. a wav file.  The input file can be any input type supported by
  331. encoding, including .mp3 (layers 1, 2 and 3) and .ogg.  
  332.  
  333. If -t is used (disable wav header), LAME will output
  334. raw pcm in native endian format (use -x to swap bytes).
  335.  
  336.  
  337. =======================================================================
  338. de-emphasis
  339. =======================================================================
  340. -e  n/5/c   
  341.  
  342.   n = (none, default)
  343.   5 = 0/15 microseconds
  344.   c = citt j.17
  345.  
  346. All this does is set a flag in the bitstream.  If you have a PCM
  347. input file where one of the above types of (obsolete) emphasis has
  348. been applied, you can set this flag in LAME.  Then the mp3 decoder
  349. should de-emphasize the output during playback, although most 
  350. decoders ignore this flag.
  351.  
  352. A better solution would be to apply the de-emphasis with a standalone
  353. utility before encoding, and then encode without -e.  
  354.  
  355.  
  356.  
  357. =======================================================================
  358. fast mode
  359. =======================================================================
  360. -f   
  361.  
  362. Same as -q 7.  
  363.  
  364. NOT RECOMMENDED.  Use when encoding speed is critical and encoding
  365. quality does not matter.  Disable noise shaping.  Psycho acoustics are
  366. used only for bit allocation and pre-echo detection.
  367.  
  368. =======================================================================
  369. strictly enforce VBR minimum bitrate
  370. =======================================================================
  371. -F   
  372.  
  373. strictly enforce VBR minimum bitrate.  With out this optioni, the minimum
  374. bitrate will be ignored for passages of analog silence.
  375.  
  376.  
  377.  
  378. =======================================================================
  379. free format bitstreams
  380. =======================================================================
  381. --freeformat   
  382.  
  383. LAME will produce a fixed bitrate, free format bitstream.
  384. User must specify the desired bitrate in kbps, which can
  385. be any integer between 8 and 640.
  386.  
  387. Not supported by most decoders.  Complient decoders (of which there
  388. are few) are only required to support up to 320 kbps.  
  389.  
  390. Decoders which can handle free format:
  391.  
  392.                      supports up to
  393. MAD                      640 kbps
  394. "lame --decode"          550 kbps  
  395. Freeamp:                 440 kbps
  396. l3dec:                   310 kbps
  397.  
  398.  
  399.  
  400.  
  401.  
  402. =======================================================================
  403. high quality
  404. =======================================================================
  405. -h
  406.  
  407. use some quality improvements.  The same as -q 2.
  408.  
  409.  
  410.  
  411. =======================================================================
  412. keep all frequencies
  413. =======================================================================
  414. -k   
  415.  
  416. keep all frequencies.  (Disable all filters)
  417.  
  418. LAME will automatically apply various types of lowpass filters.  This
  419. is because the high frequency coefficients can take up a lot of bits
  420. that would be better used for lower, more important frequencies.
  421.  
  422. -k will disable all lowpass filtering.  Not recommended.
  423.  
  424.  
  425.  
  426. =======================================================================
  427. Modes:
  428. =======================================================================
  429.  
  430. -m m           mono
  431. -m s           stereo
  432. -m j           joint stereo
  433. -m f           forced mid/side stereo
  434. -m d           dual (independent) channels
  435. -m i           intensity stereo
  436. -m a           auto
  437.  
  438. MONO is the default mode for mono input files.  If "-m m" is specified
  439. for a stereo input file, the two channels will be averaged into a mono
  440. signal.  
  441.  
  442. STEREO
  443.  
  444. JOINT STEREO is the default mode for stereo files with fixed bitrates of
  445. 128 kbps or less.  At higher fixed bitrates, the default is stereo.
  446. For VBR encoding, jstereo is the default for VBR_q >4, and stereo
  447. is the default for VBR_q <=4.  You can override all of these defaults
  448. by specifing the mode on the command line.  
  449.  
  450. jstereo means the encoder can use (on a frame by frame bases) either
  451. regular stereo (just encode left and right channels independently)
  452. or mid/side stereo.  In mid/side stereo, the mid (L+R) and side (L-R)
  453. channels are encoded, and more bits are allocated to the mid channel
  454. than the side channel.  This will effectively increase the bandwidth
  455. if the signal does not have too much stereo separation.  
  456.  
  457. Mid/side stereo is basically a trick to increase bandwidth.  At 128 kbps,
  458. it is clearly worth while.  At higher bitrates it is less useful.
  459.  
  460. For truly mono content, use -m m, which will automatically down
  461. sample your input file to mono.  This will produce 30% better results
  462. over -m j.  
  463.  
  464. Using mid/side stereo inappropriately can result in audible
  465. compression artifacts.  To much switching between mid/side and regular
  466. stereo can also sound bad.  To determine when to switch to mid/side
  467. stereo, LAME uses a much more sophisticated algorithm than that
  468. described in the ISO documentation.
  469.  
  470. FORCED MID/SIDE STEREO forces all frames to be encoded mid/side stereo.  It 
  471. should only be used if you are sure every frame of the input file
  472. has very little stereo seperation.  
  473.  
  474. DUAL CHANNELS   Not supported.
  475.  
  476. INTENSITY STEREO
  477.  
  478. AUTO
  479.  
  480. Auto select should select (if input is stereo)
  481.           8 kbps   Mono
  482.      16- 96 kbps   Intensity Stereo (if available, otherwise Joint Stereo)
  483.     112-128 kbps   Joint Stereo -mj
  484.     160-192 kbps   -mj with variable mid/side threshold
  485.     224-320 kbps   Independent Stereo -ms
  486.  
  487.  
  488.  
  489. =======================================================================
  490. MP3 input file
  491. =======================================================================
  492. --mp3input
  493.  
  494. Assume the input file is a MP3 file.  LAME will decode the input file
  495. before re-encoding it.  Since MP3 is a lossy format, this is 
  496. not recommended in general.  But it is useful for creating low bitrate
  497. mp3s from high bitrate mp3s.  If the filename ends in ".mp3" LAME will assume
  498. it is an MP3.  For stdin or MP3 files which dont end in .mp3 you need
  499. to use this switch.
  500.  
  501.  
  502. =======================================================================
  503. disable historgram display
  504. =======================================================================
  505. --nohist
  506.  
  507. By default, LAME will display a bitrate histogram while producing
  508. VBR mp3 files.  This will disable that feature.
  509.  
  510.  
  511. =======================================================================
  512. disable short blocks
  513. =======================================================================
  514. --noshort
  515.  
  516. Encode all frames using long blocks.  NOT RECOMMENDED.  For
  517. testing purposes only.  
  518.  
  519.  
  520.  
  521. =======================================================================
  522. non-original
  523. =======================================================================
  524. -o   
  525.  
  526. mark the encoded file as a copy
  527.  
  528.  
  529.  
  530. =======================================================================
  531. CRC error protection
  532. =======================================================================
  533. -p  
  534.  
  535. turn on CRC error protection.  
  536. Yes this really does work correctly in LAME.  However, it takes 
  537. 16 bits per frame that would otherwise be used for encoding.
  538.  
  539.  
  540. =======================================================================
  541. algorithm quality selection
  542. =======================================================================
  543. -q n  
  544.  
  545. Bitrate is of course the main influence on quality.  The higher the
  546. bitrate, the higher the quality.  But for a given bitrate,
  547. we have a choice of algorithms to determine the best
  548. scalefactors and huffman encoding (noise shaping).
  549.  
  550. -q 0:  use slowest & best possible version of all algorithms.
  551.  
  552. -q 2:  recommended.  Same as -h.  -q 0 and -q 1 are slow and may not produce 
  553.        significantly higher quality.  
  554.  
  555. -q 5:  default value.  Good speed, reasonable quality
  556.  
  557. -q 7:  same as -f.  Very fast, ok quality.  (psycho acoustics are
  558.        used for pre-echo & M/S, but no noise shaping is done.  
  559.  
  560. -q 9:  disables almost all algorithms including psy-model.  poor quality.
  561.  
  562.  
  563.  
  564. =======================================================================
  565. input file is raw pcm
  566. =======================================================================
  567. -r  
  568.  
  569. Assume the input file is raw pcm.  Sampling rate and mono/stereo/jstereo
  570. must be specified on the command line.  Without -r, LAME will perform
  571. several fseek()'s on the input file looking for WAV and AIFF headers.
  572.  
  573. Not supported if LAME is compiled to use LIBSNDFILE.
  574.  
  575.  
  576.  
  577. =======================================================================
  578. perform slightly more accurate ReplayGain analysis
  579. =======================================================================
  580. --replaygain-accurate
  581.  
  582. Enables decoding on the fly and performs ReplayGain analysis on 
  583. the decoded data stream.
  584.  
  585. By default, LAME performs ReplayGain analysis on the input data (more 
  586. precisely: data only after the user-specified volume scaling). This
  587. behaviour might give slightly inaccurate results, because the data on 
  588. the output of a lossy compression/decompression sequence differs from 
  589. the initial input data. When --replaygain-accurate is specified then 
  590. decoding on the fly is performed and the analysis is performed on the
  591. decoded data stream, that is on the output of decoding (playbacking) 
  592. a compressed sound file. Although theoretically this method gives more 
  593. accurate results, it is unrecommended, because:
  594.   * tests have shown that the difference between the ReplayGain values 
  595.     computed on the input data and decoded data is usually no greater 
  596.     than 0.5dB, although the minimum volume difference the human ear 
  597.     can perceive is about 1.0dB
  598.   * decoding on the fly significantly slows down the encoding process
  599.  
  600. Please note: ReplayGain analysis does not affect the content of a 
  601. compressed data stream itself, it is a value stored in the header 
  602. of a sound file. Information on the purpose of ReplayGain and the
  603. algorithms used is available at: http://www.replaygain.org/
  604.  
  605. The ReplayGain values are stored in the LAME tag. The analysis is 
  606. performed with the reference volume equal to 83dB. 
  607.  
  608. This option requires LAME to be compiled with DECODE_ON_THE_FLY.
  609. (note: if LAME is compiled without DECODE_ON_THE_FLY, ReplayGain 
  610. analysis is performed on the input data after user-specified
  611. volume scaling)
  612.  
  613.  
  614.  
  615. =======================================================================
  616. output sampling frequency in kHz
  617. =======================================================================
  618. --resample  n
  619.  
  620. where n = 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48
  621.  
  622. Output sampling frequency.  Resample the input if necessary.  
  623.  
  624. If not specified, LAME may sometimes resample automatically 
  625. when faced with extreme compression conditions (like encoding
  626. a 44.1 kHz input file at 32 kbps).  To disable this automatic
  627. resampling, you have to use --resamle to set the output samplerate
  628. equal to the inptu samplerate.  In that case, LAME will not
  629. perform any extra computations.
  630.  
  631.  
  632.  
  633. =======================================================================
  634. sampling frequency in kHz
  635. =======================================================================
  636. -s  n
  637.  
  638. where n = sampling rate in kHz.
  639.  
  640. Required for raw PCM input files.  Otherwise it will be determined
  641. from the header information in the input file.
  642.  
  643. LAME will automatically resample the input file to one of the
  644. supported MP3 samplerates if necessary.
  645.  
  646.  
  647. =======================================================================
  648. silent operation
  649. =======================================================================
  650. -S
  651.  
  652. don't print progress report
  653.  
  654. =======================================================================
  655. scale
  656. =======================================================================
  657. --scale <arg>
  658.  
  659. Scales input by <arg>.  This just multiplies the PCM data
  660. (after it has been converted to floating point) by <arg>.  
  661.  
  662. <arg> > 1:  increase volume
  663. <arg> = 1:  no effect
  664. <arg> < 1:  reduce volume
  665.  
  666. Use with care, since most MP3 decoders will truncate data
  667. which decodes to values greater than 32768.  
  668.  
  669.  
  670. =======================================================================
  671. strict ISO complience
  672. =======================================================================
  673. --strictly-enforce-ISO   
  674.  
  675. With this option, LAME will enforce the 7680 bit limitation on
  676. total frame size.  This results in many wasted bits for
  677. high bitrate encodings.
  678.  
  679.  
  680. =======================================================================
  681. disable VBR tag
  682. =======================================================================
  683. -t              
  684.  
  685. Disable writing of the VBR Tag (only valid if -v flag is
  686. specified) This tag in embedded in frame 0 of the MP3 file.  It lets
  687. VBR aware players correctly seek and compute playing times of VBR
  688. files.
  689.  
  690. When '--decode' is specified (decode mp3 to wav), this flag will 
  691. disable writing the WAV header.  The output will be raw pcm,
  692. native endian format.  Use -x to swap bytes.
  693.  
  694.  
  695.  
  696. =======================================================================
  697. variable bit rate  (VBR)
  698. =======================================================================
  699. -v
  700.  
  701. Turn on VBR.  There are several ways you can use VBR.  I personally
  702. like using VBR to get files slightly bigger than 128 kbps files, where
  703. the extra bits are used for the occasional difficult-to-encode frame.
  704. For this, try specifying a minimum bitrate to use with VBR:
  705.  
  706. lame -v      -b 112  input.wav output.mp3
  707.  
  708. If the file is too big, use -V n, where n = 0...9
  709.  
  710. lame -v -V n -b 112  input.wav output.mp3
  711.  
  712.  
  713. If you want to use VBR to get the maximum compression possible,
  714. and for this, you can try:  
  715.  
  716. lame -v  input.wav output.mp3
  717. lame -v -V n input.wav output.mp3         (to vary quality/filesize)
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724. =======================================================================
  725. VBR quality setting
  726. =======================================================================
  727. -V n       
  728.  
  729. n = 0...9.  Specifies the value of VBR_q.
  730. default = 4,  highest quality = 0, smallest files = 9
  731.  
  732. Using -V 5 or higher (lower quality) is NOT RECOMMENDED.  
  733. ABR will produce better results.  
  734.  
  735.  
  736. How is VBR_q used?
  737.  
  738. The value of VBR_q influences two basic parameters of LAME's psycho
  739. acoustics:
  740.  a) the absolute threshold of hearing
  741.  b) the sample to noise ratio
  742. The lower the VBR_q value the lower the injected quantization noise
  743. will be.
  744.  
  745. *NOTE* No psy-model is perfect, so there can often be distortion which
  746. is audible even though the psy-model claims it is not!  Thus using a
  747. small minimum bitrate can result in some aggressive compression and
  748. audible distortion even with -V 0.  Thus using -V 0 does not sound
  749. better than a fixed 256 kbps encoding.  For example: suppose in the 1 kHz
  750. frequency band the psy-model claims 20 dB of distortion will not be
  751. detectable by the human ear, so LAME VBR-0 will compress that
  752. frequency band as much as possible and introduce at most 20 dB of
  753. distortion.  Using a fixed 256 kbps framesize, LAME could end up
  754. introducing only 2 dB of distortion.  If the psy-model was correct,
  755. they will both sound the same.  If the psy-model was wrong, the VBR-0
  756. result can sound worse.
  757.  
  758.  
  759. =======================================================================
  760. voice encoding mode
  761. =======================================================================
  762. --voice
  763.  
  764. An experimental voice encoding mode.  Tuned for 44.1 kHz input files.
  765. --voice is deprecated, use --preset voice instead
  766.  
  767.  
  768. =======================================================================
  769. swapbytes   
  770. =======================================================================
  771. -x
  772.  
  773. swap bytes in the input file (and output file when using --decode).
  774. For sorting out little endian/big endian type problems.  If your
  775. encodings sound like static, try this first.
  776.  
  777. =======================================================================
  778. OS/2 process priority control   
  779. =======================================================================
  780. --priority <type>
  781.  
  782. (OS/2 only)
  783.  
  784. Sets the process priority for LAME while running under IBM OS/2.
  785. This can be very useful to avoid the system becoming slow and/or
  786. unresponsive. By setting LAME to run in a lower priority, you leave
  787. more time for the system to update basic processing (drawing windows,
  788. polling keyboard/mouse, etc). The impact in LAME's performance is 
  789. minimal if you use priority 0 to 2.
  790.  
  791. The valid parameters are:
  792.  
  793.      0 = Low priority (IDLE, delta = 0)
  794.      1 = Medium priority (IDLE, delta = +31)
  795.      2 = Regular priority (REGULAR, delta = -31)
  796.      3 = High priority (REGULAR, delta = 0)
  797.      4 = Maximum priority (REGULAR, delta = +31) 
  798.  
  799. Note that if you call '--priority' without a parameter, then 
  800. priority 0 will be assumed.
  801.  
  802.  
  803.   
  804.