HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

lame — Encode WAV to MP3 files. More information: <https://svn.code.sf.net/p/lame/svn/trunk/lame/USAGE>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfilesmp3cliencodelamewavmore

Problem

How to use the lame command: Encode WAV to MP3 files. More information: <https://svn.code.sf.net/p/lame/svn/trunk/lame/USAGE>.

Solution

lame — Encode WAV to MP3 files. More information: <https://svn.code.sf.net/p/lame/svn/trunk/lame/USAGE>.

Encode an audio file to MP3 using CBR 320 kbit/second:
lame -b 320 {{path/to/file}}.wav {{path/to/output}}.mp3


Encode an audio file to MP3 using the V0 preset:
lame -V 0 {{path/to/file}}.wav {{path/to/output}}.mp3


Encode an audio file to AAC:
lame {{path/to/file}}.wav {{path/to/output}}.aac

Code Snippets

Encode an audio file to MP3 using CBR 320 kbit/second

lame -b 320 {{path/to/file}}.wav {{path/to/output}}.mp3

Encode an audio file to MP3 using the V0 preset

lame -V 0 {{path/to/file}}.wav {{path/to/output}}.mp3

Encode an audio file to AAC

lame {{path/to/file}}.wav {{path/to/output}}.aac

Context

tldr-pages: common/lame

Revisions (0)

No revisions yet.