Description: Some examples
Keywords: lame

# Some command line examples

- Fixed bit rate 128kbps encoding:
  `lame sample.wav sample.mp3`
- Fixed bit rate jstereo 128kbps encoding, high quality (recommended):
  `lame -h sample.wav sample.mp3`
- Average bit rate 112kbps encoding:
  `lame --abr 112 sample.wav sample.mp3`
- Fast encode, low quality (no psycho-acoustics):
  `lame -f sample.wav sample.mp3
  `
- Variable bitrate (use -V n to adjust quality/filesize):
  `lame -h -V 6 sample.wav sample.mp3
  `
- Streaming mono 22.05 kHz raw pcm, 24 kbps output:
  `cat inputfile | lame -r -m m -b 24 -s 22.05 -- > output
  `
- Streaming mono 44.1 kHz raw pcm, with downsampling to 22.05 kHz:
  `cat inputfile | lame -r -m m -b 24 --resample 22.05 -- > output`