forked from ar-lex/cue2tracks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
131 lines (90 loc) · 4.17 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
CUE 2 Tracks - Tool for splitting audio CD image to tracks with cue sheet info.
This README based on cue2tracks v0.2.16
Usage:
cue2tracks [options] <cue file>
Options:
-R : Stop testing and doing nothing - starts real work.
-C : Use colored messages
-X : Set XTerm title
-W : Force recode to WAV before split. Make image.{codec}.wav
-e : Switch to debug mode
-L <file> : Set log file. By default - none.
-i <file> : Set image file. By default its readed from cue.
-c <codec> : Setup output codec (flac default).
-l <level> : Setup level of compression of output codec (best default).
-f <codepage> : Convert to UTF-8 from this codepage...
-d : Disable taging output files with info from cue.
-A <album> : Set album title.
-P <performer> : Set album performer.
-D <date> : Set album date.
-G <genre> : Set album genre.
-I <id> : Set album disc ID.
-N <number> : Set album disc number.
-o <format string> : Set naming scheme for output file names.
-V : Print version and exit.
-n <level> : Process niceness level of codec tools (process scheduling priority):
-19 to 19, 0 - default.
Options only for mp3, ogg, m4a:
-Q <quality> : Set quality of codec compression (4 - default).
Quality may be:
MP3: 0 - high, 9 - low
M4A: 500 - high, 9 - low
OGG: 10 - high, -1 - low
-B <bitrate> : Set compression bitrate in kbps (128 default).
-M <bitrate mode> : C - Constant, V - Variable (default).
If choosen V - then -B specifies maximum bitrate.
Codecs:
wav - no encode, raw wave.
flac (default) - Free Lossless Audio Codec. You can find it at
http://flac.sourceforge.net/ or in yours package manager.
flake - FLAC via FFMPEG engine. Look at http://flake.sf.net
ape - Money's Audio Codec. You can find it at
http://sourceforge.net/projects/mac-port.
wv - WavPack. You can find it at http://www.wavpack.com or in yours package
manager.
shn - shorten. You can find it at http://shnutils.freeshell.org/shorten/ or in
yours package manager.
ofr - OptimFROG. You can find it at http://www.losslessaudio.org/.
tta (only for input) - True Audio Codec. You can find it at http://tta.sourceforge.net/
mp3 - MP3 via Lame. Package is 'lame'. Look at http://lame.sourceforge.net.
m4a - AAC in M4A container. Package is 'faac' & 'faad2'. Look at http://www.audiocoding.com.
ogg - OGG. Use vorbis-tools package. Look at http://www.vorbis.com/.
Compression levels:
best or 0 - Slow processing but high compression level
fast or 1 - Fast processing but low compression level
mid or 2 - Middle speel processing and compression level
Codepage:
'codepage' - any codepage of 'iconv -l' output. Used for recode CUE sheet file
to UTF-8.
Utils:
For correct work of cue2tracks you need these utils:
cuetools - Most important thing. You can find it at
http://developer.berlios.de/projects/cuetools/ or in yours package manager.
shntool - Second important thing. you can find it at
http://shnutils.freeshell.org/shntool/ or in yours package manager.
file, iconv - usualy installed, but maybe you'll need check for them.
metaflac - Tool for editing FLAC tags. Comes with flac.
apetag - Tool for editing APEv2 tags. You can find it at
http://muth.org/Robert/Apetag/ or in yours package manager.
id3v2 - Tool for editing mp3 tags. Package name is the same. Look at
http://id3v2.sourceforge.net/.
mp4tags - Tool for editing m4a tags. Package name is mpeg4ip-utils. Look at
http://mpeg4ip.net/.
vorbiscomment - Tool for editing ogg tags. Comes with vorbis-tools.
Naming scheme is:
%A - Album title"
%P - Album performer"
%D - Album date"
%G - Album genre"
%a - Album disc number"
%t - Track title"
%p - Track performer"
%g - Track genre"
%n - Track number"
%N - Track number with leading zero"
Note:
DISCID and DISCNUMBER tags available not for all file types...
To get some action put in console this:
bash$ cue2tracks -o "/path/to/music/%P/%D - %A/%N" -R CDimage.cue
or
bash$ cue2tracks -c ogg -f cp1251 -o "/path/to/music/%P/%D - The best album/Disc %a/%N" -R CDimage.cue