| 1 |
.TH RIPIT "1" "May 8th, 2014" "ripit" "Ripit audio converter" |
| 2 |
.SH "NAME:" |
| 3 |
.PP |
| 4 |
Ripit \- Perl script to create flac, ogg, mp3, m4a (aac), als (mp4), |
| 5 |
mpc, wv or other files from an audio CD. |
| 6 |
.SH "SYNOPSIS:" |
| 7 |
.PP |
| 8 |
ripit [options] |
| 9 |
.SH "DESCRIPTION:" |
| 10 |
.PP |
| 11 |
This Perl script makes it a lot easier to extract and compress sound |
| 12 |
files from an audio CD or a local directory with wav/flac files. Although |
| 13 |
Ripit ensures exact copy of the digital data with different verification |
| •14 |
possibilities, it aims to enhance the audio content for a more |
| 15 |
userfriendly experience. Tracks can be merged or partially ripped, |
| 16 |
hidden tracks (aka pregap tracks or HTOA) and ghost songs are detected |
| •17 |
and can be split, like all other tracks, into chunks of sound where |
| 18 |
silence has been trimmed away. Data tracks can be omitted to prevent |
| 19 |
ripper failure or waste of time on such tracks. |
| 20 |
.PP |
| 21 |
Ripit supports Flac, Lame, Oggenc, Faac, mp4als, Musepack, Wavpack and |
| 22 |
ffmpeg. Artist and song titles are retrieved either with the CDDB_get.pm |
| 23 |
perl module from freedb.org or using WebService::MusicBrainz.pm from |
| 24 |
MusicBrainz.org. Several encoder formats and qualities or compression |
| 25 |
levels can be used in the same run (even the same encoder) and encoded |
| 26 |
into different directories. Distributed encoding and launch of more than |
| 27 |
one encoder process in the same time is possible. |
| 28 |
.PP |
| 29 |
Retrieval and different modifications of metadata is possible to ensure |
| 30 |
highly customized tagging, e.g. adding coverart, detection of Various |
| 31 |
Artists style at different levels of strictness or album gain, freedom |
| 32 |
to add any kind of personal tags and change of encoding format for tags |
| 33 |
used in mp3. |
| 34 |
External commands can be launched before and after ripping / encoding is |
| 35 |
done (providing access to all internal variables containing metadata), |
| 36 |
e.g. to ensure presence of coverart if not retrieved from |
| 37 |
coverartarchive.org or discogs.com. |
| 38 |
.PP |
| 39 |
Additional processes take care of calculation of md5sums, generation of |
| 40 |
playlist files, creation of toc, cue or inf files e.g. enableing to burn |
| 41 |
the WAV files with text and no gaps in DAO mode. |
| 42 |
It is possible to submit and edit CDDB entries at freedb.org or |
| 43 |
submission of MusicBrainz data (ISRCs only) provided a login to access |
| 44 |
the MB site and of course to save this metadata locally for later use. |
| 45 |
.PP |
| 46 |
.SH "VERSION:" |
| 47 |
.PP |
| 48 |
Ripit Version 4.0.0 |
| 49 |
.SH "OPTIONS:" |
| 50 |
.TP |
| 51 |
[track_selection] |
| 52 |
Tracks to rip from. |
| 53 |
If not specified, all tracks will be ripped. Specify a single |
| 54 |
track by using a single number, or a selection of tracks using |
| 55 |
numbers separated by commas or hyphens, e. g. 2,6,10, or 3,5,7\-9. |
| 56 |
Using a number followed by a comma or hyphen will rip from |
| 57 |
that track to the end of the CD i. e. 3,5\- rips track 3 and |
| 58 |
from track 5 to the last one. |
| 59 |
.IP |
| 60 |
To rip only audio tracks and to skip all data tracks (trailing or even in |
| 61 |
between) the tweeked argument 1\-a might be useful. In this case Ripit |
| 62 |
will try to detect the number of audio tracks using cdparanoia toc query. |
| 63 |
.IP |
| 64 |
Default: not set. |
| 65 |
.TP |
| 66 |
\fB\-\-merge\fR ordered list of comma separated intervals. |
| 67 |
Place a hyphen (\-) or a plus (+) between first and last track number to |
| 68 |
be merged. Omitting the last number will merge all subsequent tracks. |
| 69 |
Separate several intervals with commas. Do not use this option to merge |
| 70 |
the whole disc into one track, use option \-\-cdcue or \-\-book instead. |
| 71 |
Default: not set. |
| 72 |
.TP |
| 73 |
\fB\-I,\fR \fB\-\-span\fR starttime\-endtime |
| 74 |
Define an interval to be ripped when using cdda2wav or cdparanoia. The |
| 75 |
hyphen is mandatory. |
| 76 |
The format of start and end-time is according to cdparanoia hh:mm:ss.ff |
| 77 |
in hours/minutes/seconds/frames, but precision is set to seconds, i. e. |
| 78 |
frames will be ignored. Zero fields need not be specified and the |
| 79 |
value of seconds may be larger than 60 if no minutes and hours are |
| 80 |
stated. When using cdda2wav this option |
| 81 |
translates the values to the \-o and \-d options of cdda2wav. When using |
| 82 |
option merge, end time is related to the last track in the selection. |
| 83 |
Default: not set. |
| 84 |
.TP |
| 85 |
\fB\-o,\fR \fB\-\-outputdir\fR \fIdir\fP |
| 86 |
Full path of |
| 87 |
.I directory |
| 88 |
where the sound should go. If not set, $HOME will be used. Default: not |
| 89 |
set. |
| 90 |
.TP |
| 91 |
\fB\-d,\fR \fB\-\-device\fR \fIcddevice\fP |
| 92 |
Path of the \fIdevice\fP containing the audio CD, default: /dev/cdrom. |
| 93 |
.TP |
| 94 |
\fB\-\-scsidevice\fR \fIcddevice\fP |
| 95 |
Device name for special devices if the non ripping commands (except |
| 96 |
eject commands) shall be executed on a different device node. This |
| 97 |
might be useful for some old SCSI devices. If not set the \fIcddevice\fP |
| 98 |
of option \-\-device will be used. Default: not set. |
| 99 |
.TP |
| 100 |
\fB\-r,\fR \fB\-\-ripper\fR \fInumber\fP |
| 101 |
CD ripper to use, |
| 102 |
.I 0 |
| 103 |
\- dagrab, |
| 104 |
.I 1 |
| 105 |
\- cdparanoia, |
| 106 |
.I 2 |
| 107 |
\- cdda2wav, |
| 108 |
.I 3 |
| 109 |
\- rip (Morituri) (breaking parallelism, experimental), |
| 110 |
.I 4 |
| 111 |
\- cdd (support not ensured). |
| 112 |
When data tracks are encountered because special track selection 1-a has |
| 113 |
not been used, cdparanoia and dagrab are supposed to immediately fail |
| 114 |
and therefore allow Ripit to create an error.log so that the encoder |
| 115 |
process can terminate if problems were encountered. |
| 116 |
This might not be the case depending the type of "copyprotection" is |
| 117 |
used and on the other hand it could be that cdd2wav may fail on such |
| 118 |
data tracks and enables Ripit to continue to rip and encode without |
| 119 |
endless looping. Use the appropriate ripper according to your needs and |
| 120 |
switch the ripper if needed or use the special track selection to omit |
| 121 |
data tracks. |
| 122 |
.IP |
| 123 |
Note when using rip (Morituri) alle directories must be defined with |
| 124 |
option \-\-dirtemplate, including a separate wav directory which will |
| •125 |
be created by rip (Morituri). Further inconveniences might be due to |
| 126 |
the programs limitations and its recent development activity with |
| 127 |
behaviour changing almost dayly, breaking every wrappers capabilities. |
| 128 |
.IP |
| 129 |
Default: |
| 130 |
.I 1 |
| 131 |
\- cdparanoia. |
| 132 |
.TP |
| 133 |
\fB\-\-ripopt\fR \fIoptions\fP |
| 134 |
User definable |
| 135 |
.I options |
| 136 |
for specific ripper. Quote them if necessary. Note that changing the |
| 137 |
ripper implies to update this option. Default: not set. |
| 138 |
.TP |
| 139 |
\fB\-\-offset\fR \fInumber\fP |
| 140 |
User definable sample offset for the CD ripper. This will trigger option |
| 141 |
\-O when using cdparanoia and option \-o when using rip (Morituri). |
| 142 |
Icedax (cdda2wav) seems not to provide a sample offset. |
| 143 |
Default: not set. |
| 144 |
.TP |
| 145 |
\fB\-Q,\fR \fB\-\-accuracy\fR number |
| 146 |
Check ripped files at AccurateRip using Morituri (rip) which must |
| 147 |
be installed. One might need to specify a sample offset (see option |
| 148 |
\-\-offset) to achieve accuracy. Default: off. |
| 149 |
.TP |
| 150 |
\fB\-Y,\fR \fB\-\-verify\fR \fInumber\fP |
| 151 |
When using cdparanoia rip track |
| 152 |
.I number |
| 153 |
times until md5sum for 2 rips match, maximum tries |
| 154 |
is the number given as argument, default: 1, i.e. no checks will be |
| 155 |
done. |
| 156 |
.TP |
| 157 |
\fB\-\-nicerip\fR \fInumber\fP |
| 158 |
Set niceness of ripping process, default: 0. |
| 159 |
.TP |
| 160 |
\fB\-Z,\fR \fB\-\-disable\-paranoia\fR [\fInumber\fP] |
| 161 |
When using dagrab, the number of retries will be set to 3, with |
| 162 |
cdparanoia this option is equal to the \fB\-Z\fR option of cdparanoia. |
| 163 |
The \fInumber\fP can be set to \fI0\fP (paranoia on), to \fI1\fP (paranoia |
| 164 |
off) or to \fI2\fP to switch paranoia off if a track fails or gets a |
| 165 |
timeout. Ripit will retry that failed track without paranoia or give up. |
| 166 |
Ripping will then continue with paranoia on. Default: 0 \(hy off, i. e. |
| 167 |
use paranoia mode. |
| 168 |
.TP |
| 169 |
\fB\-\-ghost\fR |
| 170 |
Analyze each wav for gaps and split it into chunks if gaps are detected |
| 171 |
and/or try to trim lead-in/out. This may override option merge. Delete |
| 172 |
blank tracks if only silence ("zero bytes") are found. Experimental! |
| 173 |
Default: off. |
| 174 |
.TP |
| 175 |
\fB\-\-extend\fR \fIseconds\fP |
| 176 |
When using option \fB\-\-ghost\fR and only if a chunk of sound is |
| 177 |
detected, enlarge chunk by amount of |
| 178 |
.I seconds |
| 179 |
at end if possible (no silence will be added), or track may be trimmed |
| 180 |
if value is small (e.g. 0.3), use with caution. Default: 2.0. |
| 181 |
.TP |
| 182 |
\fB\-\-prepend\fR \fIseconds\fP |
| 183 |
When using option \fB\-\-ghost\fR and only if a chunk of sound is |
| 184 |
detected, enlarge chunk by amount of |
| 185 |
.I seconds |
| 186 |
at beginning, if possible (no silence will be added), or track may be |
| 187 |
trimmed if value is small (e.g. 0.3), use with caution. Default: 2.0. |
| 188 |
.TP |
| 189 |
\fB\-c,\fR \fB\-\-coder\fR \fInumber\fP |
| 190 |
Encoder(s) to use, |
| 191 |
.I 0 |
| 192 |
\- Lame (for mp3), |
| 193 |
.I 1 |
| 194 |
\- Oggenc, |
| 195 |
.I 2 |
| 196 |
\- Flac, |
| 197 |
.I 3 |
| 198 |
\- Faac, |
| 199 |
.I 4 |
| 200 |
\- mp4als, |
| 201 |
.I 5 |
| 202 |
\- Musepack, |
| 203 |
.I 6 |
| 204 |
\- Wavpack, |
| 205 |
.I 7 |
| 206 |
\- ffmpeg, |
| 207 |
a comma separated list, or as an array. The same encoder may be |
| 208 |
stated more than once, but different output-directories must be |
| 209 |
specified (to prevent overwriting files with identical path) stating |
| 210 |
the \fB\-\-dirtemplate\fR for each encoder or using the $quality |
| 211 |
parameter in option \fB\-\-dirtemplate\fR or stating the |
| 212 |
\fB\-\-tracktemplate\fR for each encoder. See below. |
| 213 |
Default: |
| 214 |
.IR 0 . |
| 215 |
.TP |
| 216 |
\fB\-\-faacopt\fR Faac\-options |
| 217 |
Pass other options to the encoder. If the same encoder has been |
| 218 |
stated more than once, use a comma separated list. Do not use this |
| 219 |
option for compression level, use option \-\-quality instead. Quote |
| 220 |
them with double quotes if needed; default: not set. |
| 221 |
.TP |
| 222 |
\fB\-\-flacopt\fR Flac\-options |
| 223 |
Pass other options to the encoder. If the same encoder has been |
| 224 |
stated more than once, use a comma separated list. Do not use this |
| 225 |
option for compression level, use option \-\-quality instead. Quote |
| 226 |
them with double quotes if needed; default: not set. |
| 227 |
.TP |
| 228 |
\fB\-\-flacdecopt\fR Flac decoding options |
| 229 |
Additional options for flac when used to decode flac files. Might be |
| 230 |
needed to force (over) writing existing wav files: Default: \-s (silent). |
| 231 |
.TP |
| 232 |
\fB\-\-lameopt\fR Lame\-options |
| 233 |
Pass other options to the encoder. If the same encoder has been |
| 234 |
stated more than once, use a comma separated list. Do not use this |
| 235 |
option for quality settings, use option \-\-quality instead. Quote |
| 236 |
them with double quotes if needed; default: not set. |
| 237 |
.TP |
| 238 |
\fB\-\-museopt\fR Musepack\-options |
| 239 |
Pass other options to the encoder. If the same encoder has been |
| 240 |
stated more than once, use a comma separated list. Do not use this |
| 241 |
option for quality settings, use option \-\-quality instead. Quote |
| 242 |
them with double quotes if needed; default: not set. |
| 243 |
.TP |
| 244 |
\fB\-\-musenc\fR Musepack\-encoder |
| 245 |
Choose Musepack encoder to be used, either mpcenc or mppenc for older |
| 246 |
versions; default: mpcenc. |
| 247 |
.TP |
| 248 |
\fB\-\-mp4opt\fR Mp4als\-options |
| 249 |
Pass other options to the encoder. Option \-MP4 of encoder mp4als is |
| 250 |
mandatory to enable tagging of sound files. Use the appropriate options |
| 251 |
to alter compression level and speed. If the same encoder has been |
| 252 |
stated more than once, use a comma separated list. Quote them with |
| 253 |
double quotes if needed; default: not set. |
| 254 |
.TP |
| 255 |
\fB\-\-oggencopt\fR Oggenc\-options |
| 256 |
Pass other options to the encoder. If the same encoder has been |
| 257 |
stated more than once, use a comma separated list. Do not use this |
| 258 |
option for quality settings, use option \-\-quality instead. Quote |
| 259 |
them with double quotes if needed; default: not set. |
| 260 |
.TP |
| 261 |
\fB\-\-wavpackopt\fR Wavpack\-options |
| 262 |
Pass other options to the encoder. If the same encoder has been |
| 263 |
stated more than once, use a comma separated list. Quote |
| 264 |
them with double quotes if needed; default: not set. |
| 265 |
.TP |
| 266 |
\fB\-\-ffmpegopt\fR ffmpeg\-options |
| 267 |
Pass other options to the encoder. If the ffmpeg has been |
| 268 |
stated more than once, use a comma separated list. Quote |
| 269 |
them with double quotes if needed; default: not set. |
| 270 |
.TP |
| 271 |
\fB\-\-ffmpegsuffix\fR ffmpeg\-suffix |
| 272 |
The suffix of the formats to be encoded. If ffmpeg has been |
| 273 |
stated more than once, use a comma separated list. Quote |
| 274 |
them with double quotes if needed; default: not set. |
| 275 |
.TP |
| 276 |
\fB\-q,\fR \fB\-\-quality\fR \fIquality\fP |
| 277 |
A comma separated list of \fIvalues\fP or the word "off", passed in the |
| 278 |
same order as the list of encoders. If no encoders passed, follow the |
| 279 |
order of the config file. This options name might be misleading as |
| 280 |
lossless encoders do not have a quality but a \fIcompression\fP level |
| 281 |
instead. Depending the encoder it refers, this option means: |
| 282 |
quality for oggenc: (1\-10), highest = 10; compression level for Flac: |
| 283 |
(0\-8), lowest (but fastest) compression = 0; quality for Lame in vbr |
| 284 |
mode: (0\-9), best quality = 0; or quality for Faac: |
| 285 |
(10\-500), highest = 500; mp4als seems not to accept |
| 286 |
any compression level, set to zero; quality for Musepack: |
| 287 |
(0-10), best quality = 10; default: 5,3,5,100,0,5. Wavpack and ffmpeg |
| 288 |
have no quality switch, use encoder options instead. |
| 289 |
The value "off" turns option quality off, if supported by the encoder. |
| 290 |
Encoders that need a quality or compression level will use default |
| 291 |
value in case "off" is used. |
| 292 |
.br |
| 293 |
E. g. \fB\-\-coder\fR 2,0,1,3 \fB\-\-quality\fR 3,4,5,300 sets |
| 294 |
compression level for Flac to 3, Lame\-quality to 4, Oggenc\-quality to |
| 295 |
5 and Faac quality to 300. |
| 296 |
.TP |
| 297 |
\fB\-v,\fR \fB\-\-vbrmode\fR \fImode\fP |
| 298 |
Option vbrmode defines variable-bitrate, only used with Lame, the mode |
| 299 |
is either |
| 300 |
.I new |
| 301 |
or |
| 302 |
.IR old , |
| 303 |
see the Lame manpage. The Lame\-option quality will be |
| 304 |
changed to \fB\-V\fR instead of \fB\-q\fR if vbr\-mode is used; |
| 305 |
default: not set. |
| 306 |
.TP |
| 307 |
\fB\-b,\fR \fB\-\-bitrate\fR \fIrate\fP |
| 308 |
Encode "mp3" at this bitrate for Lame. If option \fB\-\-vbrmode\fR used, |
| 309 |
bitrate is equal to the \fB\-b\fR option, so one might want to set it |
| 310 |
"off"; or set if "off" if all options are passed to \-\-lameopt. |
| 311 |
Default: 128. |
| 312 |
.TP |
| 313 |
\fB\-B,\fR \fB\-\-maxrate\fR \fIrate\fP |
| 314 |
Option maxrate (bitrate) for Lame when using \fB\-\-vbrmode\fR is |
| 315 |
translated to the \fB\-B\fR option in Lame or the \fB\-M\fR option in |
| 316 |
Oggenc, default: 0. |
| 317 |
.TP |
| 318 |
\fB\-S,\fR \fB\-\-preset\fR \fImode\fP |
| 319 |
Use the preset switch when encoding with Lame. Combined with option |
| 320 |
\fB\-\-vbrmode new\fR the "preset fast" setting will be used. |
| 321 |
Use \fB\-\-vbrmode old\fR not to use fast VBR. Mode is one of: |
| 322 |
.IR insane \ ( 320 |
| 323 |
kbps @ CBR), |
| 324 |
.IR extreme \ ( 256 |
| 325 |
kbps), |
| 326 |
.IR standard \ ( 192 |
| 327 |
kbps) or |
| 328 |
.IR medium \ ( 160 |
| 329 |
kbps) or any other valid bitrate. Default: off. |
| 330 |
.TP |
| 331 |
\fB\-W,\fR \fB\-\-chars\fR [\fIlist\fP] |
| 332 |
Exclude special characters in file names and path. The argument is |
| 333 |
optional. The argument accepts a |
| 334 |
.I list |
| 335 |
of any characters. One might escape the characters or use double quotes |
| 336 |
to pass them on the command line. The argument also accepts the presets |
| 337 |
\fINTFS\fP, \fIHFS\fP or \fIoff\fP. Following |
| 338 |
characters will be erased, if no argument stated or the word NTFS is |
| 339 |
passed: |\\:*?$ plus blanks and periods at beginning and end of file |
| 340 |
names and directories. When using the word HFS, only colons will be |
| 341 |
purged plus blanks and periods at beginning of file names and |
| 342 |
directories. Pass the word "off" as argument to set the option off |
| 343 |
again. Default: off. |
| 344 |
.TP |
| 345 |
\fB\-\-comment\fR \fIcomment\fP |
| 346 |
Specify a |
| 347 |
.I comment |
| 348 |
for the comment-tag for Lame, Faac, Musepack and Wavpack, or the |
| 349 |
description-tag for Oggenc and Flac. The special comment |
| 350 |
.I cddbid |
| 351 |
or |
| 352 |
.I discid |
| 353 |
will place the cddbid (used by freedb) or the discid (used for |
| 354 |
MusicBrainz) into the comment. See also option \-\-mp3tags, \-\-flactags |
| 355 |
or \-\-oggtags for more special tags to be added; default: not set. |
| 356 |
.TP |
| 357 |
\fB\-g,\fR \fB\-\-genre\fR \fIgenre\fP |
| 358 |
Specify (and override CDDB) |
| 359 |
.IR genre , |
| 360 |
must be a valid ID3\-genre if using Lame, can (but shouldn't) be |
| 361 |
anything if using other encoders; default: not set. |
| 362 |
.TP |
| 363 |
\fB\-y,\fR \fB\-\-year\fR \fIyear\fP |
| 364 |
Specify (and override CDDB) the |
| 365 |
.I year |
| 366 |
of year-tag for Lame, Faac, Musepack and Wavpack or the date-tag for |
| 367 |
Oggenc and Flac; default: not set. |
| 368 |
.TP |
| 369 |
\fB\-\-coverart\fR \fInumber\fP |
| 370 |
A \fInumber\fP or comma separated list of \fInumbers\fP (if several |
| 371 |
encoders are used) according to option \-\-coder with values 0 (no) or |
| 372 |
1 (yes); default 0. |
| 373 |
.TP |
| 374 |
\fB\-\-coverpath\fR \fIpath\fP |
| 375 |
Path to the coverart picture to be included in the metadata of the sound |
| 376 |
files. The picture must be present or acquired using e.g. the \-\-precmd |
| 377 |
option to call a specific script taking care of the process finding |
| 378 |
coverart or option \-\-coverorg in combination with option \-\-mb (see |
| 379 |
below). This option is mandatory in case \-\-coverart is used. The full |
| 380 |
path might be given with variables according to the \-\-dirtemplate and |
| 381 |
using same quoting rules. Absolutely no checks about existence of path |
| 382 |
will happen and a missing path will not be created so that a wrong |
| 383 |
argument might lead to failed downloads when using \-\-coverorg. No |
| 384 |
checks about existence of coverart will be done if \-\-interaction is |
| 385 |
set off. In case of re-encoding the variable $inputdir can be stated. |
| 386 |
Default: not set. |
| 387 |
.TP |
| 388 |
\fB\-\-coverorg\fR \fInumber\fP |
| 389 |
Retrieve coverart from coverartarchive.org using the MusicBrainz release |
| 390 |
ID (not to be confused with the discid, used to find the release on |
| 391 |
MusicBrainz). Furthermore as an experimental feature discogs.com will be |
| 392 |
used in case a discogs release ID was listed on the MusicBrainz release |
| 393 |
page. But this might be out of order any time as discogs changes page |
| 394 |
layout frequently. If a cover is downloaded from coverartarchive.org all |
| 395 |
other files will get suffixes in their file names not to overwrite any |
| 396 |
files. Note that the \-\-coverpath must be set to save the coverart and |
| 397 |
must reflect an existing path. |
| 398 |
Possible values 0 (no) or 1 (yes), default 0. |
| 399 |
.TP |
| 400 |
\fB\-\-coversize\fR \fIformat\fP |
| 401 |
Resize the provided coverart picture to a fix \fIvalue\fP according to |
| 402 |
ImageMagicks convert command, either values in the format XXXxYYY or |
| 403 |
only a width to keep aspect ratio. The original coverart file will be |
| 404 |
renamed. Possible values: any valid format, default: not set. |
| 405 |
.TP |
| 406 |
\fB\-\-copycover\fR \fIpath\fP |
| 407 |
Full path to any kind of file (e.g. the coverart picture) to be |
| 408 |
copied into all directories containing encoded files. The argument might |
| 409 |
consist of variables according to the \-\-dirtemplate and using same |
| 410 |
quoting rules. In case of re-encoding the variable $inputdir can be |
| 411 |
stated, default: not set. |
| 412 |
.TP |
| 413 |
\fB\-\-flactags\fR \fIFRAME=tag\fP |
| 414 |
Additional |
| 415 |
.I tags |
| 416 |
for flac not passed by the encoder to ensure evaluation of special |
| 417 |
tags similar to mp3tags. Use option \-\-flacopt "\-\-tag=FRAME=foo" |
| 418 |
for additional hard coded tags instead. |
| 419 |
When using MusicBrainz additional metadata provided can be added as tags |
| 420 |
using the scheme FRAME=frame. Supported are ASIN, BARCODE, CATALOGNUMBER |
| 421 |
(using tag "catalog"), CDDID, DGID, DISCID aka MUSICBRAINZ_DISCID |
| 422 |
(using tag "discid") and MBREID aka MUSICBRAINZ_ALBUMID (using tag |
| 423 |
mbreid) with the tag in lower case, e.g. adding an asin: |
| 424 |
\-\-flactags=ASIN=asin will evaluate the lower case asin if the |
| 425 |
variable is defined. Nothing is added if the metadata is not available. |
| 426 |
The option is an array, for each additional frame/tag to be added |
| 427 |
state the option once. Default: not set |
| 428 |
.TP |
| 429 |
\fB\-\-mp3tags\fR \fIFRAME=[DESCRIPTION]tag\fP |
| 430 |
Additional tags |
| 431 |
to be added to the mp3 file(s) if encoder does not provide options for |
| 432 |
the |
| 433 |
.I FRAME |
| 434 |
or if some unofficial |
| 435 |
\fIFRAME\fPs |
| 436 |
shall be used (e.g. a compilation tag set to 1: TCMP=1). This option |
| 437 |
only supports basic (id3v2.4) frames in the format \fIFRAME=tag\fP |
| 438 |
(e.g. WCOP=http://id3.org/id3v2.4.0-frames) or |
| 439 |
\fIFRAME=[DESCRIPTION]tag\fP (e.g. a user defined text annotation |
| 440 |
for the description ASIN: TXXX=[ASIN]B003ZYEQ30). Note that the braces |
| 441 |
must be stated with some content and do not stand for optional content. |
| 442 |
More than one \-\-mp3tags statement can be used if several tags shall be |
| 443 |
added. Do not add a COMM frame here as this tag is supported by (older |
| 444 |
versions of) Lame and the corresponding option exists in Ripit. The same |
| 445 |
goes for the APIC frame which has its own option in Ripit. Newer |
| 446 |
versions of Lame may support this tags using Lame option \-\-tv to be |
| 447 |
passed with Ripits option \-\-lameopt. |
| 448 |
.br |
| 449 |
No checks on encoding will happen on content stated here, in case option |
| 450 |
\-\-utftag is switched off operator has to ensure encoding of the tags. |
| 451 |
.br |
| 452 |
Special tags will be evaluated in case the metadata is provided e.g. |
| 453 |
when using MB and the TXXX tag. Supported are ASIN, CATALOG, BARCODE, |
| 454 |
CDDBID, DGID, DISCID aka "MusicBrainz Disc Id" and MBREID aka |
| 455 |
"MusicBrainz Album Id" with the tag in lower |
| 456 |
case, e.g. \-\-mp3tags TXXX=[ASIN]asin will replace asin with the value |
| 457 |
if the variable is defined. Default: not set. |
| 458 |
.TP |
| 459 |
\fB\-\-oggtags\fR \fIFRAME=tag\fP |
| 460 |
Additional tags for ogg files similar to \-\-flactags. Default: not set. |
| 461 |
.TP |
| 462 |
\fB\-\-vatag\fR \fInumber\fP |
| 463 |
Analyze track names for "various artists" style and split the metadata |
| 464 |
in case one of the delimiters (colon, hyphen, slash or parenthesis) are |
| 465 |
found. Use unpair numbers for the scheme "artist ? tracktitle" and pair |
| 466 |
numbers in the opposite case. The artist will be compared to the |
| 467 |
argument of option \-\-vastring (see below). |
| 468 |
If the artist must be like \-\-vastring and each track have a |
| 469 |
delimiter, use 1 (2), if the artist must be like \-\-vastring while only |
| 470 |
some tracks contain the delimiter, use 3 (4), if no restrictions |
| 471 |
apply for the artist but all track names must have a delimiter, use |
| 472 |
5 (6) and finally, if only a few tracks contain a delimiter to be |
| 473 |
used as splitting point, set \-\-vatag to 7 (8). Default: not set. |
| 474 |
.TP |
| 475 |
\fB\-\-vastring\fR \fIstring\fP |
| 476 |
A string (regular expression) that defines the "various artists" style, |
| 477 |
e.g. Varios|VA. Default: \\bVA\\b|Variou*s|Various\\sArtists|Soundtrack|OST |
| 478 |
.TP |
| 479 |
\fB\-D,\fR \fB\-\-dirtemplate\fR '"foo \fIparameters\fR"' |
| 480 |
Use single and double quotes to pass the parameters of the templates! |
| 481 |
Allowed are any legal characters, slashes for multi-level directories |
| 482 |
and following parameters: |
| 483 |
.IR $album , |
| 484 |
.IR $artist , |
| 485 |
.IR $iletter , |
| 486 |
.IR $genre , |
| 487 |
.IR $quality , |
| 488 |
.IR $suffix , |
| 489 |
.IR $trackname , |
| 490 |
.IR $tracknum, |
| 491 |
.IR $year |
| 492 |
and |
| 493 |
.IR $trackno ; |
| 494 |
example: '"$suffix $quality/my_snd_dir/$iletter/$artist/$year \(hy $album"'. |
| 495 |
The parameter $iletter is the initial letter of the artist name; |
| 496 |
$trackno is the total number of tracks of the release, this might be |
| 497 |
helpful to distinguish different releases with exactly the same name; |
| 498 |
$quality might be needed, if one wants to encode the same format at |
| 499 |
different qualities in the same run. Note that $quality reflects the |
| 500 |
encoder options and not the arguments of option \fB\-\-quality\fR which |
| 501 |
might be set to "off". Or state different dirtemplates: the option is an |
| 502 |
array, so one can use several different dirtemplates in the same order |
| 503 |
as the encoders. If less dirtemplates than encoders are stated, the last |
| 504 |
dirtemplate will be used for subsequent encoders and the wav-directory, |
| 505 |
see EXAMPLES below, but must be defined for all formats including wav in |
| 506 |
case rip (Morituri) is used. Default: '"$artist \- $album"'. |
| 507 |
.TP |
| 508 |
\fB\-T,\fR \fB\-\-tracktemplate\fR '"foo \fIparameters\fR"' |
| 509 |
See above. The tracktemplate is not an array, only one can be stated. |
| •510 |
Additionally it allows two more variables helpful in case VA-style is |
| 511 |
detected: |
| 512 |
.IR $trackartist, |
| 513 |
.IR $tracktitle; |
| 514 |
note: trackartist will be filled with the value of artist in case |
| 515 |
no track artist has been found to respect the templates settings, and |
| 516 |
tracktitle will hold the pure trackname. Additional album-artist tags |
| 517 |
will be written, e.g. TPE2 tag for Lame and the artist field will |
| 518 |
contain the track artist tag. Default: '"$tracknum $trackname"'. |
| 519 |
.TP |
| 520 |
\fB\-\-trackoffset\fR \fInumber\fP |
| 521 |
Give a trackoffset to be added to the $tracknum variable (see above). |
| 522 |
Might be useful to join multi disc releases into one directory (and to |
| 523 |
switch option \-\-overwrite to "y"). Default: 0. |
| 524 |
.TP |
| 525 |
\fB\-\-addtrackoffset\fR |
| 526 |
When using MusicBrainz, check for multi discs releases and automatically |
| 527 |
add a calculated \-\-trackoffset to the track counter. Ripit will try |
| 528 |
to detect already ripped multi disc releases and temporarily switch |
| 529 |
option \-\-overwrite to "y" in case the first track of a multi disc |
| 530 |
release is not present in an existing directory corresponding to the |
| 531 |
dirtemplate. |
| 532 |
.br |
| 533 |
Negate to switch option off again. Default: not set. |
| 534 |
.TP |
| 535 |
\fB\-\-discno\fR \fInumber\fP |
| 536 |
Set a counter for the disc when using a multi disc release. |
| 537 |
This option accepts any integer; when using MB and \-\-discno is |
| 538 |
set to 1 the discnumber will be set to the discnumber according to the |
| 539 |
presented data (read as: switch option on). Using a number > 1 will |
| 540 |
force this number and will not be altered if MB gives a different disc |
| 541 |
number. Default: 0. |
| 542 |
.TP |
| 543 |
\fB\-\-sshlist\fR \fIlist\fP |
| 544 |
Comma separated |
| 545 |
.I list |
| 546 |
of remote machines where Ripit should encode. The output path must be |
| 547 |
the same for all machines. Specify the login (login@machine) only if not |
| 548 |
the same for the remote machine. Else just state the machine names. See |
| 549 |
EXAMPLES for more information, default: not set. |
| 550 |
.TP |
| 551 |
\fB\-\-scp\fR |
| 552 |
If the file system can not be accessed on the remote machines, scp (copy) |
| 553 |
the WAV files to the remote machines, default: off. |
| 554 |
.TP |
| 555 |
\fB\-\-local\fR |
| 556 |
Only used with option \fB\-\-sshlist\fR; if all encoding shall be |
| 557 |
done on remote machines, use \fB\-\-nolocal\fR, default: on. |
| 558 |
.TP |
| 559 |
\fB\-\-mb\fR |
| 560 |
Access MusicBrainz DB via WebService::MusicBrainz module instead |
| 561 |
of freedb (see below). One needs the discid calculation |
| 562 |
perl module or command to be installed and in the path. Negate to switch |
| 563 |
option off again. A non interactive freedb look-up will be done to |
| 564 |
retrieve a genre. Default: off. |
| 565 |
.TP |
| 566 |
\fB\-\-mbrels\fR \fInumber\fP |
| 567 |
Check each track for additional relationships, only vocal and work |
| 568 |
relationships are handled. Possible values 0 (no) or 1 (yes); default: |
| 569 |
0. |
| 570 |
.TP |
| 571 |
\fB\-\-mbname\fR \fIlogin\fP |
| 572 |
Give the users MusicBrainz login name to submit ISRCs to the database. |
| 573 |
Saved in plain when using a config, default: not set. |
| 574 |
.TP |
| 575 |
\fB\-\-mbpass\fR \fIpassword\fP |
| 576 |
Give the users MusicBrainz password to submit ISRCs to the database. |
| 577 |
Saved in plain when using a config, default: not set. |
| 578 |
.TP |
| 579 |
\fB\-\-isrc\fR \fInumber\fP |
| 580 |
Enable ISRC detection with |
| 581 |
.IR number |
| 582 |
= |
| 583 |
.I 1 |
| 584 |
(using icedax) and submission to MusicBrainz. Note that option |
| 585 |
\fB\-\-mb\fR must be switched on. Possible values 0 (no) or |
| 586 |
1 (yes); default: 0. |
| 587 |
.TP |
| 588 |
\fB\-\-cdtext\fR \fInumer\fP |
| 589 |
Check for CD text if no DB entry found, possible values 0 (no) or |
| 590 |
1 (yes); default 0; default: 0 |
| 591 |
.TP |
| 592 |
\fB\-C,\fR \fB\-\-cddbserver\fR \fIserver\fP |
| 593 |
CDDB server, either freedb.org, freedb2.org or musicbrainz.org. |
| 594 |
Default freedb.org. Note, the full address is "mirror".freedb.org, i. e. |
| 595 |
default is freedb.freedb.org. Exception: freedb2.org and musicbrainz.org |
| 596 |
have no mirrors, their full addresses are: freedb2.org and |
| 597 |
freedb.musicbrainz.org on port 80 (see transfer mode). |
| 598 |
.TP |
| 599 |
\fB\-t,\fR \fB\-\-transfer\fR \fImode\fP |
| 600 |
Transfer mode, |
| 601 |
.IR cddb |
| 602 |
or |
| 603 |
.IB http , |
| 604 |
will set default port to 8880 or 80 (for |
| 605 |
http), default: cddb. Note: use http mode with CDDB servers freedb2.org |
| 606 |
or musicbrainz.org. |
| 607 |
.TP |
| 608 |
\fB\-m,\fR \fB\-\-mirror\fR \fImirror\fP |
| 609 |
Choose "freedb" or one of the possible freedb |
| 610 |
.IR mirrors , |
| 611 |
default: freedb. For more information check the web page www.freedb.org. |
| 612 |
There is no list of mirrors available these days. This option might be |
| 613 |
obsolete as freedb uses random servers, but the default setting is |
| 614 |
mandatory. |
| 615 |
.TP |
| 616 |
\fB\-L,\fR \fB\-\-protocol\fR \fIlevel\fP |
| 617 |
CDDB protocol level for CDDB query. Level = |
| 618 |
.I 6 |
| 619 |
supports UTF\-8 and level = |
| 620 |
.I 5 |
| 621 |
not. Use level = |
| 622 |
.I 5 |
| 623 |
to suppress UTF\-8. Cf. option \fB\-\-utftag\fR below. Default: 6. |
| 624 |
.TP |
| 625 |
\fB\-P,\fR \fB\-\-proxy\fR address |
| 626 |
The http proxy to use when accessing the cddb server. The CDDB protocol |
| 627 |
must be http. Default: not set. |
| 628 |
.TP |
| 629 |
\fB\-n,\fR \fB\-\-nice\fR \fInumber\fP |
| 630 |
Set niceness of encoding process, default: 0. |
| 631 |
.TP |
| 632 |
\fB\-a,\fR \fB\-\-archive\fR |
| 633 |
Read and/or save CDDB files in $HOME/.cddb/"category" directory using |
| 634 |
the xmcd format, where the "category" is one of the 11 CDDB categories |
| 635 |
or in case MusicBrainz is used an additional category "musicbrainz" will |
| 636 |
be used. Default: off. |
| 637 |
.TP |
| 638 |
\fB\-e,\fR \fB\-\-eject\fR |
| 639 |
Ejects the CD when finished, if hardware supports it. Use \-\-noeject |
| 640 |
to switch it off. Default: off. |
| 641 |
.TP |
| 642 |
\fB\-\-ejectcmd\fR \fIcommand\fR |
| 643 |
.I Command |
| 644 |
to be used for ejection or loading of CD tray. Should be specified |
| 645 |
within FreeBSD even if option \-\-eject is not used to enable Ripit |
| 646 |
to load the CD tray. One does not need to mention the words close or |
| 647 |
eject or options like \-t, Ripit does it. Default: eject. |
| 648 |
.TP |
| 649 |
\fB\-\-ejectopt\fR \fIoptions\fR |
| 650 |
.I Options |
| 651 |
for ejection command to be used for ejection or loading of CD tray. |
| 652 |
Default: the path to the CD device. |
| 653 |
.TP |
| 654 |
\fB\-\-halt\fR |
| 655 |
Powers off the machine when finished if configuration supports it, |
| 656 |
default: off. |
| 657 |
.TP |
| 658 |
\fB\-s,\fR \fB\-\-submission\fR |
| 659 |
Specify \fB\-\-nosubmission\fR if the computer is offline and the |
| 660 |
created file cddb.toc shall be saved in the home directory instead of |
| 661 |
being submitted. With option \fB\-\-archive\fR it will also be saved |
| 662 |
in the $HOME/.cddb directory. The purpose of this option is also to |
| 663 |
permit the user to edit the CDDB data for the own track names & tags and |
| 664 |
not to overwrite the original CDDB entry. Default: on. |
| 665 |
.TP |
| 666 |
\fB\-M,\fR \fB\-\-mail\fR \fIaddress\fP |
| 667 |
Users return email |
| 668 |
.IR address , |
| 669 |
needed for submitting an entry to freedb.org. Default: not set. |
| 670 |
.TP |
| 671 |
\fB\-\-mailopt\fR \fIoptions\fP |
| 672 |
Additional |
| 673 |
.IR options , |
| 674 |
added to sendmail command. The reply-to address will be used with option |
| 675 |
\-r as defined above. Default: \-t |
| 676 |
.TP |
| 677 |
\fB\-A,\fR \fB\-\-book\fR \fInumber\fP |
| 678 |
Create an audiobook file, i. e. merge all tracks into one single file, |
| 679 |
option \-\-ghost will be switched off. |
| 680 |
.br |
| 681 |
If encoder faac is used file suffix will be m4b instead of m4a and a |
| 682 |
chapter file will be written for chapter marks. The installed version of |
| 683 |
faac must support the \-w option to write tags. |
| 684 |
.br |
| 685 |
Note that options \-\-wav and \-\-cdtoc should also be switched off. |
| 686 |
Possible values 0 (off) or 1 (on); default: off. |
| 687 |
.TP |
| 688 |
\fB\-\-cdcue\fR \fInumber\fP |
| 689 |
Number n = |
| 690 |
.I 1 |
| 691 |
or |
| 692 |
.I 2 |
| 693 |
to create cue sheets to burn the wavs with CD-Text. The cue sheets will |
| 694 |
be copied to the other file formats. Number |
| 695 |
.I 1 |
| 696 |
will switch option \-\-ghost on to eliminate chunks of silence. Number |
| 697 |
.I 2 |
| 698 |
is experimental but does not switch option \-\-ghost on and may be used |
| 699 |
if number |
| 700 |
.I 1 |
| 701 |
fails. Default: off. |
| 702 |
.TP |
| 703 |
\fB\-\-cdtoc\fR \fInumber\fP |
| 704 |
Number n = |
| 705 |
.I 1 |
| 706 |
to create a toc file to burn the wavs with CD-Text using cdrdao or |
| 707 |
cdrecord. Default: off. |
| 708 |
.TP |
| 709 |
\fB\-\-inf\fR \fInumber\fP |
| 710 |
Number n = |
| 711 |
.I 1 |
| 712 |
to create inf files to burn the wavs with CD-Text using wodim or |
| 713 |
cdrecord. Default: off. |
| 714 |
.TP |
| 715 |
\fB\-p,\fR \fB\-\-playlist\fR \fInumber\fR |
| 716 |
Create the m3u playlist file, or use \fB\-\-playlist\fR |
| 717 |
.IR 0 . |
| 718 |
For file names without full path use \fB\-\-playlist\fR |
| 719 |
.IR 2 . |
| 720 |
Default is full path for file names. Default 1 \- on. |
| 721 |
.TP |
| 722 |
\fB\-i,\fR \fB\-\-interaction\fR |
| 723 |
Specify \fB\-\-nointeraction\fR if ripit shall take the first entry |
| 724 |
found and rip without any questioning. Default: on. |
| 725 |
.TP |
| 726 |
\fB\-\-lcd\fR |
| 727 |
Use lcdproc to display status, default: not set. |
| 728 |
.TP |
| 729 |
\fB\-\-lcdhost\fR |
| 730 |
Specify the lcdproc host, default: localhost. |
| 731 |
.TP |
| 732 |
\fB\-\-lcdport\fR |
| 733 |
Specify the lcdport, default: 13666. |
| 734 |
.TP |
| 735 |
\fB\-\-infolog\fR \fIfile\fP |
| 736 |
Log operations (system calls, file/directory creation) to |
| 737 |
.I file |
| 738 |
given with full path; default: not set. |
| 739 |
.TP |
| 740 |
\fB\-l,\fR \fB\-\-lowercase\fR \fInumber\fP |
| 741 |
Lowercase file names and or directories (from tracktemplate and |
| 742 |
dirtemplate): number n = |
| 743 |
.IR 0 , |
| 744 |
off, |
| 745 |
.IR 1 , |
| 746 |
on for file names and directories, |
| 747 |
.IR 2 , |
| 748 |
only for file names, |
| 749 |
.IR 3 , |
| 750 |
only for directories, default: off. |
| 751 |
.TP |
| 752 |
\fB\-u,\fR \fB\-\-underscore\fR |
| 753 |
Use underscores (_) instead of spaces in file names, default: off. |
| 754 |
.TP |
| 755 |
\fB\-\-uppercasefirst\fR |
| 756 |
Uppercase first letter of each word in file names and tags. Use this |
| 757 |
option if the CDDB entry is uppercase only. Default: off. |
| 758 |
.TP |
| 759 |
\fB\-U,\fR \fB\-\-utftag\fR |
| 760 |
Keep Lame\-tags in UTF-8 or decode them (but not the file names) from |
| 761 |
UTF\-8 to ISO8859\-1. Applies only to mp3 (Lame). May be useful for |
| 762 |
tags with special characters and if mp3\-player doesn't support Unicode. |
| 763 |
Using Musepack one might want to pass the Musepack option \-\-unicode to |
| 764 |
option museopt. Note that combining with options \-\-threads (and or |
| 765 |
\-\-sshlist) may lead to issues and must be regarded as experimental. |
| 766 |
Default: off. |
| 767 |
.TP |
| 768 |
\fB\-\-rip\fR |
| 769 |
Rip the CD, to be used as \-\-norip if wav (or flac) files are present. |
| 770 |
Previously used for debugging, may be useful to re-encode existing wav |
| 771 |
or flac files in a given \-\-inputdir (see below). Option \-\-inputdir |
| 772 |
is mandatory in case \-\-norip is used. Default: not set. |
| 773 |
Note: this option can not be defined in the config file. |
| 774 |
.TP |
| 775 |
\fB\-\-inputdir\fR \fIdirectory\fP |
| 776 |
Full path to the directory with wav or flac files to be re-encoded using |
| 777 |
option \-\-norip. See also option \-\-cdid to get awereness on some |
| 778 |
unexpected behaviour. Default: not set. Note: this option can not be |
| 779 |
defined in the config file. |
| 780 |
.TP |
| 781 |
\fB\-\-cdid\fR \fIid\fP |
| 782 |
Give a freedb.ord CDDBID or a musicbrainz discid in case lookup shall be |
| 783 |
done when re-encoding wav or flac files and existing track names (of wavs) |
| 784 |
or tags (in flac files) should be updated when using \-\-norip. If not |
| 785 |
stated, ripit will try to detect an ID in playlist, toc or log files |
| 786 |
or cue sheets to retrieve local or online metadata. This means: a |
| 787 |
look-up may happen even if this option is not stated. This may lead to |
| 788 |
some unexpected effects, e.g. differing directory or track names from |
| 789 |
those stated in option \-\-inputdir, new tracknumbers in case ghost |
| 790 |
songs are present, merged multi disc releases and so on. |
| 791 |
Default: not set. Note: this option can not be defined in the config |
| 792 |
file. |
| 793 |
.TP |
| 794 |
\fB\-\-encode\fR |
| 795 |
Do encode the wavs. If only the wav\-files shall be created, prevent |
| 796 |
encoding with \fB\-\-noencode\fR (and use option \fB\-\-wav\fR, see |
| 797 |
below). Default: on. |
| 798 |
.TP |
| 799 |
\fB\-w,\fR \fB\-\-wav\fR |
| 800 |
Keep the wav files after encoding instead of deleting them, |
| 801 |
default: off. |
| 802 |
.TP |
| 803 |
\fB\-N,\fR \fB\-\-normalize\fR |
| 804 |
Normalizes the wave-files to a given dB-value (default: \-12dB). Default: |
| 805 |
off. |
| 806 |
.br |
| 807 |
This is useful when encoding |
| 808 |
.RS 7 |
| 809 |
.IP "*" 3 |
| 810 |
for hardware or software that doesn't support the |
| 811 |
replaygain\(hyfeature |
| 812 |
.IP "*" 3 |
| 813 |
to audio formats without replaygain capabilities. |
| 814 |
.RE |
| 815 |
.TP |
| 816 |
\fB\-\-normcmd\fR |
| 817 |
Command to use for normalizing, default: normalize. |
| 818 |
.TP |
| 819 |
\fB\-z,\fR \fB\-\-normopt\fR |
| 820 |
Options to pass to normalize. |
| 821 |
Possible values: |
| 822 |
.TS |
| 823 |
tab (@); |
| 824 |
l l l. |
| 825 |
@\-a \-nndB :@Normalize to \-nn dB, default is \-12dB, |
| 826 |
@Value range:@All values <= 0dB |
| 827 |
@Example :@normalize \-a \-20dB *.wav |
| 828 |
@\-b :@Batch mode \(hy loudness differences between |
| 829 |
@ @individual tracks of a CD are maintained |
| 830 |
@\-m :@Mix mode \(hy all track are normalized to the |
| 831 |
@ @same loudness |
| 832 |
@\-v :@Verbose operation |
| 833 |
@\-q :@Quiet operation |
| 834 |
.TE |
| 835 |
|
| 836 |
For further options see normalize documentation |
| 837 |
(http://normalize.nongnu.org). |
| 838 |
Please note that normalizing to a high dB value, e.g. \-6dB or less |
| 839 |
will lead to severe compression of the audio signal, thus losing sound |
| 840 |
quality. Keeping the default value of \-12dB is recommended. |
| 841 |
.br |
| 842 |
Default: \-b Option v (q) will be set according to verbosity chosen. |
| 843 |
.TP |
| 844 |
\fB\-h,\fR \fB\-\-help\fR |
| 845 |
Print this and exit. |
| 846 |
.TP |
| 847 |
\fB\-V,\fR \fB\-\-version\fR |
| 848 |
Print version and exit. |
| 849 |
.TP |
| 850 |
\fB\-x,\fR \fB\-\-verbose\fR \fInumber\fP |
| 851 |
Run silent (do not output comments, status etc.) (number n = |
| 852 |
.IR 0 ), |
| 853 |
with minimal output (n = |
| 854 |
.IR 1 ), |
| 855 |
normal without encoder messages (n = |
| 856 |
.IR 2 ), |
| 857 |
normal (n = |
| 858 |
.IR 3 ), |
| 859 |
verbose (n = |
| 860 |
.IR 4 ), |
| 861 |
extremely verbose (n = |
| 862 |
.IR 5 ). |
| 863 |
Default 3. |
| 864 |
.TP |
| 865 |
\fB\-\-config\fR |
| 866 |
Read parameters from config file or specify \fB\-\-noconfig\fR to |
| 867 |
prevent reading it. A local config file in \&$HOME/.ripit/ will have |
| 868 |
higher priority, only if the local file does not exist, ripit will try |
| 869 |
to read /etc/ripit/config. Default: on. |
| 870 |
.TP |
| 871 |
\fB\-\-confname\fR |
| 872 |
Read parameters from a specific configuration file if special options |
| •873 |
are needed, this might be useful if operator wants different settings |
| 874 |
for discs containing music than e.g. audio books. Default: config. |
| 875 |
.TP |
| 876 |
\fB\-\-confdir\fR |
| 877 |
Read parameters from a config file in a specific directory, default is |
| 878 |
\&$HOME/.ripit/. |
| 879 |
.TP |
| 880 |
\fB\-\-save\fR |
| 881 |
Add parameters passed on command line to an existing config file. This |
| 882 |
does not overwrite other existing settings. Options of an existing |
| 883 |
config file will be adopted and the old file saved as config.old no |
| 884 |
matter if a file named config.old already exists. Default: off. |
| 885 |
.TP |
| 886 |
\fB\-\-savenew\fR |
| 887 |
Save all parameters passed on command line to a new config file, backup |
| 888 |
an existing file to config.old no matter if a file named config.old |
| 889 |
already exists. Creates a default config file if no options are passed |
| 890 |
on command line. Default: off. |
| 891 |
.TP |
| 892 |
\fB\-\-loop\fR \fIvalue\fP |
| 893 |
After ejection of the previous CD continue ripping and encoding as soon |
| •894 |
as a new CD has been fed. This option forces ejection |
| 895 |
(\fB\-\-eject\fR). The value is either \fI0\fP |
| 896 |
for normal use (single run) or \fI1\fP for (standard) looping. |
| 897 |
Experimental value \fI2\fP might be used to force immediate restart of |
| 898 |
the ripping process even if encoder did not yet complete. This will |
| 899 |
spoil the output, this will show the prompt although a child |
| 900 |
process is running (waiting for a new CD) and must be terminated |
| 901 |
explicitly. |
| 902 |
.br |
| 903 |
The config file will be read out on each run just before ejection of the |
| 904 |
disc. In case one alters the config file after ejection, close the tray |
| 905 |
with the disc already done for re-reading the config and re-ejection of |
| 906 |
the disc. Therefore it might be useful to pass as few options as |
| 907 |
possible on the CL when using option \-\-loop, because options passed on |
| 908 |
the CL can of course not be alterd with the config file during a loop. |
| 909 |
.br |
| 910 |
Default: off. |
| 911 |
.TP |
| 912 |
\fB\-\-quitnodb\fR \fIvalue\fP |
| 913 |
Give up CD if no CDDB entry found. Useful if option \-\-loop or \-\-nointeraction |
| 914 |
are on. Default behaviour is to let operator enter data or to use |
| 915 |
default artist, album and track names. Possible values: 0 - off, 1 - on, |
| 916 |
default: off |
| 917 |
.TP |
| 918 |
\fB\-\-resume\fR |
| 919 |
Resume a previously started session. Default: off. |
| 920 |
.TP |
| 921 |
\fB\-O,\fR \fB\-\-overwrite\fR \fIargument\fP |
| 922 |
Default behaviour of Ripit is not to overwrite existing directories, a |
| 923 |
suffix will be added if directory name exists. Use option overwrite to |
| 924 |
prevent this and either overwrite a previous rip (\fIy\fP) or force |
| 925 |
Ripit to quit (\fIq\fP) or even eject the disc (\fIe\fP). If ejection is |
| 926 |
chosen, the disc will be ejected even if option \-\-eject has not been |
| 927 |
switched on. Default: off (n) |
| 928 |
.TP |
| 929 |
\fB\-\-dpermission\fR \fInumber\fP |
| 930 |
Change the directory permission to \fInumber\fP. Default: 0755. |
| 931 |
.TP |
| 932 |
\fB\-\-fpermission\fR \fInumber\fP |
| 933 |
Change the file permission to \fInumber\fP. Default: 0644. |
| 934 |
.TP |
| 935 |
\fB\-\-md5sum\fR |
| 936 |
Create a MD5-sum file for each type of sound files. |
| 937 |
.TP |
| 938 |
\fB\-\-threads\fR \fInumber\fP |
| 939 |
Comma separated list of numbers giving maximum of allowed |
| 940 |
encoders to run at the same time. In conjunction with option sshlist |
| 941 |
the number for the local machine is mandatory and must be stated first. |
| 942 |
Default: 1. |
| 943 |
.TP |
| 944 |
\fB\-X,\fR \fB\-\-execmd\fR \fIcommand\fP |
| 945 |
State a \fIcommand\fP to be executed when ripit finished. The same |
| 946 |
variables as in the dirtemplate can be stated. When using MusicBrainz |
| 947 |
one can try to use $cd{asin} to pass the ASIN to the command to be |
| 948 |
executed. Make sure to escape the command if needed. Default: not set. |
| 949 |
.TP |
| 950 |
\fB\-\-precmd\fR \fIcommand\fP |
| 951 |
State a \fIcommand\fP to be executed before ripping started. The same |
| 952 |
variables as in the dirtemplate can be stated. When using MusicBrainz |
| 953 |
one can try e.g. to use $cd{asin} to pass the ASIN to the command to be |
| 954 |
executed, which might be useful when executing a script to retrieve |
| 955 |
coverart from a site. Make sure to escape the command if needed. |
| 956 |
Default: not set. |
| 957 |
.PP |
| 958 |
.SH "EXAMPLES" |
| 959 |
To specify a CD device, type |
| 960 |
.IP |
| 961 |
ripit \fB\-\-device\fR /dev/sr1 |
| 962 |
.PP |
| 963 |
To specify the output directory, type |
| 964 |
.IP |
| 965 |
ripit \fB\-\-outputdir\fR /foo/paths/ |
| 966 |
.PP |
| 967 |
To rip and encode a special track selection, type |
| 968 |
.IP |
| 969 |
ripit 1,3\-6,8\-11 |
| 970 |
.PP |
| 971 |
To use several encoders in the same run, type |
| 972 |
.IP |
| 973 |
ripit \fB\-\-coder\fR 1,0,2 \fB\-\-quality\fR 3,5,6 |
| 974 |
.PP |
| 975 |
In case many encoders are desired, option \-\-threads may be handy on a |
| 976 |
multicore CPU (omitting any quality settings in this example) |
| 977 |
.IP |
| 978 |
ripit \fB\-\-coder\fR 0,1,2,4 \fB\-\-threads\fR 4 |
| 979 |
.PP |
| 980 |
To use Lame with variable bitrate (VBR), type |
| 981 |
.IP |
| 982 |
ripit \fB\-\-vbrmode\fR new \fB\-\-bitrate\fR 0 |
| 983 |
.PP |
| 984 |
Note, one should reset the \fB\-\-bitrate\fR to 0 (zero) if the \fB\ |
| 985 |
\-b\fR option of Lame is not desired. According to VBR mode in Lame, use |
| 986 |
"new" or "old". |
| 987 |
.PP |
| 988 |
It is recommended to use the preset switches for Lame, |
| 989 |
(see Lame man\-page) and specify fast encoding with \fB\-\-vbrmode\fR |
| 990 |
new (use \fB\-\-vbrmode\fR old to switch off the fast encoding) |
| 991 |
.IP |
| 992 |
ripit \fB\-\-preset\fR extreme \fB\-\-vbrmode\fR new |
| 993 |
.PP |
| 994 |
To pass options related to the encoder use the according encoder option |
| 995 |
switch: e.g. to use the managed mode with oggenc: |
| 996 |
.IP |
| 997 |
ripit \fB\-c\fR 1 \fB\-\-oggencopt\fR "\-\-managed \-b 192 \-M 224 \-m 96" |
| 998 |
\fB\-\-quality\fR "off" |
| 999 |
.PP |
| 1000 |
Check for ghost songs and trim very long lead-in/out of each track: |
| 1001 |
.IP |
| 1002 |
ripit \fB\-\-ghost\fR \fB\-\-prepend\fR 2.0 \fB\-\-extend\fR 2.0 |
| 1003 |
.PP |
| 1004 |
Encode the same format in 2 qualities, at low quality for a portable, at |
| 1005 |
high quality for home: |
| 1006 |
.IP |
| 1007 |
ripit \fB\-\-dirtemplate\fR '"cbr/$artist/$year \(hy $album"' \\ |
| 1008 |
\fB\-\-dirtemplate\fR '"preset/$artist \(hy $album"' \\ |
| 1009 |
\fB\-\-coder\fR 0,0 \fB\-\-bitrate\fR off \fB\-\-quality\fR off,off \\ |
| 1010 |
\fB\-\-lameopt\fR "\-b 128 \-q 2,\-\-preset extreme" |
| 1011 |
.PP |
| 1012 |
Force Ripit to use one and the same directory for all sound files: |
| 1013 |
.IP |
| 1014 |
ripit \fB\-\-dirtemplate\fR '"/"' \fB\-\-outputdir="/media/sound"\fR \\ |
| 1015 |
\fB\-\-resume\fR |
| 1016 |
.PP |
| 1017 |
To normalize the wave-files prior to encoding: |
| 1018 |
.IP |
| 1019 |
ripit \fB\-\-normalize\fR |
| 1020 |
.PP |
| 1021 |
To normalize the files to \-18dB using "mix mode" (see normalize |
| 1022 |
documentation) |
| 1023 |
.IP |
| 1024 |
ripit \fB\-\-normalize\fR \fB\-\-normopt\fR "\-m \-a \-18dB" |
| 1025 |
.PP |
| 1026 |
Add coverart retrieved from coverartarchive to the encoded files. Note |
| 1027 |
that instead of a full path ('"/home/me/$artist - $album/cover.jpg"') |
| 1028 |
the evaluated internal variable $wavdir has been used to ensure that the |
| 1029 |
cover goes to the right place in case Ripit alters the $wavdir with some |
| 1030 |
suffix to preven overwriting. |
| 1031 |
.IP |
| 1032 |
ripit \fB\-\-noconfig\fR \fB\-d\fR /dev/cdrom \fB\-r\fR 1 \fB\-c\fR 2 \fB\-\-mb\fR \\ |
| 1033 |
\fB\-\-coverart\fR 1 \fB\-\-coverorg\fR 1 \fB\-\-coverpath\fR '"/$wavdir/cover.jpg"' |
| 1034 |
.PP |
| 1035 |
Update a config file in ~/home/.ripit/ with options: to use Lame |
| 1036 |
and Oggenc, don't create a m3u file, archive the CDDB entry files in |
| 1037 |
~/.cddb/"category"/ and to eject CD when done, type |
| 1038 |
.IP |
| 1039 |
ripit \fB\-\-coder\fR 0,1 \fB\-\-playlist\fR 0 \fB\-\-archive\fR |
| 1040 |
\fB\-\-eject\fR \fB\-\-save\fR |
| 1041 |
.PP |
| 1042 |
To do the job without any interaction, type |
| 1043 |
.IP |
| 1044 |
ripit \fB\-\-nointeraction\fR |
| 1045 |
.PP |
| 1046 |
Re-encode wav or flac files in inputdir using a special configuration |
| 1047 |
file with settings according for re-encoding (e.g. switched overwrite |
| 1048 |
mode on and use MusicBrainz to enable detection of track-offsets) |
| 1049 |
.IP |
| 1050 |
ripit \fB\-\-confname\fR config_4.0.0_reenc \fB\-\-inputdir\fR |
| 1051 |
"/home/me/sound/2c - We shall see/flac" \fB\-\-norip\fR |
| 1052 |
.PP |
| 1053 |
Rip only first 30 seconds of each track (useful for testing) |
| 1054 |
.IP |
| 1055 |
ripit \fB\-\-span\fR 0-30 |
| 1056 |
.PP |
| 1057 |
To use a network for encoding, make sure that the output paths are equal |
| 1058 |
on all machines. |
| 1059 |
.IP |
| 1060 |
ripit \fB\-\-sshlist\fR sun,saturn,earth |
| 1061 |
.PP |
| 1062 |
where sun, saturn and earth are remote machines on which a user |
| 1063 |
can login via ssh without entering a password or passphrase! Note |
| 1064 |
that the paths must be equal for the user on all remote machines! |
| 1065 |
If the login is different on some machines, try |
| 1066 |
.IP |
| 1067 |
ripit \fB\-\-sshlist\fR login1@sun,login2@saturn,login3@earth |
| 1068 |
.PP |
| 1069 |
If there is "no" identical path on the remote machines, |
| 1070 |
then the user might enter e.g. /tmp/ as output directory. |
| 1071 |
If the file\-system is not mounted on each remote machine, one can |
| 1072 |
try to copy the wavs to the remote machines using option \fB\-\-scp\fR. |
| 1073 |
.IP |
| 1074 |
ripit \fB\-\-sshlist\fR sun,saturn,earth \fB\-\-scp\fR |
| 1075 |
.PP |
| 1076 |
.SH "FILES" |
| 1077 |
User config file (/etc/ripit/config will only be used if there is no |
| 1078 |
\&$HOME/.ripit/config): |
| 1079 |
.IP |
| 1080 |
\&$HOME/.ripit/config |
| 1081 |
.br |
| 1082 |
\&/etc/ripit/config |
| 1083 |
.IP |
| 1084 |
/usr/share/doc/packages/ripit/README |
| 1085 |
.br |
| 1086 |
/usr/share/doc/packages/ripit/HISTORY |
| 1087 |
.br |
| 1088 |
/usr/share/doc/packages/ripit/LICENSE |
| 1089 |
.PP |
| 1090 |
.SH "BUGS" |
| 1091 |
Probably there are more than some. |
| 1092 |
.PP |
| 1093 |
.SH "SEE ALSO" |
| 1094 |
cdparanoia(1), lame(1), oggenc(1), flac(1), normalize(1), cdda2wav(1), |
| 1095 |
ffmpeg(1) |
| 1096 |
.PP |
| 1097 |
.SH "AUTHORS" |
| 1098 |
Ripit is maintained by Felix Suwald, please send bugs, wishes |
| 1099 |
comments to ripit_[at]_suwald_[dot]_com with a concise subject. |
| 1100 |
.br |
| 1101 |
For bugs, wishes and comments about lcdproc, please contact |
| 1102 |
.br |
| 1103 |
max.kaesbauer_[at]_gmail_[dot]_com. |
| 1104 |
.br |
| 1105 |
Former maintainer: Mads Martin Joergensen; RipIT was originally |
| 1106 |
developed by Simon Quinn. |
| 1107 |
.PP |
| 1108 |
This manpage was originally created for the Debian GNU/Linux system by |
| 1109 |
help2man 1.36 and optimized by Elimar Riesebieter <[email protected]>, |
| 1110 |
enhanced and updated by the maintainer. |