Debian Codegraph @

mp3burn.html

raw ◀ ▶
1 Debian patch touch this file
•1 <?xml version="1.0" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>mp3burn - burn audio CDs from MP3, Ogg Vorbis, or FLAC files</title>
6 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
7 <link rev="made" href="mailto:root@localhost" />
8 </head>
9
10 <body style="background-color: white">
11
12 <p><a name="__index__"></a></p>
13 <!-- INDEX BEGIN -->
14
15 <ul>
16
17 <li><a href="#name">NAME</a></li>
18 <li><a href="#synopsis">SYNOPSIS</a></li>
19 <li><a href="#description">DESCRIPTION</a></li>
20 <li><a href="#options">OPTIONS</a></li>
21 <li><a href="#return_value">RETURN VALUE</a></li>
22 <li><a href="#diagnostics">DIAGNOSTICS</a></li>
23 <li><a href="#examples">EXAMPLES</a></li>
24 <li><a href="#caveats">CAVEATS</a></li>
25 <li><a href="#bugs">BUGS</a></li>
26 <li><a href="#notes">NOTES</a></li>
27 <li><a href="#see_also">SEE ALSO</a></li>
28 <li><a href="#author">AUTHOR</a></li>
29 <li><a href="#history">HISTORY</a></li>
30 </ul>
31 <!-- INDEX END -->
32
33 <hr />
34 <p>
35 </p>
36 <h1><a name="name">NAME</a></h1>
37 <p>mp3burn - burn audio CDs from MP3, Ogg Vorbis, or FLAC files</p>
38 <p>
39 </p>
40 <hr />
41 <h1><a name="synopsis">SYNOPSIS</a></h1>
42 <p><strong>mp3burn</strong> [OPTION] [mp3,ogg, and flac files]</p>
43 <p>
44 </p>
45 <hr />
46 <h1><a name="description">DESCRIPTION</a></h1>
47 <p><strong>mp3burn</strong>
48 is a simple command line tool for making audio CDs from
49 MP3s without filling up your disk with .wav files. It uses
50 Perl(1), ogg123(1), <code>mpg321(1)</code> or mpg123(1), cdrecord(1),
51 flac(1), and the <a href="/MP3/Info(3).html">the MP3::Info(3) manpage</a> Perl module.</p>
52 <p>
53 </p>
54 <hr />
55 <h1><a name="options">OPTIONS</a></h1>
56 <dl>
57 <dt><strong><a name="item__2dh_2c__2d_2dhelp"><strong>-h, --help</strong></a></strong>
58
59 <dd>
60 <p>Prints out a brief help</p>
61 </dd>
62 </li>
63 <dt><strong><a name="item__2dm_2c__2d_2dswap"><strong>-m, --swap</strong></a></strong>
64
65 <dd>
66 <p>Manual <code>cdrecord -swab</code> option mode.
67 Use this to disable the automatic detection for swab mode in case it is
68 not working correctly on your system. (Also, please send email to
69 &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; or file a bug against the <em>mp3burn</em> package if you
70 encounter this problem.)</p>
71 </dd>
72 </li>
73 <dt><strong><a name="item__2dp_2c__2d_2dplaylist__22_2em3u_playlist_22"><strong>-p, --playlist</strong> ``.m3u playlist''</a></strong>
74
75 <dd>
76 <p>Use a playlist to specify audio files to burn.
77 Instead of (or in addition to) listing mp3/ogg/flac files,
78 supply a .m3u playlist (e.g., from xmms) that contains the
79 audio files for your CD.</p>
80 </dd>
81 <dd>
82 <p>Note: If you specify both a playlist and audio files, the
83 files specified on the command-line will be appended to the list
84 of audio files listed in the playlist. If a file referenced
85 in a playlist cannot be read, it will be skipped. Be wary of
86 playlist editors that use relative paths - mp3burn cannot know
87 what path the playlist editor assumed.
88 </p>
89 </dd>
90 <dd>
91 <pre>
92
93 =cut</pre>
94 </dd>
95 </li>
96 <dt><strong><a name="item__2dt_2c__2d_2dtmpdir__22tmpdir_22"><strong>-t, --tmpdir</strong> ``tmpdir''</a></strong>
97
98 <dd>
99 <p>Put temporary files in <em>tmpdir</em>.
100 Default is to use the current directory.</p>
101 </dd>
102 </li>
103 <dt><strong><a name="item__2dc_2c__2d_2dcheck__22mmm_3ass_22__7c_atip"><strong>-c, --check</strong> ``MMM:SS'' | ATIP</a></strong>
104
105 <dd>
106 <p>Time check: compute the total length of files to be burned
107 and warn if greater than <em>MMM:SS</em> minutes and seconds. If
108 the value ATIP is supplied, the total length is checked
109 against the length available on the CDR[W] as reported by
110 ATIP.</p>
111 </dd>
112 <dd>
113 <p>Note that FLAC-encoded files are assumed to be 1 second long
114 (until there is an easy way to get the file duration). You
115 will need to calculate burn-length on your own with FLAC files.</p>
116 </dd>
117 </li>
118 <dt><strong><a name="item__2dd_2c__2d_2ddummy"><strong>-d, --dummy</strong></a></strong>
119
120 <dd>
121 <p>Perform a ``dummy'' run: do everything except actually burn the CD
122 (uses <em>cdrecord(1)</em> <code>-dummy</code> option).</p>
123 </dd>
124 </li>
125 <dt><strong><a name="item__2do_2c__2d_2dcdrecord__22cdrecord_opts_22"><strong>-o, --cdrecord</strong> ``cdrecord_opts''</a></strong>
126
127 <dd>
128 <p>Specify the command line options for cdrecord.
129 The quotes are required to prevent <strong>mp3burn</strong> from parsing <code>cdrecord(1)</code> options.
130 Overrides options specified in <em>~/.mp3burnrc</em>.</p>
131 </dd>
132 <dd>
133 <p>Example: <strong>-o</strong> ``-v dev=1,0 speed=4 -swab''</p>
134 </dd>
135 </li>
136 <dt><strong><a name="item_note_3a"><strong>Note:</strong></a></strong>
137
138 <dd>
139 <p>The options <em>-pad</em> and <em>-audio</em> are added automatically, since they are
140 always necessary. The script also tries to detect if <em>-swab</em> is needed (for
141 example on x86 and other little-Endian platforms). cdrecord is supposed
142 to take care of any byte-ordering requirements specific to your burner.
143 (If you end up with a CD that merely sounds like static, you most likely
144 need to toggle use of <em>-swab</em>.) You should also consider using <em>-v</em> so
145 that you can watch the burn in progress. This goes for <em>~/.mp3burnrc</em> also.</p>
146 </dd>
147 </li>
148 <dt><strong><a name="item__2da_2c__2d_2datip"><strong>-a, --atip</strong></a></strong>
149
150 <dd>
151 <p>Lookup the ATIP info for the device in the cdburner
152 (using <em>cdrecord(1)</em> <code>-atip</code>) and then exits. This
153 option can only be used (successfully) in conjuction with <strong>-o</strong>.</p>
154 </dd>
155 </li>
156 <dt><strong><a name="item__2dm_2c__2d_2dencoder__22mp3_decoder_22"><strong>-M, --encoder</strong> ``MP3 decoder''</a></strong>
157
158 <dd>
159 <p>Use an MP3 decoder other than the default, which is mpg321. This is
160 imperative when burning tracks that have sample rates other than 44.1kHz,
161 and the current version of mpg321 will not decode these files. Specify
162 the name of the decoder to be used, e.g. <em>mpg123-oss-3dnow</em>; you can
163 also specify this in your .mp3burnrc file with <strong>$mp3decoder
164 =</strong> <em>mp3decoder</em>. <em>(Note: Currently, the MP3 decoder must be
165 able to accept mpg123-style command-line arguments.)</em></p>
166 </dd>
167 </li>
168 </dl>
169 <p>
170 </p>
171 <hr />
172 <h1><a name="return_value">RETURN VALUE</a></h1>
173 <p><strong>mp3burn</strong> returns 0 on success.</p>
174 <p>
175 </p>
176 <hr />
177 <h1><a name="diagnostics">DIAGNOSTICS</a></h1>
178 <dl>
179 <dt><strong><a name="item_error_in__2emp3burnrc_3a">Error in .mp3burnrc:</a></strong>
180
181 <dd>
182 <p><code>Perl(1)</code> cannot parse the <em>.mp3burnrc</em> file.
183 The following example occurs when a double quote is not terminated:</p>
184 </dd>
185 <dd>
186 <pre>
187 bash-2.05$ sudo mp3burn -d ~/bell.ogg
188 String found where operator expected at (eval 10) line 7, at end of line
189 (Missing operator before ?)
190 Error in .mp3burnrc:
191 Can't find string terminator '&quot;' anywhere before EOF at (eval 10) line 7.
192 bash-2.05$
193
194 You will experience this error if you define both $cdrecord_opts and
195 $mp3decoder without terminating the variable assignments with the ';'
196 character:</pre>
197 </dd>
198 <dd>
199 <pre>
200 $ mp3burn -d -t /tmp Theodor_Storm_Aquis_submersus_1.mp3
201 Scalar found where operator expected at (eval 10) line 2, near &quot;&quot;-v speed=2 dev=0,3,0&quot;
202 $mp3decoder&quot;
203 (Missing operator before
204 $mp3decoder?)
205 Error in .mp3burnrc:
206 syntax error at (eval 10) line 2, near &quot;&quot;-v speed=2 dev=0,3,0&quot;
207 $mp3decoder&quot;</pre>
208 </dd>
209 </li>
210 </dl>
211 <p>
212 </p>
213 <hr />
214 <h1><a name="examples">EXAMPLES</a></h1>
215 <p>Write an Ogg Vorbis file from a CD-R drive, <em>/dev/scd0</em>,
216 mounted at <em>/mnt/scd0/</em> to a
217 CD-RW drive, <em>/dev/scd1</em>, called <code>0,1,0</code> in <code>cdrecord(1)</code> SCSI notation.
218 Ensure that file is no longer than 50 minutes.
219 <em>sudo(1)</em> is used to get root permissions for cdrecord(1).</p>
220 <pre>
221 % sudo mp3burn -c 050:00 -o &quot;-v speed=2 dev=0,1,0&quot; /mnt/scd0/bell.ogg</pre>
222 <p>Create a <em>~/.mp3burnrc</em> that prints a message before writing and uses
223 a different MP3 decoder than the default of mpg321.</p>
224 <pre>
225 # This is an example.
226 $cdrecord_opts=&quot;-v speed=2 dev=0,1,0&quot;;
227 $mp3decoder = &quot;mpg123-oss-3dnow&quot;;</pre>
228 <pre>
229 print &quot;Nine seconds to slap a CD-R in the drive!\n&quot; ;</pre>
230 <pre>
231 #
232 # See mp3burn(3).
233 #</pre>
234 <p>Specify an mp3decoder other than mpg321.</p>
235 <pre>
236 $ sudo mp3burn -M mpg123-esd ./rush/*mp3
237
238 =head1 FILES</pre>
239 <dl>
240 <dt><strong><a name="item__7e_2f_2emp3burnrc"><em>~/.mp3burnrc</em></a></strong>
241
242 <dd>
243 <p>In this file, you may permanently specify the cdrecord options and
244 MP3 decoder you want to use. The format is:</p>
245 </dd>
246 <dd>
247 <pre>
248 $cdrecord_opts = &quot;cdrecord options&quot;;
249 $mp3decoder = &quot;some mp3 decoder&quot;;</pre>
250 </dd>
251 <dd>
252 <p>You may place comments in this file by beginning a line with <code>#</code>.</p>
253 </dd>
254 </li>
255 <dt><strong><strong>Note:</strong></strong>
256
257 <dd>
258 <p>The values of $cdrecord_opts and $mp3decoder in <em>~/.mp3burnrc</em> are ignored
259 if the <code>-o</code> or <code>-&lt;</code>command-line options are used, respectively.</p>
260 </dd>
261 </li>
262 </dl>
263 <p>
264 </p>
265 <hr />
266 <h1><a name="caveats">CAVEATS</a></h1>
267 <p>Has not been tested extensively with Ogg Vorbis files.
268 Ogg Vorbis files must be in CD-DA format:
269 i.e. 44100 samples/channel x 16 bits/sample x 2 channels.</p>
270 <p>
271 </p>
272 <hr />
273 <h1><a name="bugs">BUGS</a></h1>
274 <p>If you execute <strong>mp3burn</strong> with root permissions,
275 the <em>~/.mp3burnrc</em> will also be executed with root permissions.</p>
276 <p>
277 </p>
278 <hr />
279 <h1><a name="notes">NOTES</a></h1>
280 <p>There are a number of GUI frontends for <strong>mp3burn</strong>:</p>
281 <dl>
282 <dt><strong><a name="item_xmp3burn">Xmp3Burn</a></strong>
283
284 <dd>
285 <pre>
286
287 <a href="http://perso.wanadoo.es/ja_recio/xmp3burn/xmp3burn.html">http://perso.wanadoo.es/ja_recio/xmp3burn/xmp3burn.html</a></pre>
288 </dd>
289 <dt><strong><a name="item_kmp3burn">Kmp3burn</a></strong>
290
291 <dd>
292 <p><a href="http://computer.freepage.de/kmp3burn/index.htm">http://computer.freepage.de/kmp3burn/index.htm</a></p>
293 </dd>
294 </li>
295 <dt><strong><a name="item_gtkmp3burn">GtkMp3Burn</a></strong>
296
297 <dd>
298 <p><a href="http://gtkmp3burn.sourceforge.net/">http://gtkmp3burn.sourceforge.net/</a></p>
299 </dd>
300 </li>
301 </dl>
302 <p>
303 </p>
304 <hr />
305 <h1><a name="see_also">SEE ALSO</a></h1>
306 <p>cdrecord(1), mpg321(1), ogg123(1), ogginfo(1), flac(1), <a href="/MP3/Info(3).html">the MP3::Info(3) manpage</a>
307 The <strong>mp3burn</strong> web page is <a href="http://mp3burn.sourceforge.net/.">http://mp3burn.sourceforge.net/.</a>
308 The Ogg Vorbis web page is <a href="http://www.xiph.org/ogg/vorbis/.">http://www.xiph.org/ogg/vorbis/.</a>
309 The FLAC web page is <a href="http://flac.sourceforge.net/.">http://flac.sourceforge.net/.</a></p>
310 <p>
311 </p>
312 <hr />
313 <h1><a name="author">AUTHOR</a></h1>
314 <p>Copyright (c) 2000 Ryan Richter.
315 Copyright (c) 2003 Alexander Wirt</p>
316 <p>This script was written by Ryan Richter &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; with much code
317 contributed by Dan Lark &lt;<a href="mailto:[email protected]">[email protected]</a>&gt;.</p>
318 <p>I would like to thank Dan Lark &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; for
319 contributing the ideas and code for most of the new features,
320 and Tony Mancill &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; for making Debian packages
321 and helping with debugging.</p>
322 <p>Later in 2003 Alexander Wirt continued to write this program.</p>
323 <p>This program is licensed under the GNU General Public License.
324 You may fold, spindle, and mutilate this software under the terms of the GPL.</p>
325 <p>
326 </p>
327 <hr />
328 <h1><a name="history">HISTORY</a></h1>
329 <ol>
330 <li><strong><a name="item__3cformorer_40formorer_2ede_3e">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</a></strong>
331
332 <p>Switches from standard getopt to GetOpts::Long</p>
333 <p>Updated Manpage for the new option format</p>
334 </li>
335 <li><strong>&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</strong>
336
337 <p>Updated mp3burn to use pod2usage</p>
338 <p>Added -h switch for getting help</p>
339 <p>Fixed a bug with the output of file in conduction with FLAC files</p>
340 <p>Added a gracefully exit if there are no valid files left</p>
341 <p>Use String::Shellquote to avoid problems with the shell</p>
342 </li>
343 <li><strong><a name="item__3ctmancill_40debian_2eorg_3e">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</a></strong>
344
345 <p>hacked in support for FLAC, as per suggested by &lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</p>
346 </li>
347 <li><strong>&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</strong>
348
349 <p>updated to work with new ogginfo output format in vorbis-tools 1.0;
350 modified slightly to not create FIFOs for invalid MP3/OGG files</p>
351 </li>
352 <li><strong>&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</strong>
353
354 <p>added <em>-M $mp3decoder</em> switch to support MP3 decoders other than
355 mpg321 and mpg123-oss</p>
356 </li>
357 <li><strong>&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</strong>
358
359 <p>added check to automatically add -swab on ia32 platform</p>
360 <p><a href="/MP3/Info(3).html">the MP3::Info(3) manpage</a> replaces MPEG::MP3Info</p>
361 </li>
362 <dt><strong><a name="item_mp3burn_0_2e02_10_2f28_2f00"><strong>mp3burn</strong> 0.02 10/28/00</a></strong>
363
364 <dd>
365 <p>Changes since 0.01:</p>
366 </dd>
367 <dd>
368 <p>Bugfixes:</p>
369 </dd>
370 <dd>
371 <p>Spaces, quotes, and other shell metacharacters in filenames
372 should no longer problematic, since we use Shell:QuoteString
373 to avoid problems with that (Feedback for that is wished).
374
375 </p>
376 </dd>
377 <dd>
378 <p>Mono MP3s and MP3s not sampled at 44.1kHz are no longer
379 problematic.
380
381 </p>
382 </dd>
383 <dd>
384 <p>New Features:
385
386 </p>
387 </dd>
388 <dd>
389 <p>Editing the executable is no longer necessary; cdrecord
390 options can be specified on the command line or in <em>~/.mp3burnrc</em>.
391
392 </p>
393 </dd>
394 <dd>
395 <p>Temp dir for FIFOs may be set to other than the current dir.
396
397 </p>
398 </dd>
399 <dd>
400 <p>Dummy runs now supported from the command line.
401
402 </p>
403 </dd>
404 <dd>
405 <p>A time check is now available: <strong>mp3burn</strong> can abort if total
406 time exceeds a threshold. Requires <a href="/MPEG/MP3Info.html">the MPEG::MP3Info manpage</a>.
407
408 </p>
409 </dd>
410 <dd>
411 <p>Playlist support.
412
413 </p>
414 </dd>
415 </li>
416 </ol>
417
418 </body>
419
420 </html>