1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
---|
2 | <HTML>
|
---|
3 | <HEAD>
|
---|
4 | <TITLE>Basic command line switch reference</TITLE>
|
---|
5 | <META NAME="description" CONTENT="Command line switch reference">
|
---|
6 | <META NAME="keywords" CONTENT="lame">
|
---|
7 | <META NAME="resource-type" CONTENT="document">
|
---|
8 | <META NAME="distribution" CONTENT="global">
|
---|
9 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso_8859_1">
|
---|
10 | <LINK REL="STYLESHEET" HREF="lame.css">
|
---|
11 | </HEAD>
|
---|
12 | <BODY TEXT=#000000
|
---|
13 | BGCOLOR=#F9FBFB LINK=#006666 VLINK=#4C4C4C
|
---|
14 | ALINK=#995500>
|
---|
15 | <H1>Basic command line switch reference</H1>
|
---|
16 | <br>
|
---|
17 | Only the most usual switches are described here. However those should be sufficient
|
---|
18 | for the vast majority of users.
|
---|
19 | <P>
|
---|
20 | <TABLE CELLPADDING=3 BORDER="1">
|
---|
21 | <TR VALIGN="TOP">
|
---|
22 | <TD ALIGN="LEFT" nowrap><b>switch</b></TD>
|
---|
23 | <TD ALIGN="LEFT" nowrap><b>parameter</b></TD>
|
---|
24 | </TR>
|
---|
25 | <tr valign="TOP">
|
---|
26 | <td align="LEFT" nowrap><kbd><a href="#-abr">--abr</a></kbd></td>
|
---|
27 | <td align="LEFT" nowrap>average bitrate encoding</td>
|
---|
28 | </tr>
|
---|
29 | <tr valign="TOP">
|
---|
30 | <td align="LEFT" nowrap><kbd><a href="#b">-b</a></kbd></td>
|
---|
31 | <td align="LEFT" nowrap>bitrate (8...320)</td>
|
---|
32 | </tr>
|
---|
33 | <tr valign="TOP">
|
---|
34 | <td align="LEFT" nowrap><kbd><a href="#-decode">--decode</a></kbd></td>
|
---|
35 | <td align="LEFT" nowrap>decoding only</td>
|
---|
36 | </tr>
|
---|
37 | <tr valign="TOP">
|
---|
38 | <td align="LEFT" nowrap><kbd><a href="#f">-f</a></kbd></td>
|
---|
39 | <td align="LEFT" nowrap> fast mode</td>
|
---|
40 | </tr>
|
---|
41 | <tr valign="TOP">
|
---|
42 | <td align="LEFT" nowrap><kbd><a href="#h">-h</a></kbd></td>
|
---|
43 | <td align="LEFT" nowrap>high quality</td>
|
---|
44 | </tr>
|
---|
45 | <tr valign="TOP">
|
---|
46 | <td align="LEFT" nowrap><kbd><a href="#-help">--help</a></kbd></td>
|
---|
47 | <td align="LEFT" nowrap> help</td>
|
---|
48 | </tr>
|
---|
49 | <tr valign="TOP">
|
---|
50 | <td align="LEFT" nowrap><kbd><a href="#m">-m m</a></kbd></td>
|
---|
51 | <td align="LEFT" nowrap>mono mode</td>
|
---|
52 | </tr>
|
---|
53 | <tr valign="TOP">
|
---|
54 | <td align="LEFT" nowrap><kbd><a href="#V">-V</a></kbd></td>
|
---|
55 | <td align="LEFT" nowrap>VBR quality setting (0...9)</td>
|
---|
56 | </tr>
|
---|
57 | </TABLE>
|
---|
58 | <BR>
|
---|
59 | <dl>
|
---|
60 | <dt><strong>* <kbd>--abr n</kbd><a name="-abr"> average
|
---|
61 | bitrate encoding</a></strong>
|
---|
62 | </dl>
|
---|
63 | <dl>
|
---|
64 | <dd>Turns on encoding with a targeted average bitrate of n kbits, allowing to
|
---|
65 | use frames of different sizes. The allowed range of n is 8-320, you can use
|
---|
66 | any integer value within that range.
|
---|
67 | <dt><br>
|
---|
68 | </dt>
|
---|
69 | <hr width="50%" noshade align="center">
|
---|
70 | <br>
|
---|
71 | </dl>
|
---|
72 | <dl>
|
---|
73 | <dt><strong>* <kbd>-b n</kbd><a name="b"> bitrate</a></strong>
|
---|
74 | </dt>
|
---|
75 | </dl>
|
---|
76 | <dl>
|
---|
77 | <dd>For MPEG1 (sampling frequencies of 32, 44.1 and 48 kHz)<br>
|
---|
78 | n = 32,40,48,56,64,80,96,112,128,160,192,224,256,320<br>
|
---|
79 | <br>
|
---|
80 | For MPEG2 (sampling frequencies of 16, 22.05 and 24 kHz)<br>
|
---|
81 | n = 8,16,24,32,40,48,56,64,80,96,112,128,144,160<br>
|
---|
82 | <br>
|
---|
83 | Default is 128 kbs for MPEG1 and 80 kbs for MPEG2.
|
---|
84 | <dt><br>
|
---|
85 | </dt>
|
---|
86 | <hr width="50%" noshade align="center">
|
---|
87 | <br>
|
---|
88 | </dl>
|
---|
89 | <dl>
|
---|
90 | <dt><strong>* <kbd>--decode</kbd><a name="-decode"> decoding
|
---|
91 | only</a></strong> </dt>
|
---|
92 | </dl>
|
---|
93 | <dl>
|
---|
94 | <dd>Uses LAME for decoding to a WAV file. The input file can be any input type
|
---|
95 | supported by encoding, including layer I,II,III (MP3).
|
---|
96 | <dt><br>
|
---|
97 | <br>
|
---|
98 | </dt>
|
---|
99 | <hr width="50%" noshade align="center">
|
---|
100 | <br>
|
---|
101 | <dl> </dl>
|
---|
102 | <dt><strong>* <kbd>-f</kbd><a name="f"> fast mode</a></strong>
|
---|
103 | </dt>
|
---|
104 | </dl>
|
---|
105 | <dl>
|
---|
106 | <dd> This switch forces the encoder to use a faster encoding mode, but with
|
---|
107 | a lower quality.
|
---|
108 | <dt><br>
|
---|
109 | <br>
|
---|
110 | </dt>
|
---|
111 | <hr width="50%" noshade align="center">
|
---|
112 | <br>
|
---|
113 | <dl> </dl>
|
---|
114 | <dt><strong>* <kbd>-h</kbd><a name="h"> high quality</a></strong>
|
---|
115 | </dt>
|
---|
116 | </dl>
|
---|
117 | <dl>
|
---|
118 | <dd> Use some quality improvements. Encoding will be slower, but the result
|
---|
119 | will be of higher quality.<br>
|
---|
120 | This switch is always enabled when using VBR.
|
---|
121 | <dt><br>
|
---|
122 | <br>
|
---|
123 | </dt>
|
---|
124 | <hr width="50%" noshade align="center">
|
---|
125 | <br>
|
---|
126 | <dl> </dl>
|
---|
127 | <dt><strong>* <kbd>--help</kbd><a name="-help"> help</a></strong>
|
---|
128 | </dt>
|
---|
129 | </dl>
|
---|
130 | <dl>
|
---|
131 | <dd> Display a list of all available options.
|
---|
132 | <dt><br>
|
---|
133 | <br>
|
---|
134 | </dt>
|
---|
135 | <hr width="50%" noshade align="center">
|
---|
136 | <br>
|
---|
137 | <dl> </dl>
|
---|
138 | <dt><strong>* <kbd>-m m</kbd><a name="m"> mono
|
---|
139 | mode</a></strong> </dt>
|
---|
140 | </dl>
|
---|
141 | <dl>
|
---|
142 | <dd>The input will be encoded as a mono signal.
|
---|
143 | <dt><br>
|
---|
144 | <br>
|
---|
145 | </dt>
|
---|
146 | <hr width="50%" noshade align="center">
|
---|
147 | <br>
|
---|
148 | <dl> </dl>
|
---|
149 | <dt><strong>* <kbd>-V 0...9</kbd><a name="V"> VBR quality
|
---|
150 | setting</a></strong></dt>
|
---|
151 | </dl>
|
---|
152 | <dl>
|
---|
153 | <dd> Enable VBR (Variable BitRate) and specifies the value of VBR quality.<br>
|
---|
154 | default=4<br>
|
---|
155 | 0=highest quality.
|
---|
156 | </dl>
|
---|
157 | </BODY>
|
---|
158 | </HTML>
|
---|